[Freeswitch-users] Record-routes in NOTIFY

Ram raman.chv at gmail.com
Tue Jun 13 08:35:26 UTC 2017


Hi,

Record routes in SUBSCRIBE is not honored in NOTIFY, In my case i am having
3 record routes in SUBSCRIBE, but only one i.e top record route is used for
NOTIFY is causing routing issue. I am using freeswitch version 1.6.17 for
testing.

Following is the trace for SUBSCRIBE and NOTIFY at freeswitch.

T 2017/06/13 08:20:14.868294 10.1.30.27:55503 -> 10.2.30.63:5060 [AP]
SUBSCRIBE sip:500 at 52.64.221.219:5060;transport=tcp SIP/2.0
Record-Route: <sip:10.1.30.27:5060;transport=tcp;ftag=46baee66;lr>
Record-Route: <sip:10.1.30.174;transport=tcp;r2=on;lr=on>
Record-Route: <sip:10.1.30.178:5061;transport=tls;r2=on;lr=on>
Via: SIP/2.0/TCP
10.1.30.199;branch=z9hG4bKc038.62a9c22ab84694b453503a45210a1392.0;i=1
Via: SIP/2.0/TCP
10.1.30.174;branch=z9hG4bKc038.8d466a0ae4f1821a3f0d08e6602cdadc.0;i=82
Via: SIP/2.0/TLS 10.1.30.146:51890
;received=10.1.30.146;rport=51890;branch=z9hG4bKd1633fda00007
From: "RamanTest"<sip:ramantest at freeconf.com>;tag=46baee66
To: "sip:500 at freeconf.com"<sip:500 at freeconf.com
;transport=tls>;tag=pv4B8Q9XUDtgD
Call-ID: 2d118609-1 at 10.1.30.180
CSeq: 1805684444 SUBSCRIBE
Max-Forwards: 69
Contact: "RamanTest"<sip:ramantest at 10.1.30.146:51890;transport=tls>
User-Agent: TestConference
Event: conference
Expires: 3600
Allow:
INVITE,ACK,BYE,CANCEL,REFER,NOTIFY,OPTIONS,PRACK,UPDATE,INFO,MESSAGE,SUBSCRIBE,PUBLISH
Allow-Events: refer, presence
Supported: replaces, timer, gruu, join
Date: Tue, 13 Jun 2017 08:24:00 GMT
Content-Length: 0


##
T 2017/06/13 08:20:14.873026 10.2.30.63:5060 -> 10.1.30.27:55503 [AP]
SIP/2.0 202 Accepted
Via: SIP/2.0/TCP
10.1.30.199;branch=z9hG4bKc038.62a9c22ab84694b453503a45210a1392.0;i=1;received=10.1.30.27;rport=55503
Via: SIP/2.0/TCP
10.1.30.174;branch=z9hG4bKc038.8d466a0ae4f1821a3f0d08e6602cdadc.0;i=82
Via: SIP/2.0/TLS 10.1.30.146:51890
;received=10.1.30.146;rport=51890;branch=z9hG4bKd1633fda00007
Record-Route: <sip:10.1.30.27:5060;transport=tcp;ftag=46baee66;lr>
Record-Route: <sip:10.1.30.174;transport=tcp;r2=on;lr=on>
Record-Route: <sip:10.1.30.178:5061;transport=tls;r2=on;lr=on>
From: "RamanTest" <sip:ramantest at freeconf.com>;tag=46baee66
To: "sip:500 at freeconf.com" <sip:500 at freeconf.com
;transport=tls>;tag=pv4B8Q9XUDtgD
Call-ID: 2d118609-1 at 10.1.30.180
CSeq: 1805684444 SUBSCRIBE
Contact: <sip:500 at 52.64.221.219:5060;transport=tcp>
Expires: 3600
User-Agent: FreeSWITCH-mod_sofia/1.6.17~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog,
line-seize, call-info, sla, include-session-description, presence.winfo,
message-summary, refer
Subscription-State: active;expires=3600
Content-Length: 0


####
T 2017/06/13 08:20:15.173591 10.2.30.63:58879 -> 10.1.30.27:5060 [AP]
NOTIFY sip:ramantest at 10.1.30.146:51890;transport=tls SIP/2.0
Via: SIP/2.0/TCP 52.64.221.219;rport;branch=z9hG4bKvr9Kyp8Fe829g
Route: <sip:10.1.30.27:5060>;transport=tcp;ftag=46baee66;lr
Record-Route: <sip:10.1.30.27:5060>;transport=tcp;ftag=46baee66;lr
Max-Forwards: 70
From: "sip:500 at freeconf.com" <sip:500 at freeconf.com
;transport=tls>;tag=pv4B8Q9XUDtgD;tag=pv4B8Q9XUDtgD
To: "RamanTest" <sip:ramantest at freeconf.com>;tag=46baee66
Call-ID: 2d118609-1 at 10.1.30.180
CSeq: 705660701 NOTIFY
Contact: <sip:500 at 52.64.221.219:5060;transport=tcp>;isfocus
User-Agent: FreeSWITCH-mod_sofia/1.6.17~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Event: conference
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog,
line-seize, call-info, sla, include-session-description, presence.winfo,
message-summary, refer
Subscription-State: active;expires=3600
Content-Type: application/conference-info+xml
Content-Length: 1028

<?xml version="1.0"?>
<conference-info version="1" state="full"
xmlns="urn:ietf:params:xml:ns:conference-info" entity="sip:500 at freeconf.com
">
  <conference-description>
    <display-text>FreeSWITCH Conference</display-text>
    <conf-uris>
      <entry>
        <uri>sip:500 at freeconf.com</uri>
      </entry>
    </conf-uris>
  </conference-description>
  <conference-state>
    <user-count>1</user-count>
    <active>true</active>
  </conference-state>
  <users>
    <user state="full" entity="sip:ramantest at freeconf.com">
      <display-text>RamanTest</display-text>
      <endpoint entity="sip:ramantest at freeconf.com">
        <display-text>RamanTest</display-text>
        <status>connected</status>
        <joining-info>
          <when>2017-06-13T08:20:13+00:00</when>
        </joining-info>
        <media id="2a">
          <type>audio</type>
          <src-id>4048072604</src-id>
          <status>sendrecv</status>
        </media>
      </endpoint>
    </user>
  </users>
</conference-info>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170613/82a15c28/attachment.html>


More information about the FreeSWITCH-users mailing list