Outbound calls doesnt work.

Status
Not open for further replies.

kantor

Free User
Joined
May 7, 2019
Messages
3
Reaction score
0
Hi guys,

I've problem with 3cx and Outbound calls. When I'm trying to call to number 123456789 from extension 000, event log prompting this log.
Inbound calls works as charm :)



Code:
05/13/2019 8:11:46 AM - Currently active calls [none]
05/13/2019 8:11:45 AM - Leg L:3.1[Extn:000] is terminated: Cause: BYE from PBX
05/13/2019 8:11:45 AM - [CM503020]: Call(C:3): Normal call termination. Call originator: Extn:000. Reason: Terminated
05/13/2019 8:11:45 AM - L:3.1[Extn:000] failed to reach Line:10000>>123456789, reason Reason Unknown
05/13/2019 8:11:45 AM - Leg L:3.2[Line:10000>>123456789] is terminated: Cause: 407 Proxy Authentication Required/INVITE from 185.53.97.50:5060
05/13/2019 8:11:45 AM - Call to T:Line:10000>>123456789@[Dev:sip:[email protected]:5060] from L:3.1[Extn:000] failed, cause: Cause: 407 Proxy Authentication Required/INVITE from 185.53.97.50:5060
05/13/2019 8:11:45 AM - [CM503003]: Call(C:3): Call to <sip:[email protected]:5060> has failed; Cause: 407 Proxy Authentication Required/INVITE from 185.53.97.50:5060
05/13/2019 8:11:45 AM - [CM503025]: Call(C:3): Calling T:Line:10000>>123456789@[Dev:sip:[email protected]:5060] for L:3.1[Extn:000]
05/13/2019 8:11:45 AM - [CM503027]: Call(C:3): From: Extn:000 ("kantor" <sip:000@myip:5060>)  to  T:Line:10000>>123456789@[Dev:sip:[email protected]:5060]
05/13/2019 8:11:45 AM - [CM503004]: Call(C:3): Route 1: from L:3.1[Extn:000] to T:Line:10000>>123456789@[Dev:sip:[email protected]:5060]
05/13/2019 8:11:45 AM - Line limit check: Current # of calls for line Lc:10000(@Generic SIP Trunk[<sip:[email protected]:5060>]) is 0; limit is 16
05/13/2019 8:11:45 AM - Call(C:3): Call from Extn:000 to 123456789 matches outbound rule 'test'
05/13/2019 8:11:45 AM - [Flow] Call(C:3): has built target endpoint: Out#:>>Rule{test}>>123456789 for call from L:3.1[Extn:000]
05/13/2019 8:11:45 AM - [Flow] Target endpoint for 123456789 is Out#:>>Rule{test}>>123456789
05/13/2019 8:11:45 AM - [CM503010]: Call(C:3): Making route(s) from Extn:000 to <sip:123456789@myip:5060>
 
Hello @kantor

the log provided shows the PBX selecting an outbound rule (test) and trying to make the call. Unfortunately you are missing the rest of the log that should tell us what happens next.
 
Code:
13/05/2019 14:10:39 - Currently active calls [none]

13/05/2019 14:10:35 - Leg L:9.1[Extn:000] is terminated: Cause: BYE from PBX

13/05/2019 14:10:35 - Terminated from "kantor"<sip:000@myhostnamefqdn>;tag=b2446825600b41dd8d51c9275a8c8861 to <sip:123456789@myhostnamefqdn;tag3cx=bce8f9dc107649e98a76a771a6ce4a54>;tag=3b593d22; reason: Rejected

13/05/2019 14:10:35 - L:9.1[Extn:000] Sending: OnSendResp Send 480/INVITE from 0.0.0.0:0 tid=Pje135f4be2a644de4819f934987516b82 Call-ID=93e4da2fd86e463da812433821ea74aa:

SIP/2.0 480 Temporarily Unavailable

Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK-524287-2---Pje135f4be2a644de4819f934987516b82;rport=5080

