Draytel Setup

Status
Not open for further replies.

Lusk

Forum User
Joined
Apr 8, 2018
Messages
68
Reaction score
1
I am having an issue getting this to work and do appreciate that it is not on the recommended list.


I have set this up as a generic SIP trunk and it has registered no problem. However, when i call the number registered on 3CX, the phone rings and then I get a message that it has not been possible to connect my call, please try again later.


I've got the route calls section set up to route to an extension and the extension is functioning but as soon as it rings on the mobile and then as soon as it rings on the number I am calling, it cuts off.


If I call from the 3CX softphone app to the extension number, the extension rings. If I dial the full phone number from the soft phone, then I get the same issue as para.2 aove.


If I try to ring out from either the soft phone or the extension, then I can.

Edit:

Have received this email from 3CX:

Call or Registration to XXXXXXXXXXX@(Ln.10002@Draytel) has failed.

217.14.138.127 replied: 403 Forbidden; from IP:217.14.138.127:5060
 
I've got the logs here:


Code:
13/06/2020 22:13:32 - Provisional(180) from <sip:[email protected]>;tag=6d2b7b0a to "anonymous"<sip:[email protected]:5060;nf=e>;tag=9e5e0d5c

13/06/2020 22:13:32 - [CM505001]: Endpoint Extn:202: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CX Mobile Client] PBX contact: [sip:[email protected]:5060]

13/06/2020 22:13:32 - [CM503002]: Call(C:152): Alerting Extn:202 by contact <sip:[email protected]:5483/UDP>

13/06/2020 22:13:32 - Answer from <sip:[email protected]>;tag=6d2b7b0a to "anonymous"<sip:[email protected]:5060;nf=e>;tag=9e5e0d5c

13/06/2020 22:13:32 - Default best-route IP is determined as 192.168.2.12

13/06/2020 22:13:31 - [CM503025]: Call(C:152): Calling T:Extn:202@[Dev:sip:[email protected]:5483;rinstance=08d0a361499c478c] for L:152.1[Line:10002<<anonymous]

13/06/2020 22:13:31 - Route to L:152.2[Extn:202] sends Invite-OUT Send Req INVITE from 0.0.0.0:0 tid=620ba845d1396035 Call-ID=nTEu_HbjUDG_0bPKNusJZg..:

INVITE sip:[email protected]:5483;rinstance=08d0a361499c478c SIP/2.0

Via: SIP/2.0/ ;branch=z9hG4bK-524287-1---620ba845d1396035;rport

Max-Forwards: 70

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

To: <sip:[email protected]>

From: "anonymous"<sip:[email protected]:5060;nf=e>;tag=9e5e0d5c

Call-ID: nTEu_HbjUDG_0bPKNusJZg..

CSeq: 1 INVITE

Alert-Info: <http://www.notused.invalidtld>;info=external

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

Content-Type: application/sdp

Supported: replaces, timer

Content-Length: 411



v=0

o=3cxPS 240266510336 194062057473 IN IP4 127.0.0.1

s=3cxPS Audio call

c=IN IP4 127.0.0.1

t=0 0

m=audio 7488 RTP/AVP 0 8 9 3 18 112 101

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:9 G722/8000

a=rtpmap:3 GSM/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no

a=rtpmap:112 opus/48000/2

a=fmtp:112 maxplaybackrate=16000;sprop-maxcapturerate=16000

a=rtpmap:101 telephone-event/8000

a=sendrecv

13/06/2020 22:13:31 - SLA is globally disabled

13/06/2020 22:13:31 - Added leg L:152.2[Extn:202]

13/06/2020 22:13:31 - [Flow] Call(C:152): making call from L:152.1[Line:10002<<anonymous] to T:Extn:202@[Dev:sip:[email protected]:5483;rinstance=08d0a361499c478c]

13/06/2020 22:13:31 - [CM503027]: Call(C:152): From: Line:10002<<anonymous ("anonymous" <sip:[email protected]:5060>)  to  T:Extn:202@[Dev:sip:[email protected]:5483;rinstance=08d0a361499c478c]

13/06/2020 22:13:31 - [CM503004]: Call(C:152): Route 1: from L:152.1[Line:10002<<anonymous] to T:Extn:202@[Dev:sip:[email protected]:5483;rinstance=08d0a361499c478c]

13/06/2020 22:13:31 - [Flow] Endpoint Extn:202 has no forwarding rule on reason 'All calls'

13/06/2020 22:13:31 - [Flow] Call(C:152): has built target endpoint: Extn:202 for call from L:152.1[Line:10002<<anonymous]

13/06/2020 22:13:31 - [Flow] Target endpoint for 202 is Extn:202

13/06/2020 22:13:31 - [Flow] Building target endpoint to 202 from "anonymous" <sip:[email protected]:5060>

13/06/2020 22:13:31 - [CM503010]: Call(C:152): Making route(s) from Line:10002<<anonymous to <sip:[email protected]:5060/UDP>

13/06/2020 22:13:31 - Remote SDP is set for leg L:152.1[Line:10002<<anonymous]

13/06/2020 22:13:31 - [CM505003]: Provider:[Draytel] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [] PBX contact: [sip:[email protected]:5060]

13/06/2020 22:13:31 - Inbound DID: ''; Phonebook Name: ''

13/06/2020 22:13:31 - [CM500002]: Call(C:152): Info on incoming INVITE from Line:10002<<anonymous:

Invite-IN Recv Req INVITE from 217.14.138.127:5060 tid=361b.be2da8f1.0 [email protected]:5060:

INVITE sip:[email protected]:5060;rinstance=c2b87329ef42add6 SIP/2.0

Via: SIP/2.0/UDP 217.14.138.127;branch=z9hG4bK361b.be2da8f1.0

Via: SIP/2.0/UDP 77.240.56.50:5060;branch=z9hG4bK3b17e2ec

Max-Forwards: 69

Record-Route: <sip:217.14.138.127;lr=on;ftag=as6b03b3de>

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

To: <sip:[email protected]>

From: "anonymous" <sip:[email protected]>;tag=as6b03b3de

Call-ID: [email protected]:5060

CSeq: 102 INVITE

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

Content-Type: application/sdp

Date: Sat, 13 Jun 2020 21:13:26 GMT

Supported: replaces

User-Agent: VoIPGW

Privacy: none

P-Asserted-Identity: "anonymous" <sip:[email protected]>

Content-Length: 399



v=0

o=GW 1241666955 1241666955 IN IP4 77.240.56.50

s=GW

c=IN IP4 77.240.56.50

t=0 0

m=audio 27934 RTP/AVP 8 0 3 97 18 4 101

a=rtpmap:8 PCMA/8000

a=rtpmap:0 PCMU/8000

a=rtpmap:3 GSM/8000

a=rtpmap:97 iLBC/8000

a=fmtp:97 mode=30

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no

a=rtpmap:4 G723/8000

a=fmtp:4 annexa=no

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-16

a=ptime:20

a=sendrecv

13/06/2020 22:13:31 - [CM503001]: Call(C:152): Incoming call from Line:10002<<anonymous to <sip:[email protected]:5060>

13/06/2020 22:13:31 - Line limit check: Current # of calls for line Lc:10002(@Draytel[<sip:[email protected]:0/UDP>]) is 1; limit is 10

13/06/2020 22:13:31 - Blacklist check: number 'anonymous', list: ''; result = false

13/06/2020 22:13:31 - Dev(905732606):[sip:[email protected] / xxxxxx]: PBX contact is public IP: <sip:[email protected]:5060/UDP>

13/06/2020 22:13:31 - CallerID 'anonymous' is not a phone number, OCID is used instead

