06-21-2013 01:09 AM - edited 03-21-2019 07:29 AM
Good morning
I need to configure a SIP trunk between a UC560 and Asterisk.
I have already set up the Asterisk Trunk, routes incoming and outgoing calls.
At the moment all SIP calls proventienti dall'Asterisk and directed to the UC560 work regularly.
I have some problems on calls from dall'UC560 directed to Asterisk.
UC tells me that "The Number you have dialed is not in service"
I have enabled debugging on Asterisk SIP and I noticed the following:
pbxpi * CLI>
<--- SIP read from UDP :/ / 192.168.0.227:57446 --->
ACK sip: 701@192.168.0.230: 5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.227:5060; branch = z9hG4bK57231F
From: "UC Extension" <sip:311@192.168.0.230>; tag = 1F7C8C-16B
To: <sip:801@192.168.0.230>; tag = as707a2df5
Date: Fri, 21 Apr 2013 07:39:38 GMT
Call-ID: 8F6EE81A-D97C11E2-8065DF0E-CD1EB93@192.168.35.227
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Content-Length: 0
The problem seems to be that, typing 801 on a phone connected to the UC560 the "To" field contains "@192.168.0.230" (which is the IP address of the UC)
Unlike a SIP call made by a PC connected to UC560 with SotPhone attested to Asterisk I note the following:
<--- SIP read from UDP :/ / 192.168.10.12:5070 --->
ACK sip: SIP/2.0 301@192.168.0.230
Via: SIP/2.0/UDP 192.168.10.12:5070; rport; branch = z9hG4bK2932784
To: <sip:301@192.168.0.230>; tag = as59a60f05
From: "SoftPhone" <sip:701@192.168.0.230>; tag = 7185
Call-ID: 1371751226-2784-COMPUTER-NAME@5.98.211.178
CSeq: 457 ACK
Max-Forwards: 20
User-Agent: NCH Software Express Talk 4.28
Authorization: Digest
Content-Length: 0
The Field "To" is properly compiled!!! Can you give me some guidance to solve the problem?
Thank you very much in advance
Solved! Go to Solution.
06-21-2013 03:11 AM
Under sip-ua, configure sip-server with the 3rd party address, not the UC address.
Also registrar (if used) should be another system address, not local.
06-21-2013 02:28 AM
Post UC500 configuration.
06-21-2013 02:47 AM
06-21-2013 03:11 AM
Under sip-ua, configure sip-server with the 3rd party address, not the UC address.
Also registrar (if used) should be another system address, not local.
06-21-2013 07:01 AM
Thanks a Lot!
06-21-2013 07:03 AM
Thank you for the nice rating and good luck!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide