[asterisk-bugs] [JIRA] (ASTERISK-27079) PJSIP puts invalid data in SDP when using external_media_address

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Jul 3 19:14:58 CDT 2017


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

Rusty Newton updated ASTERISK-27079:
------------------------------------

    Description: 
I am getting an issue when SIP timers are turned on, could be related to use of external_signal_address

session_expires=1800 (30min)

According to my PCAP output:
* INVITE created for outbound call (session starts with timer set at 1800)
   * Correct SDP IP information is set
* 15 minutes in, new INVITE is send out
   * Correct SDP IP information is set
* Session timer expires (30 minutes), new INVITE is sent out
   * Garbage is set for SDP IP
   * Other side replies with 488 - Invalid SDP information
   * Call is terminated 15 minutes later by Asterisk

The invalid SDP:

{noformat}
INVITE sip:0410551660 at 202.10.4.137:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.237.181.230:5060;rport;branch=z9hG4bKPjdea05bde-0e5a-4bae-bc3d-79ca37a53680
From: <sip:0383708000 at 10.21.16.253>;tag=62136bf6-1bf5-494c-9a30-19cdc11e91b0
To: <sip:0410551660 at 202.10.4.137>;tag=97615
Contact: <sip:asterisk at 10.237.181.230:5060>
Call-ID: e22eb82b-b822-4c84-bb1b-8d045e9848c2
CSeq: 15537 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 120;refresher=uac
Min-SE: 90
Max-Forwards: 70
User-Agent: Asterisk PBX GIT-master-db5e269
Content-Type: application/sdp
Content-Length:   171

v=0
o=- 1615031026 1615031026 IN IP4 
{noformat}



  was:
I am getting an issue when SIP timers are turned on, could be related to use of external_signal_address

session_expires=1800 (30min)

According to my PCAP output:
* INVITE created for outbound call (session starts with timer set at 1800)
   * Correct SDP IP information is set
* 15 minutes in, new INVITE is send out
   * Correct SDP IP information is set
* Session timer expires (30 minutes), new INVITE is sent out
   * Garbage is set for SDP IP
   * Other side replies with 488 - Invalid SDP information
   * Call is terminated 15 minutes later by Asterisk





> PJSIP puts invalid data in SDP when using external_media_address
> ----------------------------------------------------------------
>
>                 Key: ASTERISK-27079
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27079
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: GIT
>         Environment: Debian 8.1, ESXi VM, 2 network interfaces
>            Reporter: snuffy
>            Assignee: Unassigned
>         Attachments: answer33.pcap, answer-debug22.pcap, answer-fail-5.pcap, answer-new11.pcap, ast-full-2min.log, my-test.log, pjsip-trimmed.conf
>
>
> I am getting an issue when SIP timers are turned on, could be related to use of external_signal_address
> session_expires=1800 (30min)
> According to my PCAP output:
> * INVITE created for outbound call (session starts with timer set at 1800)
>    * Correct SDP IP information is set
> * 15 minutes in, new INVITE is send out
>    * Correct SDP IP information is set
> * Session timer expires (30 minutes), new INVITE is sent out
>    * Garbage is set for SDP IP
>    * Other side replies with 488 - Invalid SDP information
>    * Call is terminated 15 minutes later by Asterisk
> The invalid SDP:
> {noformat}
> INVITE sip:0410551660 at 202.10.4.137:5060;transport=udp SIP/2.0
> Via: SIP/2.0/UDP 10.237.181.230:5060;rport;branch=z9hG4bKPjdea05bde-0e5a-4bae-bc3d-79ca37a53680
> From: <sip:0383708000 at 10.21.16.253>;tag=62136bf6-1bf5-494c-9a30-19cdc11e91b0
> To: <sip:0410551660 at 202.10.4.137>;tag=97615
> Contact: <sip:asterisk at 10.237.181.230:5060>
> Call-ID: e22eb82b-b822-4c84-bb1b-8d045e9848c2
> CSeq: 15537 INVITE
> Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
> Supported: 100rel, timer, replaces, norefersub
> Session-Expires: 120;refresher=uac
> Min-SE: 90
> Max-Forwards: 70
> User-Agent: Asterisk PBX GIT-master-db5e269
> Content-Type: application/sdp
> Content-Length:   171
> v=0
> o=- 1615031026 1615031026 IN IP4 
> {noformat}



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



More information about the asterisk-bugs mailing list