[asterisk-bugs] [JIRA] (ASTERISK-25986) chan_sip: Wrong request line with IMS and Proxy - Asterisk should be using loose routing, but it isn't?

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Mon May 16 13:36:56 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Mudgett updated ASTERISK-25986:
---------------------------------------

    Description: 
Follow on from issue ASTERISK-24509

If setting up a trunk to an IMS where the registrar is behind a P-CSCF and not reachable directly, after initial registration, all INVITE and OPTION messages use the proxy domain and not the registrar domain. These are ignored by the P-CSCF and timeout after defined retransmits.

FromDomain is set to REGISTRAR and used in FROM header, but proxy is used in Request-Line and To header.

OutboundProxy cannot be set to REGISTRAR as DNS fails.

Impact is that Outbound fails, and Inbound works until the registrar drops because of no keep-alives. Trunk is unusable.

X-Lite, and Telephone can both be configured to work correctly (i.e. use the correct domain in RequestLine and To:Header.

Registration is not an issue.

Registrar: ims.mnc010.mcc208.3gppnetwork.org
Proxy: internet.p-cscf.sfr.net

{noformat}
type=peer
secret=MYPASS
remotesecret=MYPASS
port=5064
outboundproxy=internet.p-cscf.sfr.net:5064,force
media_address=MYPUBLICIP
insecure=invite,port
host=ims.mnc010.mcc208.3gppnetwork.org
fromuser=+3399XXXXXXXXXX
fromdomain=ims.mnc010.mcc208.3gppnetwork.org
defaultuser=+3399XXXXXXXXXX at ims.mnc010.mcc208.3gppnetwork.org
context=from-trunk
canreinvite=no
auth=NDIXXXXXXXXXX.LIBERTALK at sfr.fr:MYPASS at ims.mnc010.mcc208.3gppnetwork.org
{noformat}


  was:
Follow on from issue Asterisk-24509

If setting up a trunk to an IMS where the registrar is behind a P-CSCF and not reachable directly, after initial registration, all INVITE and OPTION messages use the proxy domain and not the registrar domain. These are ignored by the P-CSCF and timeout after defined retransmits.

FromDomain is set to REGISTRAR and used in FROM header, but proxy is used in Request-Line and To header.

OutboundProxy cannot be set to REGISTRAR as DNS fails.

Impact is that Outbound fails, and Inbound works until the registrar drops because of no keep-alives. Trunk is unusable.

X-Lite, and Telephone can both be configured to work correctly (i.e. use the correct domain in RequestLine and To:Header.

Registration is not an issue.

Registrar: ims.mnc010.mcc208.3gppnetwork.org
Proxy: internet.p-cscf.sfr.net

{noformat}
type=peer
secret=MYPASS
remotesecret=MYPASS
port=5064
outboundproxy=internet.p-cscf.sfr.net:5064,force
media_address=MYPUBLICIP
insecure=invite,port
host=ims.mnc010.mcc208.3gppnetwork.org
fromuser=+3399XXXXXXXXXX
fromdomain=ims.mnc010.mcc208.3gppnetwork.org
defaultuser=+3399XXXXXXXXXX at ims.mnc010.mcc208.3gppnetwork.org
context=from-trunk
canreinvite=no
auth=NDIXXXXXXXXXX.LIBERTALK at sfr.fr:MYPASS at ims.mnc010.mcc208.3gppnetwork.org

{noformat}



> chan_sip: Wrong request line with IMS and Proxy - Asterisk should be using loose routing, but it isn't?
> -------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-25986
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25986
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.22.0-rc1, 13.8.2
>         Environment: RasPbx
>            Reporter: Steve Akerman
>         Attachments: Issue Log.txt
>
>
> Follow on from issue ASTERISK-24509
> If setting up a trunk to an IMS where the registrar is behind a P-CSCF and not reachable directly, after initial registration, all INVITE and OPTION messages use the proxy domain and not the registrar domain. These are ignored by the P-CSCF and timeout after defined retransmits.
> FromDomain is set to REGISTRAR and used in FROM header, but proxy is used in Request-Line and To header.
> OutboundProxy cannot be set to REGISTRAR as DNS fails.
> Impact is that Outbound fails, and Inbound works until the registrar drops because of no keep-alives. Trunk is unusable.
> X-Lite, and Telephone can both be configured to work correctly (i.e. use the correct domain in RequestLine and To:Header.
> Registration is not an issue.
> Registrar: ims.mnc010.mcc208.3gppnetwork.org
> Proxy: internet.p-cscf.sfr.net
> {noformat}
> type=peer
> secret=MYPASS
> remotesecret=MYPASS
> port=5064
> outboundproxy=internet.p-cscf.sfr.net:5064,force
> media_address=MYPUBLICIP
> insecure=invite,port
> host=ims.mnc010.mcc208.3gppnetwork.org
> fromuser=+3399XXXXXXXXXX
> fromdomain=ims.mnc010.mcc208.3gppnetwork.org
> defaultuser=+3399XXXXXXXXXX at ims.mnc010.mcc208.3gppnetwork.org
> context=from-trunk
> canreinvite=no
> auth=NDIXXXXXXXXXX.LIBERTALK at sfr.fr:MYPASS at ims.mnc010.mcc208.3gppnetwork.org
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list