Via: SIP/2.0/UDP [::ffff:172.16.229.12]:3234;branch=z9hG4bK-524287-1---tunneltid;rport;tnlid=clnt.1-75f1b7f175294f35ab0fc1062545aef9

Via: SIP/2.0/TCP 10.240.15.88:50195;rport;branch=z9hG4bKPje135f4be2a644de4819f934987516b82;alias

To: <sip:123456789@myhostnamefqdn;tag3cx=bce8f9dc107649e98a76a771a6ce4a54>;tag=3b593d22

From: "kantor"<sip:000@myhostnamefqdn>;tag=b2446825600b41dd8d51c9275a8c8861

Call-ID: 93e4da2fd86e463da812433821ea74aa

CSeq: 24180 INVITE

Warning: 499 myhostnamefqdn "Terminated"

Content-Length: 0



13/05/2019 14:10:35 - SendMsg from <sip:123456789@myhostnamefqdn;tag3cx=bce8f9dc107649e98a76a771a6ce4a54>;tag=3b593d22 to "kantor"<sip:000@myhostnamefqdn>;tag=b2446825600b41dd8d51c9275a8c8861

13/05/2019 14:10:35 - Leg L:9.2[Line:10000>>123456789] is terminated: Cause: 407 Proxy Authentication Required/INVITE from 185.53.97.50:5060

13/05/2019 14:10:35 - L:9.2[Line:10000>>123456789] got Terminated Recv 407/INVITE from 185.53.97.50:5060 tid=291d6b5c9e63417b Call-ID=sQuHVr7qbjak5Fx7KiUGwg..:

SIP/2.0 407 Proxy Authentication Required

Via: SIP/2.0/UDP myDMZip:5060;branch=z9hG4bK-524287-1---291d6b5c9e63417b;rport=5060;received=myDMZip

Proxy-Authenticate: Digest realm="sip.supervoip.pl", nonce="XNlf51zZXrtuvuS5wrTdO7X94c4CoHwT"

To: <sip:[email protected]:5060>;tag=b495fda022709c979a2b17dcf603adf3.2733

From: "221111111"<sip:[email protected]:5060>;tag=8ae00906

Call-ID: sQuHVr7qbjak5Fx7KiUGwg..

CSeq: 2 INVITE

Server: SuperVoIP.pl 2.0

Content-Length: 0



13/05/2019 14:10:35 - Terminated from <sip:[email protected]:5060>;tag=b495fda022709c979a2b17dcf603adf3.2733 to "221111111"<sip:[email protected]:5060>;tag=8ae00906; reason: Error

13/05/2019 14:10:35 - ~Target=VoIPline:123456789@(Ln.10000@Generic SIP Trunk)

13/05/2019 14:10:35 - Call(C:9) is terminated

13/05/2019 14:10:35 - [CM503020]: Call(C:9): Normal call termination. Call originator: Extn:000. Reason: Terminated

13/05/2019 14:10:35 - [CM503016]: Call(C:9): Attempt to reach <sip:123456789@myhostnamefqdn:5060> from Extn:000 has failed. Reason: Reason Unknown

13/05/2019 14:10:35 - [Flow] Current call diversion path:[]

13/05/2019 14:10:35 - L:9.1[Extn:000] failed to reach Line:10000>>123456789, reason Reason Unknown

13/05/2019 14:10:35 - RerouteReq

13/05/2019 14:10:35 - ~Route=Dev:sip:[email protected]:5060

13/05/2019 14:10:35 - Call to T:Line:10000>>123456789@[Dev:sip:[email protected]:5060] from L:9.1[Extn:000] failed, cause: Cause: 407 Proxy Authentication Required/INVITE from 185.53.97.50:5060

13/05/2019 14:10:35 - L:9.2[Line:10000>>123456789] got Failure: Failure Recv 407/INVITE from 185.53.97.50:5060 tid=291d6b5c9e63417b Call-ID=sQuHVr7qbjak5Fx7KiUGwg..:

SIP/2.0 407 Proxy Authentication Required

Via: SIP/2.0/UDP myDMZip:5060;branch=z9hG4bK-524287-1---291d6b5c9e63417b;rport=5060;received=myDMZip

