No outbound calls with SPA3102

Unanswered Question
Jan 21st, 2014
User Badges:

Hi all,


I have configure an SPA3102 to be used as a PSTN Gateway with a CX3 SIP server per http://www.3cx.com/voip-gateways/linksys-spa3102/


I do receive calls from PSTN to VOIP fine, but when trying the other way I get a "temporary unavailable". I hope someone can take a look and tell me if I'm missing something or if I should tweek some other parameters for this to work... I traced the SIP logs, and I get the following:


21-ene-2014 20:48:20.187      L:1.1[Extn:110]: Terminating targets, reason:

21-ene-2014 20:48:20.186      Leg L:1.1[Extn:110] is terminated: Cause: BYE from PBX

21-ene-2014 20:48:20.186      L:1.1[Extn:110] Sending: OnSendResp Send 480/INVITE from 0.0.0.0:0 tid=Pj0pt3ZBq9KKi0iNpwL-eY7PI1N0i3Eeaw Call-ID=NbzdY2B5vGgnlcLf-8BOhEfRj4nnRb1D:

                                    SIP/2.0 480 Temporarily Unavailable

                                    Via: SIP/2.0/UDP 192.168.100.16:52602;rport=52602;branch=z9hG4bKPj0pt3ZBq9KKi0iNpwL-eY7PI1N0i3Eeaw

                                    To: <sip:[email protected]>;tag=056c8f6b

                                    From: "krusty"<sip:[email protected]>;tag=1tq7jDBm7RfliHgJ39cyQUcurTDBuDF1

                                    Call-ID: NbzdY2B5vGgnlcLf-8BOhEfRj4nnRb1D

                                    CSeq: 16359 INVITE

                                    Warning: 499 PAVILION "Not available"

                                    Content-Length: 0

21-ene-2014 20:48:20.167      [CM503020]: Call(C:1): Normal call termination. Call originator: Extn:110. Reason: Not available

21-ene-2014 20:48:20.167      [CM503016]: Call(C:1): Attempt to reach <sip:[email protected]:5060> from Extn:110 has failed. Reason: Temporarily Unavailable

21-ene-2014 20:48:20.167      L:1.1[Extn:110] failed to reach Out#:>>Rule{Route to PSTN}>>90445526700739, reason Temporarily Unavailable

21-ene-2014 20:48:20.165      [CM503016]: Call(C:1): Attempt to reach <sip:[email protected]:5060> from Extn:110 has failed. Reason: Temporarily Unavailable

21-ene-2014 20:48:20.164      Call(C:1): from L:1.1[Extn:110]: There are no available outbound lines on Trunk 'PSTNlineKrustyHouse' at this time. First line: 10000

21-ene-2014 20:48:20.156      Call(C:1): Call from Extn:110 to 90445526700739 matches outbound rule 'Route to PSTN'

21-ene-2014 20:48:20.156      [Flow] Call(C:1): has built target endpoint: Out#:>>Rule{Route to PSTN}>>90445526700739 for call from L:1.1[Extn:110]

21-ene-2014 20:48:20.156      [CM503010]: Call(C:1): Making route(s) from Extn:110 to <sip:[email protected]:5060>

21-ene-2014 20:48:20.156      Remote SDP is set for leg L:1.1[Extn:110]

21-ene-2014 20:48:20.156      [CM505001]: Endpoint Extn:110: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXPhone for Android 12.0.53] PBX contact: [sip:[email protected]:5060]

21-ene-2014 20:48:20.154      [CM500002]: Call(C:1): Info on incoming INVITE from Extn:110:

                                    Invite-IN Recv Req INVITE from 192.168.100.16:52602 tid=Pj0pt3ZBq9KKi0iNpwL-eY7PI1N0i3Eeaw Call-ID=NbzdY2B5vGgnlcLf-8BOhEfRj4nnRb1D:

                                    INVITE sip:[email protected]:5060 SIP/2.0

                                    Via: SIP/2.0/UDP 192.168.100.16:52602;rport=52602;branch=z9hG4bKPj0pt3ZBq9KKi0iNpwL-eY7PI1N0i3Eeaw

                                    Max-Forwards: 70

                                    Contact: "krusty"<sip:[email protected]:52602;ob;inst="7899c492">

                                    To: <sip:[email protected]>

                                    From: "krusty"<sip:[email protected]>;tag=1tq7jDBm7RfliHgJ39cyQUcurTDBuDF1

                                    Call-ID: NbzdY2B5vGgnlcLf-8BOhEfRj4nnRb1D

                                    CSeq: 16359 INVITE

                                    Session-Expires: 1800

                                    Min-SE: 90

                                    Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS

                                    Content-Type: application/sdp

                                    Proxy-Authorization: Digest username="110",realm="3CXPhoneSystem",nonce="414d535c08efc27444:f205e2ed4d708ca0b75038ea17454e6b",uri="sip:[email protected]:5060",response="138bf6b92f8870baf346c90d87c15e55",algorithm=MD5

                                    Supported: replaces, 100rel, timer, norefersub

                                    User-Agent: 3CXPhone for Android 12.0.53

                                    Content-Length: 304

                                   

                                    v=0

                                    o=- 3599347696 3599347696 IN IP4 192.168.100.16

                                    s=pjmedia

                                    b=AS:84

                                    t=0 0

                                    a=X-nat:0

                                    m=audio 42000 RTP/AVP 3 8 0 96

                                    c=IN IP4 192.168.100.16

                                    b=TIAS:64000

                                    a=rtcp:42001

                                    a=sendrecv

                                    a=rtpmap:3 GSM/8000

                                    a=rtpmap:8 PCMA/8000

                                    a=rtpmap:0 PCMU/8000

                                    a=rtpmap:96 telephone-event/8000

                                    a=fmtp:96 0-15

21-ene-2014 20:48:20.154      [CM503001]: Call(C:1): Incoming call from Extn:110 to <sip:[email protected]:5060>

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Hermanus Janse ... Tue, 01/21/2014 - 22:22
User Badges:
  • Silver, 250 points or more

are you able to make any outbound calls over the SIP trunk at all?


Does your ISP allow outbound calls and are they expecting some sort of authentication from your side maybe?


It seems below with the message either there is really no lines available or you are not allowed to make outbound calls.


Call(C:1): from L:1.1[Extn:110]:

There are no available outbound lines on Trunk 'PSTNlineKrustyHouse' at this time

. First line: 10000

elavalle Tue, 01/21/2014 - 23:06
User Badges:

Hi Hermanus,


Not able to make any call at all.


There is no ISP,  I have this connected to my POTS line , which is not in use, so it should be available.


About the message, yeah I noticed it too, but again, the PSTN line is connected to my only POTS line. I do receive calls fine.


Regards,

Enrique

elavalle Wed, 01/22/2014 - 08:30
User Badges:

Sure, here it is, with a simple net topology:


Network Diagram.jpgSPA3102 config 1.pngSPA3102 config 2.jpgSPA3102 config 3.jpgSPA3102 config 4.jpgSPA3102 STATUS 1.jpgSPA3102 STATUS 2.jpg

Actions

This Discussion

Related Content