PDA

View Full Version : Problem configuring VOIP Carrier on a Quadro 4xi



swenz
07-11-2008, 11:01 AM
Hi everyone,

We have configured the Quadro 4xi to work with VOIP Carrier. The problem reside with incoming calls, with all external calls we get the standard vocal message "this number is not valid" (this message does not come from the Quadro!).

The connection status is registered with SIP (voipgateway.org), the Quadro who also does PPPOE routing is directly connected to the internet via a adsl modem.

Boot loader: 3.0.32/ReleaseFirmware Version: 4.1.58/Release

Please check out the log below:

***************************** SIP message buffer start *****************************
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.9.9.110;branch=z9hG4bKS5ycDK6k7kMPFGDT8Zf
To: <sip:raphael@10.9.9.1>
From: <sip:raphael@10.9.9.1>;tag=jxpM8n9
CSeq: 69826 REGISTER
Call-ID: gdICDF6IrBLeLzAsuRf9dLdeVN
Contact: <sip:raphael@10.9.9.110;transport=UDP>
Expires: 600
Server: Epygi Quadro SIP User Agent/v4.1.58 (QUADRO-4X/16X)
Content-Length: 0

***************************** SIP message buffer end ******************************

16:34:07 Registering user 41325115114 on server voipgateway.org
16:34:07 Try to send SIP message # (11/07/2008 14:34:07:247 GMT) # UDP # 649 bytes # from: 83.76.108.140:5060 # to: 212.117.200.148:5060

***************************** SIP message buffer start *****************************
REGISTER sip:voipgateway.org SIP/2.0
Via: SIP/2.0/UDP 83.76.108.140:5060;rport;branch=z9hG4bKEPSVBUS4b30 7006-3546-4141-b198-b74af975be25
To: "0325115114 (added by VoIP Carrier Wizard)" <sip:41325115114@voipgateway.org>
From: "0325115114 (added by VoIP Carrier Wizard)" <sip:41325115114@voipgateway.org>;tag=1215706253665e560c-e22f-407f-a261-07ee5fe089b2
CSeq: 6 REGISTER
Call-ID: 64be47ed-e7b0-408b-8eb8-e8f05a49f6e4@quadro.ntek.local
Contact: "0325115114 (added by VoIP Carrier Wizard)" <sip:41325115114@83.76.108.140:5060>;expires=3600
User-Agent: Epygi Quadro SIP User Agent/v4.1.58 (QUADRO-4X/16X)
Max-Forwards: 70
Content-Length: 0

***************************** SIP message buffer end ******************************

16:34:07 Receive SIP message # (11/07/2008 14:34:07:275 GMT) # UDP # 648 bytes # from: 212.117.200.148:5060 # to: 83.76.108.140:5060

***************************** SIP message buffer start *****************************
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 83.76.108.140:5060;rport=5060;branch=z9hG4bKEPSVBU S4b307006-3546-4141-b198-b74af975be25
To: "0325115114 (added by VoIP Carrier Wizard)" <sip:41325115114@voipgateway.org>;tag=ae6df1c1af36443e2e31c70c67056cf2-7014
From: "0325115114 (added by VoIP Carrier Wizard)" <sip:41325115114@voipgateway.org>;tag=1215706253665e560c-e22f-407f-a261-07ee5fe089b2
CSeq: 6 REGISTER
Call-ID: 64be47ed-e7b0-408b-8eb8-e8f05a49f6e4@quadro.ntek.local
WWW-Authenticate: Digest realm="voipgateway.org", nonce="4877708b808f6e2b6f9ee7971a561e8751b685f2"
Server: Sip EXpress router (0.9.6 (i386/freebsd))
Content-Length: 0

***************************** SIP message buffer end ******************************

16:34:07 Got 401 response, try to authenticate message # OID: 1778
16:34:07 Try to send SIP message # (11/07/2008 14:34:07:284 GMT) # UDP # 838 bytes # from: 83.76.108.140:5060 # to: 212.117.200.148:5060

