[asterisk-bugs] [JIRA] (ASTERISK-25316) PJSIP qualify in mutlihomed system sent from wrong transport

Alex Sinitsyn (JIRA) noreply at issues.asterisk.org
Thu Aug 13 22:14:32 CDT 2015


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

Alex Sinitsyn updated ASTERISK-25316:
-------------------------------------

    Attachment: debuissu

debug log attached

> PJSIP qualify in mutlihomed system sent from wrong transport
> ------------------------------------------------------------
>
>                 Key: ASTERISK-25316
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25316
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.2.0, 13.5.0
>         Environment: Centos 6.6
> Linux telegk12.6.32-504.8.1.el6.x86_64 #1 SMP Wed Jan 28 21:11:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Alex Sinitsyn
>         Attachments: debuissu
>
>
> If qualify for endpoint enabled, chan_pjsip sent OPTIONS request to endpoint from last registered transport, but not from transport associated with endpoint.
> {noformat}
> telegk1*CLI> pjsip show transports
> Transport:  <TransportId........>  <Type>  <cos>  <tos>  <BindAddress....................>
>  =========================================================================================
> Transport:  system-tcp-wan            tcp      0      0  195.XX.XXX.194:5060
> Transport:  system-udp-lan            udp      0      0  10.123.190.2:5060
> Transport:  system-udp-wan            udp      0      0  195.XXX.XXX.194:5060
> Transport:  zettatrans                udp      0      0  10.123.190.2:5061
> {noformat}
> zettatrans -- last transport in config. 
> 1106d endpoint use system-udp-wan transport.
> {noformat}
> telegk1*CLI> pjsip show endpoint 1106d 
>  <skip header>
>  Endpoint:  1106d/1106                                           Unavailable   0 of inf
>      InAuth:  1106dauth/1106d
>         Aor:  1106d                                              1
>       Contact:  1106d/sip:1106d at 109.197.29.XXX:5060               Unavail             0.000
>   Transport:  system-udp-wan            udp      0      0  195.XXX.XXX.194:5060
> {noformat}
> vlan800 -- interface with address 195.XXX.XXX.194.
> vlan800   Link encap:Ethernet  HWaddr 00:1E:0B:DD:00:0C  
>           inet addr:195.XXX.XXX.194  Bcast:0.0.0.0  Mask:255.255.255.252
> I see, with tcpdump -pni vlan800 -vvvv, that OPTIONS request sent from zettatrans transport:
> {noformat}
> 08:26:41.948013 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 516)
>     10.123.190.2.5061 > 109.197.29.XXX.5060: [bad udp cksum 5218!] SIP, length: 488
> 	OPTIONS sip:1106d at 109.197.29.XXX:5060 SIP/2.0
> {noformat}



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



More information about the asterisk-bugs mailing list