[Home]

Summary:ASTERISK-24509: Wrong request Line with my ISP Sip Trunk
Reporter:Filipe (red_hot)Labels:
Date Opened:2014-11-08 14:51:31.000-0600Date Closed:2014-11-26 15:01:58.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:11.13.0 Frequency of
Occurrence
Related
Issues:
duplicatesASTERISK-25986 chan_sip: Wrong request line with IMS and Proxy - Asterisk should be using loose routing, but it isn't?
Environment:Attachments:
Description:I'm trying to configure my ISP sip trunk as follows:
{noformat}
insecure=invite,port
fromdomain=ims.domain.xxx
host=ims.domain.xxx
outboundproxy=proxy.ims.domain.xxx
username=MYUSER
type=peer
t38pt_udptl=yes
secret=MYSECRET
registername=MYREGISTERNAME
port=5060
fromuser=MYNUMBER
from=MYNUMBER
dtmfmode=rfc2833
disallow=all
allow=ulaw&alaw
context=from-trunk
canreinvite=no
call-limit=2
authname=MYNUMBER
nat=yes
{noformat}

Register String:
{noformat}
+XXXXXXXXXX@ims.domain.xxx:MYPASSWORD@proxy.ims.domain.xxx/+XXXXXXXXXX
{noformat}
So I'm registered ok on my ISP sip trunk. Problem: I can't make outbound calls.

If I change host= to ims.domain.xxx I can make outbound calls but I can't receive inbound calls. If I change host= to proxy.ims.domain.xxx I can receive inbound calls but I can't make outbound calls.

I did some research with wireshark and found that with my current config I get
{noformat}
Request-Line: INVITE sip:XXXXX@proxy.ims.domain.xxx:5060 SIP/2.0
{noformat}
BUT I should get:
{noformat}
Request-Line: INVITE sip:XXXXX@ims.domain.xxx:5060 SIP/2.0
{noformat}

I tried to configure my SIP trunk directly on my X-lite softphone and I can make outbound calls and receive inbound calls and it originates correct request-line:
{noformat}
Request-Line: INVITE sip:XXXXX@ims.domain.xxx:5060 SIP/2.0
{noformat}
Comments:By: Rusty Newton (rnewton) 2014-11-10 17:16:07.332-0600

This sounds like a support request and not a bug report.

What happens when you change {{outboundproxy}} to ims.domain.xxx instead of proxy.ims.domain.xxx?

Please attach a full log in .txt with your reply. (use More > Attach Files)

Follow the instructions here: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information and leave out the DEBUG channel, but be sure to use "sip set debug on" so we can see the trace.

Press Enter Feedback or Send Back when replying.

By: Rusty Newton (rnewton) 2014-11-26 15:02:16.917-0600

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines



By: Steve Akerman (stevenA) 2016-05-02 16:25:34.846-0500

This issue remains current.  I would like to reopen it and can provide required debug. It is a particular issue if the IMS FQDN is not public.