13/06/2020 22:13:31 - [CM503012]: Inbound office hours rule (unnamed) for 10002 forwards to DN:202

13/06/2020 22:13:31 - [Flow] Looking for inbound target: called=xxxxxx; caller="anonymous" <sip:anonymous@:0>

13/06/2020 22:13:31 - CallerNameAddr: "anonymous"<sip:anonymous;nf=e>

13/06/2020 22:13:31 - No inbound caller ID reformat rule for DN:10002 is defined, or it is disabled (<Rules />)

13/06/2020 22:13:31 - IncomingCall: C:152 from <sip:[email protected]:0/UDP> to <sip:[email protected]:5060/UDP>

13/06/2020 22:13:31 - Added leg L:C:152.1[No endpoint yet]

13/06/2020 22:13:31 - Call from "anonymous" <sip:[email protected]>;tag=as6b03b3de to <sip:[email protected]>;tag=361ac03d
 
Last edited by a moderator:
And here is the second part:


Code:
13/06/2020 22:13:34 - Updating device Dev(1206544849):[sip:[email protected]:5483;rinstance=08d0a361499c478c / 202] by message: DevUpd Recv Req REGISTER from 127.0.0.1:5483 tid=a831b954411f184a Call-ID=7HfsBQMBHymuoH5dlS9phg..:

REGISTER sip:127.0.0.1:5060 SIP/2.0

Via: SIP/2.0/UDP 127.0.0.1:5483;branch=z9hG4bK-524287-1---a831b954411f184a;rport=5483

Max-Forwards: 70

Contact: <sip:[email protected]:5483;rinstance=08d0a361499c478c>

To: "Mobile-202"<sip:[email protected]:5060>

From: "Mobile-202"<sip:[email protected]:5060>;tag=4974c658

Call-ID: 7HfsBQMBHymuoH5dlS9phg..

CSeq: 560 REGISTER

Expires: 300

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

Proxy-Authorization: Digest username="5CrSLxHZXN",realm="3CXPhoneSystem",nonce="414d535c14f5d27e65:91e4edf276a567f9bda044249053ea0e",uri="sip:127.0.0.1:5060",response="b2e64270791587c6992835b8870b8a6a",algorithm=MD5

Supported: replaces

User-Agent: 3CX Mobile Client

Content-Length: 0



13/06/2020 22:13:34 - Leg L:152.2[Extn:202] is terminated: Cause: 487 Request Terminated/INVITE from 127.0.0.1:5483

13/06/2020 22:13:34 - L:152.2[Extn:202] got Terminated Recv 487/INVITE from 127.0.0.1:5483 tid=620ba845d1396035 Call-ID=nTEu_HbjUDG_0bPKNusJZg..:

SIP/2.0 487 Request Terminated

Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK-524287-1---620ba845d1396035;rport=5060

To: <sip:[email protected]>;tag=6d2b7b0a

From: "anonymous"<sip:[email protected]:5060;nf=e>;tag=9e5e0d5c

Call-ID: nTEu_HbjUDG_0bPKNusJZg..

CSeq: 1 INVITE

User-Agent: 3CX Mobile Client

Content-Length: 0



13/06/2020 22:13:34 - Terminated from <sip:[email protected]>;tag=6d2b7b0a to "anonymous"<sip:[email protected]:5060;nf=e>;tag=9e5e0d5c; reason: Error

13/06/2020 22:13:34 - L:152.2[Extn:202] got Failure: Failure Recv 487/INVITE from 127.0.0.1:5483 tid=620ba845d1396035 Call-ID=nTEu_HbjUDG_0bPKNusJZg..:

SIP/2.0 487 Request Terminated

Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK-524287-1---620ba845d1396035;rport=5060

To: <sip:[email protected]>;tag=6d2b7b0a

From: "anonymous"<sip:[email protected]:5060;nf=e>;tag=9e5e0d5c

Call-ID: nTEu_HbjUDG_0bPKNusJZg..