Proxy-Authenticate: Digest realm="sip.supervoip.pl", nonce="XNlf51zZXrtuvuS5wrTdO7X94c4CoHwT"

To: <sip:[email protected]:5060>;tag=b495fda022709c979a2b17dcf603adf3.2733

From: "221111111"<sip:[email protected]:5060>;tag=8ae00906

Call-ID: sQuHVr7qbjak5Fx7KiUGwg..

CSeq: 2 INVITE

Server: SuperVoIP.pl 2.0

Content-Length: 0



13/05/2019 14:10:35 - [CM503003]: Call(C:9): Call to <sip:[email protected]:5060> has failed; Cause: 407 Proxy Authentication Required/INVITE from 185.53.97.50:5060

13/05/2019 14:10:35 - Session 7970 has failed in leg L:9.2[Line:10000>>123456789] ; Cause: 407 Proxy Authentication Required/INVITE from 185.53.97.50:5060

13/05/2019 14:10:35 - Failure from <sip:[email protected]:5060>;tag=b495fda022709c979a2b17dcf603adf3.2733 to "221111111"<sip:[email protected]:5060>;tag=8ae00906

13/05/2019 14:10:35 - [CM503025]: Call(C:9): Calling T:Line:10000>>123456789@[Dev:sip:[email protected]:5060] for L:9.1[Extn:000]

13/05/2019 14:10:35 - Route to L:9.2[Line:10000>>123456789] sends Invite-OUT Send Req INVITE from 0.0.0.0:0 tid=95540534da44fa20 Call-ID=sQuHVr7qbjak5Fx7KiUGwg..:

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

Via: SIP/2.0/ ;branch=z9hG4bK-524287-1---95540534da44fa20;rport

Max-Forwards: 70

Contact: <sip:221111111@myexternalip:5060>

To: <sip:[email protected]:5060>

From: "221111111"<sip:[email protected]:5060>;tag=8ae00906

Call-ID: sQuHVr7qbjak5Fx7KiUGwg..

CSeq: 1 INVITE

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

Content-Type: application/sdp

Supported: replaces, timer

Remote-Party-ID: "221111111"<sip:[email protected]:5060>;party=calling

Content-Length: 292



v=0

o=3cxPS 30092849773019136 32273542997344257 IN IP4 myexternalip

s=3cxPS Audio call

c=IN IP4 myexternalip

t=0 0

m=audio 9016 RTP/AVP 0 8 18 101

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no

a=rtpmap:101 telephone-event/8000

a=sendrecv

13/05/2019 14:10:35 - Outbound CID reformat rule for DN:10000 is disabled (<Rules />)

13/05/2019 14:10:35 - Dev(291115797):[sip:[email protected]:5060 / 7654321]: PBX contact is public IP: <sip:7654321@myexternalip:5060>

13/05/2019 14:10:35 - Remote SDP is set for leg L:9.1[Extn:000]

13/05/2019 14:10:35 - OnOffer from "kantor"<sip:000@myhostnamefqdn>;tag=b2446825600b41dd8d51c9275a8c8861

13/05/2019 14:10:35 - Outbound URI is used: sip:185.53.97.50;lr;ftag=as5725c26c;did=8df.9cd1;nat=yes

13/05/2019 14:10:35 - SLA is globally disabled

13/05/2019 14:10:35 - Added leg L:9.2[Line:10000>>123456789]

13/05/2019 14:10:35 - Remote SDP is set for leg L:9.1[Extn:000]

13/05/2019 14:10:35 - Offer SDP arrived on Leg L:9.1[Extn:000];

OnOffer Recv Req INVITE from 127.0.0.1:5080 tid=Pje135f4be2a644de4819f934987516b82 Call-ID=93e4da2fd86e463da812433821ea74aa:

INVITE sip:[email protected]:5060;transport=UDP;tag3cx=bce8f9dc107649e98a76a771a6ce4a54 SIP/2.0

Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK-524287-2---Pje135f4be2a644de4819f934987516b82;rport=5080

