Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • FreeSwitch/Asterisk & ShoreTel PRI

    Hello everyone,

    I'm new to the ShoreTel system and have run across a problem that I can't seem to resolve. I've been working on a project that uses FreeSwitch as an IVR and dials out of the ShoreTel system. For example, if a server goes down, it runs a script that will have FreeSwitch dial out of the ShoreTel system, play an IVR and then based on my input, either disable the notifications, reboot the server, etc...

    The issue I'm having is if I have FreeSwitch dial my cellphone, it seems like ShorTel will send FreeSwitch a "200 OK" message and FreeSwitch will start playing my message before I even answer the call. If I have FreeSwitch dial my ShoreTel extension or other SIP phones, the script wont start playing until I answer my phone. Which makes me believe it has to do with the PRI/T1, codec issue, re-invites or something completely different.

    What I've come across on my research is it appears ShoreTel sends a "200 OK" message once it hits the PRI and then FreeSwitch picks that up and starts playing the message.
    Last edited by barneys; 05-10-2010, 02:02 PM. Reason: Clarity

  • #2
    Yes, ShoreTel will send the response early and send the call audio stream to allow applications to listen in on the call early in the process. On ShoreTel native TAPI, there is an additional call state set when the call is actually answered at the far end. I do not know if this translates to anything in SIP.

    Comment


    • #3
      Originally posted by Palitto Consulting View Post
      Yes, ShoreTel will send the response early and send the call audio stream to allow applications to listen in on the call early in the process. On ShoreTel native TAPI, there is an additional call state set when the call is actually answered at the far end. I do not know if this translates to anything in SIP.
      So is there anything I can personally do or is it at the mercy of ShoreTel / FreeSwitch developers? And is any of this information in any guide?

      Comment


      • #4
        I don't have anything to add to the problem except to say I'm running into the same issue for a customer that has an emergency notification system similar to the one you described(astrisk to Shortel via sip trunk). I'm very interested to see if there is a solution or if I'm just plain screwed.

        Comment


        • #5
          Bump...anyone have more info on this? I have a customer with the same issue.

          Comment


          • #6
            180 Ringing not provided to SIP extension on outbound call

            Resolution

            • This can become an issue with a sip extension such as an Autodialer which would like to be able to tell though the SIP signaling if a call is ringing or if it is in fact connected
            • SIP extension calling out analog lines this will always been the case as we will connect the call as soon as we connect the analog line outbound and we are not able to tell a ringing analog line from a connected analog line.
            • SIP extension calling out a SIP trunk we'd typically expect to see the same signaling on both the trunk side and extension side so this should work
            • SIP extension calling out a PRI can depend if the Telco is providing inband ringing or relying out of band ringing:


            If we see an Alerting or Progress message such as this:


            L2 -> L3 00 DL_DATA_IND 000 0001 C447 ALERTING 20a 300 00 241 00 00 00 00 08 02 c4 47 01 1e 02 80 88


            the '1e 02 80 88' indicates that Inband ringing, Progress tones or Messages are available on the B channel and we'll connect the sip extension with a 200 OK at this point so we can provide these messages on the B channel. If they would like the SIP extension to not connect with a 200 OK until we see the Connect on the PRI the telco will need to turn this messaging off.


            http://support.shoretel.com/kb/view....7279&sliceId=1
            Last edited by rwensmann; 10-18-2013, 12:32 PM.

            Comment


            • #7
              To me it seems like a blind transfer versus screened transfer issue. Once the shoretel transfer the call to the cell phone it does a blind transfer and no longer controls the call. Have you tried setting up external phones and select "press 1 to answer the call" and see if the message waits until you answer the call?

              Comment

              Working...
              X