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

Alex Sinitsyn (JIRA) noreply at issues.asterisk.org
Wed Aug 12 00:55:33 CDT 2015


Alex Sinitsyn created ASTERISK-25316:
----------------------------------------

             Summary: 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.5.0, 13.2.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


If qualify for endpoint enabled, chan_pjsip sent OPTIONS request to endpoint from last registered transport, but not from transport associated with endpoint.

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

zettatrans -- last transport in config. 

1106d endpoint use system-udp-wan transport.
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

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:

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



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



More information about the asterisk-bugs mailing list