Via: SIP/2.0/UDP [::ffff:172.16.229.12]:3234;branch=z9hG4bK-524287-1---tunneltid;rport;tnlid=clnt.1-75f1b7f175294f35ab0fc1062545aef9

Via: SIP/2.0/TCP 10.240.15.88:50195;rport;branch=z9hG4bKPje135f4be2a644de4819f934987516b82;alias

Max-Forwards: 69

Record-Route: <sip:[email protected]:5080;user=proxy;uri=clnt.1-75f1b7f175294f35ab0fc1062545aef9>

Contact: "kantor" <sip:[email protected]:5060;rinstance=1-75f1b7f175294f35ab0fc1062545aef9>

To: <sip:123456789@myhostnamefqdn;tag3cx=bce8f9dc107649e98a76a771a6ce4a54>

From: "kantor"<sip:000@myhostnamefqdn>;tag=b2446825600b41dd8d51c9275a8c8861

Call-ID: 93e4da2fd86e463da812433821ea74aa

CSeq: 24180 INVITE

Session-Expires: 1800

Min-SE: 90

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

Content-Type: application/sdp

Proxy-Authorization: Digest username="LusKK20Qna2",realm="3CXPhoneSystem",nonce="414d53595cd95ebb65:d69310e949281cd62fa7be2098670dcc",uri="sip:123456789@myhostnamefqdn;transport=tcp;tag3cx=bce8f9dc107649e98a76a771a6ce4a54",response="d07cf1315bf216e462878da90ae8dd99",algorithm=MD5

Supported: replaces, 100rel, timer, norefersub

User-Agent: 3CXPhone for Windows 16.0.1.81

Content-Length: 425



v=0

o=- 3766745435 3766745435 IN IP4 10.240.15.88

s=pjmedia

c=IN IP4 127.0.0.1

b=AS:84

t=0 0

a=X-nat:0

m=audio 14036 RTP/AVP 18 0 8 9 3 96

c=IN IP4 127.0.0.1

b=TIAS:64000

b=AS:84

a=sendrecv

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:9 G722/8000

a=rtpmap:3 GSM/8000

a=rtpmap:96 telephone-event/8000

a=fmtp:96 0-15

m=video 0 RTP/AVP 31

c=IN IP4 127.0.0.1

13/05/2019 14:10:35 - [Flow] Call(C:9): making call from L:9.1[Extn:000] to T:Line:10000>>123456789@[Dev:sip:[email protected]:5060]

13/05/2019 14:10:35 - [CM503027]: Call(C:9): From: Extn:000 ("kantor" <sip:000@myhostnamefqdn:5060>)  to  T:Line:10000>>123456789@[Dev:sip:[email protected]:5060]

13/05/2019 14:10:35 - [CM503004]: Call(C:9): Route 1: from L:9.1[Extn:000] to T:Line:10000>>123456789@[Dev:sip:[email protected]:5060]

13/05/2019 14:10:35 - Outbound CID reformat rule for DN:10000 is disabled (<Rules />)

13/05/2019 14:10:35 - Line limit check: Current # of calls for line Lc:10000(@Generic SIP Trunk[<sip:[email protected]:5060>]) is 0; limit is 16

13/05/2019 14:10:35 - Call(C:9): Call from Extn:000 to 123456789 matches outbound rule 'test'
 
Last edited:
Looks like the call is reaching the provider and then being rejected. I would recommend contacting your provider and ask them why the calls are being rejected.
Alternatively you could use one of our supported providers and eliminate any guess work.
https://www.3cx.com/partners/sip-trunks/
 
  • Like
Reactions: kantor
But when im using e.g. zoiper and use credentials from provider, outbound calls works :/
 
But when im using e.g. zoiper and use credentials from provider, outbound calls works :/
Then you can perform a wireshark capture and see how the Invite leaving Zoiper is formatted and then try to adjust the outbound parameters of the PBX to match that.
Or you could contact the provider and ask them what they are seeing wrong. They should be able to assist you to adjust the Invite.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,924
Messages
589,756
Members
164,796
Latest member
Dame24