CSeq: 1 INVITE

User-Agent: 3CX Mobile Client

Content-Length: 0



13/06/2020 22:13:34 - [CM503003]: Call(C:152): Call to <sip:[email protected]:0> has failed; Cause: 487 Request Terminated/INVITE from 127.0.0.1:5483

13/06/2020 22:13:34 - Session 37718 has failed in leg L:152.2[Extn:202] ; Cause: 487 Request Terminated/INVITE from 127.0.0.1:5483

13/06/2020 22:13:34 - Failure from <sip:[email protected]>;tag=6d2b7b0a to "anonymous"<sip:[email protected]:5060;nf=e>;tag=9e5e0d5c

13/06/2020 22:13:34 - Updating device Dev(2113690972):[sip:[email protected]:5483;rinstance=f693eb784dd1feda / 700] by message: DevUpd Recv Req REGISTER from 127.0.0.1:5483 tid=9e70bc6d1144fa76 Call-ID=OBhoXIspe1qKxYWVx0mzSQ..:

REGISTER sip:127.0.0.1:5060 SIP/2.0

Via: SIP/2.0/UDP 127.0.0.1:5483;branch=z9hG4bK-524287-1---9e70bc6d1144fa76;rport=5483

Max-Forwards: 70

Contact: <sip:[email protected]:5483;rinstance=f693eb784dd1feda>

To: "Conference Room700:"<sip:[email protected]:5060>

From: "Conference Room700:"<sip:[email protected]:5060>;tag=7e75876d

Call-ID: OBhoXIspe1qKxYWVx0mzSQ..

CSeq: 3728 REGISTER

Expires: 60

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

Proxy-Authorization: Digest username="700",realm="3CXPhoneSystem",nonce="414d535c14f5d27e35:17f8ad564874dd3ea3487f7b597555f9",uri="sip:127.0.0.1:5060",response="7005e8d40688541c20ec41f70113f5b4",algorithm=MD5

Supported: replaces

User-Agent: 3CX Conference Room

Content-Length: 0



13/06/2020 22:13:34 - [CM503008]: Call(C:152): Call is terminated

13/06/2020 22:13:34 - Blocking refers for the Call(C:152)

13/06/2020 22:13:34 - Call(C:152) is terminated

13/06/2020 22:13:34 - ~Target=Ext:Ext.202

13/06/2020 22:13:34 - Leg L:152.1[Line:10002<<anonymous] is terminated: Cause: CANCEL from 217.14.138.127:5060

13/06/2020 22:13:34 - L:152.1[Line:10002<<anonymous] got Terminated Recv Req CANCEL from 217.14.138.127:5060 tid=361b.be2da8f1.0 [email protected]:5060:

CANCEL sip:[email protected]:5060;rinstance=c2b87329ef42add6 SIP/2.0

Via: SIP/2.0/UDP 217.14.138.127;branch=z9hG4bK361b.be2da8f1.0

Max-Forwards: 70

To: <sip:[email protected]>

From: "anonymous" <sip:[email protected]>;tag=as6b03b3de

Call-ID: [email protected]:5060

CSeq: 102 CANCEL

User-Agent: OpenSIPS (1.5.3-notls (x86_64/linux))

Content-Length: 0



13/06/2020 22:13:34 - Terminated from "anonymous" <sip:[email protected]>;tag=as6b03b3de to <sip:[email protected]>;tag=361ac03d; reason: RemoteCancel

13/06/2020 22:13:34 - L:152.1[Line:10002<<anonymous] Sending: OnSendResp Send 487/INVITE from 0.0.0.0:0 tid=361b.be2da8f1.0 [email protected]:5060:

SIP/2.0 487 Request Terminated

Via: SIP/2.0/UDP 217.14.138.127;branch=z9hG4bK361b.be2da8f1.0

