VT2542 cannot make outside calls

Hello,

I have unlocked VT2542, I registered Freepbx server, everything works well but I cannot make outside calls. Outbound route is ok because with other sip client (eg. X-lite) I can make phone calls and call my mailbox.

Inbound calls works so I can call my extension dialing the internal extension number (101)

I don’t know what should be wrong, I have no more information to provide in admin of the phone. When I see the log in freepbx I can’t see the outbound call, it’s like VT2542 can’t connect freepbx for outbound call. I have no firewall, no restriction… I know konw whats wrong!

This is the log for outside call (call 123: my voice mail) When I dial the extension I hear the tone, but after few seconds I have 3 tones.

In the log I see:

2002:9:8:12:25 SSMU: {— Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized

That seems call is not authorized but why???

2002:9:8:12:25 TCID 0: OFF_HOOK

2002:9:8:12:25 TCID 0: dial digit ‘1’

2002:9:8:12:25 TCID 0: dial digit ‘2’

2002:9:8:12:25 TCID 0: dial digit ‘3’

2002:9:8:12:25 SSMU: —} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:[email protected];transport=UDP};tag=1019f6f0-c1c5a258-13c4-3d7b3c10-60289e7-3d7b3c10
To: {sip:[email protected];transport=UDP}
Call-ID: 101abcf0-c1c5a258-13c4-3d7b3be7-4e9c5c2a-3d7b3be7
CSeq: 52 REGISTER
Via: SIP/2.0/UDP 88.162.197.193:5060;branch=z9hG4bK-3d7b41c8-2978f5cb-550ea3f3
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: TITAN-1050
Contact: {sip:[email protected]:5060;transport=UDP}
Expires: 60
Authorization: Digest username=“101”,realm=“asterisk”,nonce=“568def2c”,uri=“sip:88.190.40.67;transport=UDP”,response=“ee8da845060c15003d4330ed0e63798f”,algorithm=MD5
Content-Length: 0

2002:9:8:12:25 SSMU: {— Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 88.162.197.193:5060;branch=z9hG4bK-3d7b41c8-2978f5cb-550ea3f3;received=88.162.197.193
From: {sip:[email protected];transport=UDP};tag=1019f6f0-c1c5a258-13c4-3d7b3c10-60289e7-3d7b3c10
To: {sip:[email protected];transport=UDP};tag=as38b2d52c
Call-ID: 101abcf0-c1c5a258-13c4-3d7b3be7-4e9c5c2a-3d7b3be7
CSeq: 52 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="5a5cb2f9"
Content-Length: 0

2002:9:8:12:25 SSMU: —} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
REGISTER sip:88.190.40.67;transport=UDP SIP/2.0
From: {sip:[email protected];transport=UDP};tag=1019f6f0-c1c5a258-13c4-3d7b3c10-60289e7-3d7b3c10
To: {sip:[email protected];transport=UDP}
Call-ID: 101abcf0-c1c5a258-13c4-3d7b3be7-4e9c5c2a-3d7b3be7
CSeq: 53 REGISTER
Via: SIP/2.0/UDP 88.162.197.193:5060;branch=z9hG4bK-3d7b41c8-2978f5f3-45672f73
Max-Forwards: 70
Supported: replaces,timer,100rel
User-Agent: TITAN-1050
Contact: {sip:[email protected]:5060;transport=UDP}
Expires: 60
Authorization: Digest username=“101”,realm=“asterisk”,nonce=“5a5cb2f9”,uri=“sip:88.190.40.67;transport=UDP”,response=“d65e93345f4537d192e04a161e687e0f”,algorithm=MD5
Content-Length: 0

2002:9:8:12:25 SSMU: {— Message Received: Received from addr=88.190.40.67:5060, UDP
OPTIONS sip:[email protected]:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 88.190.40.67:5060;branch=z9hG4bK4f773a92
Max-Forwards: 70
From: “Unknown” {sip:[email protected]};tag=as2cf8bfa1
To: {sip:[email protected]:5060;transport=UDP}
Contact: {sip:[email protected]:5060}
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.10.0(1.8.12.0)
Date: Thu, 17 May 2012 10:00:10 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

2002:9:8:12:25 SSMU: —} Message Sent: Sent to Addr=88.190.40.67:5060, UDP
SIP/2.0 200 OK
From: “Unknown”{sip:[email protected]};tag=as2cf8bfa1
To: {sip:[email protected]:5060};tag=101a0f00-c1c5a258-13c4-3d7b41c8-17b4f298-3d7b41c8
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,REFER,INFO,NOTIFY,PRACK,MESSAGE
Via: SIP/2.0/UDP 88.190.40.67:5060;branch=z9hG4bK4f773a92
Supported: replaces,timer,100rel
Accept: application/sdp
Contact: {sip:88.162.197.193:5060}
Content-Length: 0

2002:9:8:12:25 SSMU: {— Message Received: Received from addr=88.190.40.67:5060, UDP
SIP/2.0 200 OK
Via: SIP/2.0/UDP 88.162.197.193:5060;branch=z9hG4bK-3d7b41c8-2978f5f3-45672f73;received=88.162.197.193
From: {sip:[email protected];transport=UDP};tag=1019f6f0-c1c5a258-13c4-3d7b3c10-60289e7-3d7b3c10
To: {sip:[email protected];transport=UDP};tag=as38b2d52c
Call-ID: 101abcf0-c1c5a258-13c4-3d7b3be7-4e9c5c2a-3d7b3be7
CSeq: 53 REGISTER
Server: FPBX-2.10.0(1.8.12.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Expires: 60
Contact: {sip:[email protected]:5060;transport=UDP};expires=60
Date: Thu, 17 May 2012 10:00:10 GMT
Content-Length: 0

2002:9:8:12:25 TCID 0: ON_HOOK

why don’t you spend $50, buy obi110 and save yourself hours of frustration caused by running proprietary hardware in unsupported mode ?

Problem was dialplan, I needed to change it with provision function, it works but still have problem with SIP/2.0 401 Unauthorized after few minuts (or couple of hours)