***************************** SIP message buffer start *****************************
REGISTER sip:voipgateway.org SIP/2.0
Via: SIP/2.0/UDP 83.76.108.140:5060;rport;branch=z9hG4bKEPSVBUS0af7 0c99-da9d-44af-8b55-af5786a80c50
To: "0325115114 (added by VoIP Carrier Wizard)" <sip:41325115114@voipgateway.org>
From: "0325115114 (added by VoIP Carrier Wizard)" <sip:41325115114@voipgateway.org>;tag=1215706253665e560c-e22f-407f-a261-07ee5fe089b2
CSeq: 7 REGISTER
Call-ID: 64be47ed-e7b0-408b-8eb8-e8f05a49f6e4@quadro.ntek.local
Contact: "0325115114 (added by VoIP Carrier Wizard)" <sip:41325115114@83.76.108.140:5060>;expires=3600
User-Agent: Epygi Quadro SIP User Agent/v4.1.58 (QUADRO-4X/16X)
Max-Forwards: 70
Authorization: Digest realm="voipgateway.org",nonce="4877708b808f6e2b6f9ee7971a561e8751b685f2",username="41325115114",uri="sip:voipgateway.org",response="c53ba42fe701fdda8903ca06c1a0955d"
Content-Length: 0

***************************** SIP message buffer end ******************************

davrays
07-14-2008, 07:53 AM
Hello swenz,

it will be more interesting to look at the SIP UA call logs (instead of registration logs), as you told the registration was successful..
Do you see incoming call in the Quadro logs when calling in to thi account?

swenz
07-21-2008, 08:16 AM
Hello swenz,

it will be more interesting to look at the SIP UA call logs (instead of registration logs), as you told the registration was successful..
Do you see incoming call in the Quadro logs when calling in to thi account?

Ok, Where is the SIP UA call logs ? / (The path)

swenz
07-21-2008, 08:30 AM
Ok i've found out the logs:

14:12:13 UA --> CM # ReportError # Error: Negotiation # Sip error: 487 # SID: 0
14:12:13 Try to send SIP message # (21/07/2008 12:12:13:424 GMT) # UDP # 479 bytes # from: 10.9.9.1:5060 # to: 10.9.9.110:5060

***************************** SIP message buffer start *****************************
ACK sip:sebastien@10.9.9.110 SIP/2.0
Via: SIP/2.0/UDP 10.9.9.1:5060;rport;branch=z9hG4bKEPSVBUSf9678fcb-fc41-4125-b820-b75bad571b83
To: <sip:sebastien@10.9.9.1>;tag=yOvv8rdfMVK
From: "0797762061" <sip:0797762061@10.9.9.1>;tag=12157951213a704602-179f-496a-95c3-cd375fff9f5d
CSeq: 961 ACK
Call-ID: 37292247548709525_6af2e423-8e52-4696-b7e0-652431f5e284@quadro.ntek.local
User-Agent: Epygi Quadro SIP User Agent/v4.1.58 (QUADRO-4X/16X)
Max-Forwards: 70
Content-Length: 0

***************************** SIP message buffer end ******************************

14:12:13 CM --> UA # OnCloseCall # OID: 41156 # SID: 37292247548737470
14:12:13 Try to send SIP message # (21/07/2008 12:12:13:447 GMT) # UDP # 459 bytes # from: 10.9.9.1:5060 # to: 10.9.9.110:5060

***************************** SIP message buffer start *****************************
CANCEL sip:magasin@10.9.9.110 SIP/2.0
Via: SIP/2.0/UDP 10.9.9.1:5060;branch=z9hG4bKEPSVBUSad714576-7d48-4a57-be6e-ef86469206c9
To: <sip:magasin@10.9.9.1>
From: "0797762061" <sip:0797762061@10.9.9.1>;tag=1215795121c78a4963-dbb2-4715-a65c-a4919ae40f42
CSeq: 702 CANCEL
Call-ID: 37292247548737470_8480583d-1d38-4b63-8a76-130ac8e0a632@quadro.ntek.local
User-Agent: Epygi Quadro SIP User Agent/v4.1.58 (QUADRO-4X/16X)
Max-Forwards: 70
Content-Length: 0

***************************** SIP message buffer end ******************************

14:12:13 Receive SIP message # (21/07/2008 12:12:13:459 GMT) # UDP # 431 bytes # from: 10.9.9.110:5060 # to: 10.9.9.1:5060

***************************** SIP message buffer start *****************************
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.9.9.1;branch=z9hG4bKEPSVBUSad714576-7d48-4a57-be6e-ef86469206c9
Max-Forwards: 70
From: "0797762061" <sip:0797762061@10.9.9.1>;tag=1215795121c78a4963-dbb2-4715-a65c-a4919ae40f42
To: <sip:magasin@10.9.9.1>
Call-ID: 37292247548737470_8480583d-1d38-4b63-8a76-130ac8e0a632@quadro.ntek.local
CSeq: 702 CANCEL
User-Agent: Epygi Quadro SIP User Agent/v4.1.58 (QUADRO-4X/16X)
Content-Length: 0

***************************** SIP message buffer end ******************************

