[asterisk-bugs] [JIRA] (ASTERISK-24509) Wrong request Line with my ISP Sip Trunk
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Mon Nov 10 17:06:30 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rusty Newton updated ASTERISK-24509:
------------------------------------
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 at ims.domain.xxx:MYPASSWORD at 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 at proxy.ims.domain.xxx:5060 SIP/2.0
{noformat}
BUT I should get:
{noformat}
Request-Line: INVITE sip:XXXXX at 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 at ims.domain.xxx:5060 SIP/2.0
{noformat}
was:
I'm trying to configure my ISP sip trunk as follows:
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
Register String:
+XXXXXXXXXX at ims.domain.xxx:MYPASSWORD at proxy.ims.domain.xxx/+XXXXXXXXXX
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
Request-Line: INVITE sip:XXXXX at proxy.ims.domain.xxx:5060 SIP/2.0
BUT I should get:
Request-Line: INVITE sip:XXXXX at ims.domain.xxx:5060 SIP/2.0
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:
Request-Line: INVITE sip:XXXXX at ims.domain.xxx:5060 SIP/2.0
> Wrong request Line with my ISP Sip Trunk
> ----------------------------------------
>
> Key: ASTERISK-24509
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24509
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 11.13.0
> Reporter: Filipe
>
> 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 at ims.domain.xxx:MYPASSWORD at 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 at proxy.ims.domain.xxx:5060 SIP/2.0
> {noformat}
> BUT I should get:
> {noformat}
> Request-Line: INVITE sip:XXXXX at 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 at ims.domain.xxx:5060 SIP/2.0
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list