Via: SIP/2.0/UDP 77.240.56.50:5060;branch=z9hG4bK3b17e2ec

To: <sip:[email protected]>;tag=361ac03d

From: "anonymous" <sip:[email protected]>;tag=as6b03b3de

Call-ID: [email protected]:5060

CSeq: 102 INVITE

Content-Length: 0



13/06/2020 22:13:34 - SendMsg from <sip:[email protected]>;tag=361ac03d to "anonymous" <sip:[email protected]>;tag=as6b03b3de

13/06/2020 22:13:34 - L:152.1[Line:10002<<anonymous] Sending: OnSendResp Send 200/CANCEL from 0.0.0.0:0 tid=361b.be2da8f1.0 [email protected]:5060:

SIP/2.0 200 OK

Via: SIP/2.0/UDP 217.14.138.127;branch=z9hG4bK361b.be2da8f1.0

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

To: <sip:[email protected]>;tag=361ac03d

From: "anonymous" <sip:[email protected]>;tag=as6b03b3de

Call-ID: [email protected]:5060

CSeq: 102 CANCEL

Content-Length: 0



13/06/2020 22:13:34 - SendMsg from <sip:[email protected]>;tag=361ac03d to "anonymous" <sip:[email protected]>;tag=as6b03b3de

13/06/2020 22:13:32 - L:152.1[Line:10002<<anonymous] Sending: OnSendResp Send 180/INVITE from 0.0.0.0:0 tid=361b.be2da8f1.0 [email protected]:5060:

SIP/2.0 180 Ringing

Via: SIP/2.0/UDP 217.14.138.127;branch=z9hG4bK361b.be2da8f1.0

Via: SIP/2.0/UDP 77.240.56.50:5060;branch=z9hG4bK3b17e2ec

Record-Route: <sip:217.14.138.127;lr=on;ftag=as6b03b3de>

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

To: <sip:[email protected]>;tag=361ac03d

From: "anonymous" <sip:[email protected]>;tag=as6b03b3de

Call-ID: [email protected]:5060

CSeq: 102 INVITE

Content-Length: 0



13/06/2020 22:13:32 - SendMsg from <sip:[email protected]>;tag=361ac03d to "anonymous" <sip:[email protected]>;tag=as6b03b3de

13/06/2020 22:13:32 - L:152.2[Extn:202] got Provisional Recv 180/INVITE from 127.0.0.1:5483 tid=620ba845d1396035 Call-ID=nTEu_HbjUDG_0bPKNusJZg..:

SIP/2.0 180 Ringing

Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK-524287-1---620ba845d1396035;rport=5060

Contact: <sip:[email protected]:5483;rinstance=08d0a361499c478c>

To: <sip:[email protected]>;tag=6d2b7b0a

From: "anonymous"<sip:[email protected]:5060;nf=e>;tag=9e5e0d5c

Call-ID: nTEu_HbjUDG_0bPKNusJZg..

CSeq: 1 INVITE

User-Agent: 3CX Mobile Client

Content-Length: 0
 
Last edited by a moderator:
So what type device is ext 202? 202@127.0.0.1:5483

Have you tried a call to any other type of devices?

The fact that you get this...
[email protected]:5483
...from your provider means, you are not allowed to call that number, the digits you are sending are incorrect (format?), or, perhaps you are sending a caller Id that is not allowed. You might want to contact them, for the quick answer.
 
So what type device is ext 202? 202@127.0.0.1:5483

Have you tried a call to any other type of devices?

The fact that you get this...
[email protected]:5483
...from your provider means, you are not allowed to call that number, the digits you are sending are incorrect (format?), or, perhaps you are sending a caller Id that is not allowed. You might want to contact them, for the quick answer.
Yes, I have tried other devices and I get the same error.

202 is actually a 3CX iPhone app.
 
Status
Not open for further replies.

Forum statistics

Threads
111,953
Messages
589,911
Members
164,846
Latest member
Richard77