14:12:13 Receive SIP message # (21/07/2008 12:12:13:468 GMT) # UDP # 405 bytes # from: 10.9.9.110:5060 # to: 10.9.9.1:5060

***************************** SIP message buffer start *****************************
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 10.9.9.1;rport=5060;branch=z9hG4bKEPSVBUSad714576-7d48-4a57-be6e-ef86469206c9
Max-Forwards: 70
From: "0797762061" <sip:0797762061@10.9.9.1>;tag=1215795121c78a4963-dbb2-4715-a65c-a4919ae40f42
To: <sip:magasin@10.9.9.1>;tag=tC2TbNw
Call-ID: 37292247548737470_8480583d-1d38-4b63-8a76-130ac8e0a632@quadro.ntek.local
CSeq: 702 INVITE
Content-Length: 0

***************************** SIP message buffer end ******************************

14:12:13 UA --> CM # ReportError # Error: Negotiation # Sip error: 487 # SID: 0
14:12:13 Try to send SIP message # (21/07/2008 12:12:13:474 GMT) # UDP # 471 bytes # from: 10.9.9.1:5060 # to: 10.9.9.110:5060

***************************** SIP message buffer start *****************************
ACK sip:magasin@10.9.9.110 SIP/2.0
Via: SIP/2.0/UDP 10.9.9.1:5060;rport;branch=z9hG4bKEPSVBUSad714576-7d48-4a57-be6e-ef86469206c9
To: <sip:magasin@10.9.9.1>;tag=tC2TbNw
From: "0797762061" <sip:0797762061@10.9.9.1>;tag=1215795121c78a4963-dbb2-4715-a65c-a4919ae40f42
CSeq: 702 ACK
Call-ID: 37292247548737470_8480583d-1d38-4b63-8a76-130ac8e0a632@quadro.ntek.local
User-Agent: Epygi Quadro SIP User Agent/v4.1.58 (QUADRO-4X/16X)
Max-Forwards: 70
Content-Length: 0

***************************** SIP message buffer end ******************************

14:25:13 Receive SIP message # (21/07/2008 12:25:13:144 GMT) # UDP # 1233 bytes # from: 212.117.200.148:5060 # to: 83.77.67.15:5060

***************************** SIP message buffer start *****************************
INVITE sip:41325115114@83.77.67.15:5060 SIP/2.0
Record-Route: <sip:212.117.200.148;ftag=a2f7f20d66d0d740eb4ab0edc 72c6c7d;lr>
Via: SIP/2.0/UDP 212.117.200.148;branch=z9hG4bK4b17.67276ba703c7ce9 c5839a524859e21f8.0
Via: SIP/2.0/UDP 212.117.200.148:5061;branch=z9hG4bK00f07efa7eabd9c 6c0433961a235849a;rport=5061
Max-Forwards: 16
From: <sip:0797762061@212.117.200.148>;tag=a2f7f20d66d0d740eb4ab0edc72c6c7d
To: <sip:41325115114@212.117.200.148>
Call-ID: E51033C6-565611DD-B467EA9F-DB957415@212.117.200.79~1o
CSeq: 200 INVITE
Contact: Anonymous <sip:212.117.200.148:5061>
Expires: 300
User-Agent: Sippy
cisco-GUID: 3842604253-1448481245-2429550612-1766112306
h323-conf-id: 3842604253-1448481245-2429550612-1766112306
Content-disposition: session
Content-Length: 425
Content-Type: application/sdp

v=0
o=Sippy 153903500 0 IN IP4 212.117.200.148
s=SIP Call
t=0 0
m=audio 17664 RTP/AVP 0 8 18 2 98 99 3 100 101
c=IN IP4 212.117.200.79
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:2 G726-32/8000
a=rtpmap:98 G726-24/8000
a=rtpmap:99 G726-16/8000
a=rtpmap:3 GSM/8000
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
***************************** SIP message buffer end ******************************

14:25:13 Try to send SIP message # (21/07/2008 12:25:13:148 GMT) # UDP # 424 bytes # from: 83.77.67.15:5060 # to: 212.117.200.148:5060

***************************** SIP message buffer start *****************************
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 212.117.200.148;branch=z9hG4bK4b17.67276ba703c7ce9 c5839a524859e21f8.0
Via: SIP/2.0/UDP 212.117.200.148:5061;branch=z9hG4bK00f07efa7eabd9c 6c0433961a235849a;rport=5061
To: <sip:41325115114@212.117.200.148>
From: <sip:0797762061@212.117.200.148>;tag=a2f7f20d66d0d740eb4ab0edc72c6c7d
CSeq: 200 INVITE
Call-ID: E51033C6-565611DD-B467EA9F-DB957415@212.117.200.79~1o
Content-Length: 0

***************************** SIP message buffer end ******************************

14:25:13 UA --> CM # MakeCall # from: 0797762061@212.117.200.148:, to: 41325115114, child: (empty), media exist, GUID: (empty) # ContactInfo: 212.117.200.148 # SID: 5225442381238782948
14:25:13 CM --> UA # OnReportError # Error: UserNotFound # SIP error: 0 # OID: 41228 # SID: 5225442381238782948
14:25:13 Try to send SIP message # (21/07/2008 12:25:13:211 GMT) # UDP # 539 bytes # from: 83.77.67.15:5060 # to: 212.117.200.148:5060

***************************** SIP message buffer start *****************************
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 212.117.200.148;branch=z9hG4bK4b17.67276ba703c7ce9 c5839a524859e21f8.0
Via: SIP/2.0/UDP 212.117.200.148:5061;branch=z9hG4bK00f07efa7eabd9c 6c0433961a235849a;rport=5061
To: <sip:41325115114@212.117.200.148>;tag=12157951219f66cefb-17bb-47b2-bd67-91ac2f11194c
From: <sip:0797762061@212.117.200.148>;tag=a2f7f20d66d0d740eb4ab0edc72c6c7d
CSeq: 200 INVITE
Call-ID: E51033C6-565611DD-B467EA9F-DB957415@212.117.200.79~1o
Server: Epygi Quadro SIP User Agent/v4.1.58 (QUADRO-4X/16X)
Content-Length: 0

***************************** SIP message buffer end ******************************

14:25:13 Receive SIP message # (21/07/2008 12:25:13:249 GMT) # UDP # 456 bytes # from: 212.117.200.148:5060 # to: 83.77.67.15:5060

***************************** SIP message buffer start *****************************
ACK sip:41325115114@83.77.67.15:5060 SIP/2.0
Via: SIP/2.0/UDP 212.117.200.148;branch=z9hG4bK4b17.67276ba703c7ce9 c5839a524859e21f8.0
From: <sip:0797762061@212.117.200.148>;tag=a2f7f20d66d0d740eb4ab0edc72c6c7d
Call-ID: E51033C6-565611DD-B467EA9F-DB957415@212.117.200.79~1o
To: <sip:41325115114@212.117.200.148>;tag=12157951219f66cefb-17bb-47b2-bd67-91ac2f11194c
CSeq: 200 ACK
User-Agent: Sip EXpress router (0.9.6 (i386/freebsd))
Content-Length: 0

***************************** SIP message buffer end ******************************

davrays
07-23-2008, 11:55 AM
The system cannot find the number dialed: 41325115114.
Is it configured as a username on any of the extensions? Do you have "Route all incoming SIP calls to Call Routing" checkbox set?

swenz
07-24-2008, 09:17 AM
The system cannot find the number dialed: 41325115114.
Is it configured as a username on any of the extensions? Do you have "Route all incoming SIP calls to Call Routing" checkbox set?

Route all incoming SIP calls to Call Routing is checked "ON"

And there is an extention with the username 41325115114 in SIP Registration Settings with extention N° 99



You can see my routing table:
http://www.ntek.ch/temp/epygiforum/quadrorouting.jpg

And I have the same problem with my local asterisk server


And my extentions table:
http://www.ntek.ch/temp/epygiforum/quadroextentions.jpg

davrays
07-24-2008, 11:15 AM
So everything is clear. Please uncheck the "Route all incoming SIP calls to Call Routing" if you don't have special purpose for checking that ON. This will solve your problem. If you need that checkbox to be ON by some reason (though I doubt it is the case), you can add a special routing rule with pattern 41325115114, which directs the call to ext.99.

Best regards,
David

P.S. A little bit of theory: if you check that box ON, the system will try to find the target only in Call Routing table. As you have no rule matching the 41325115114 number, the incoming call will be rejected. Howeven, if you unckeck that box, system will try to find the called username in Extension table, and then if there is no such user, will look in the Routing Table. I suppose this should be described in Manuals, but not sure how clear it is described there...

swenz
07-24-2008, 12:09 PM
thank you very much for this great support, I will advise your product to my customers :)

davrays
07-25-2008, 10:44 AM
You are welcome :)
Looks like this checkbox confuses people.. Probably we need to change its name, for the purpose of that to be more understandable, so it will bring to less confusions. Suggestions are welcome :)