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@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@freeconf.com>;tag=46baee66 To: "sip:500@freeconf.com"<sip:500@freeconf.com ;transport=tls>;tag=pv4B8Q9XUDtgD Call-ID: 2d118609-1@10.1.30.180 CSeq: 1805684444 SUBSCRIBE Max-Forwards: 69 Contact: "RamanTest"<sip:ramantest@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@freeconf.com>;tag=46baee66 To: "sip:500@freeconf.com" <sip:500@freeconf.com ;transport=tls>;tag=pv4B8Q9XUDtgD Call-ID: 2d118609-1@10.1.30.180 CSeq: 1805684444 SUBSCRIBE Contact: <sip:500@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@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@freeconf.com" <sip:500@freeconf.com ;transport=tls>;tag=pv4B8Q9XUDtgD;tag=pv4B8Q9XUDtgD To: "RamanTest" <sip:ramantest@freeconf.com>;tag=46baee66 Call-ID: 2d118609-1@10.1.30.180 CSeq: 705660701 NOTIFY Contact: <sip:500@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@freeconf.com "> <conference-description> <display-text>FreeSWITCH Conference</display-text> <conf-uris> <entry> <uri>sip:500@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@freeconf.com"> <display-text>RamanTest</display-text> <endpoint entity="sip:ramantest@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>
Any bug reports belong on JIRA, https://freeswitch.org/confluence/display/FREESWITCH/Reporting+Bugs+to+JIRA Thanks, On Tue, Jun 13, 2017 at 3:35 AM, Ram <raman.chv@gmail.com> wrote:
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@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@freeconf.com>;tag=46baee66 To: "sip:500@freeconf.com"<sip:500@freeconf.com;transport= tls>;tag=pv4B8Q9XUDtgD Call-ID: 2d118609-1@10.1.30.180 CSeq: 1805684444 SUBSCRIBE Max-Forwards: 69 Contact: "RamanTest"<sip:ramantest@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@freeconf.com>;tag=46baee66 To: "sip:500@freeconf.com" <sip:500@freeconf.com;transport=tls>;tag= pv4B8Q9XUDtgD Call-ID: 2d118609-1@10.1.30.180 CSeq: 1805684444 SUBSCRIBE Contact: <sip:500@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@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@freeconf.com" <sip:500@freeconf.com;transport=tls>;tag= pv4B8Q9XUDtgD;tag=pv4B8Q9XUDtgD To: "RamanTest" <sip:ramantest@freeconf.com>;tag=46baee66 Call-ID: 2d118609-1@10.1.30.180 CSeq: 705660701 NOTIFY Contact: <sip:500@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@freeconf.com"> <conference-description> <display-text>FreeSWITCH Conference</display-text> <conf-uris> <entry> <uri>sip:500@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@freeconf.com"> <display-text>RamanTest</display-text> <endpoint entity="sip:ramantest@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 <(404)%20807-2604></src-id> <status>sendrecv</status> </media> </endpoint> </user> </users> </conference-info>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Book a phone call (CST) <https://freeswitch.com/appointment> Allison prompts for FreeSWITCH: *https://www.gofundme.com/allison-prompts-for-freeswitch* <https://www.gofundme.com/allison-prompts-for-freeswitch> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
Raised the issue in JIRA: https://freeswitch.org/jira/browse/FS-10393 On Tue, Jun 13, 2017 at 7:27 PM, Brian West <brian@freeswitch.org> wrote:
Any bug reports belong on JIRA, https://freeswitch.org/ confluence/display/FREESWITCH/Reporting+Bugs+to+JIRA
Thanks,
On Tue, Jun 13, 2017 at 3:35 AM, Ram <raman.chv@gmail.com> wrote:
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@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@freeconf.com>;tag=46baee66 To: "sip:500@freeconf.com"<sip:500@freeconf.com;transport=tls>; tag=pv4B8Q9XUDtgD Call-ID: 2d118609-1@10.1.30.180 CSeq: 1805684444 SUBSCRIBE Max-Forwards: 69 Contact: "RamanTest"<sip:ramantest@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@freeconf.com>;tag=46baee66 To: "sip:500@freeconf.com" <sip:500@freeconf.com;transpor t=tls>;tag=pv4B8Q9XUDtgD Call-ID: 2d118609-1@10.1.30.180 CSeq: 1805684444 SUBSCRIBE Contact: <sip:500@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@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@freeconf.com" <sip:500@freeconf.com;transpor t=tls>;tag=pv4B8Q9XUDtgD;tag=pv4B8Q9XUDtgD To: "RamanTest" <sip:ramantest@freeconf.com>;tag=46baee66 Call-ID: 2d118609-1@10.1.30.180 CSeq: 705660701 NOTIFY Contact: <sip:500@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@freeconf.com"> <conference-description> <display-text>FreeSWITCH Conference</display-text> <conf-uris> <entry> <uri>sip:500@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@freeconf.com"> <display-text>RamanTest</display-text> <endpoint entity="sip:ramantest@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 <(404)%20807-2604></src-id> <status>sendrecv</status> </media> </endpoint> </user> </users> </conference-info>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com http://www.freeswitchcookbook.com
Book a phone call (CST) <https://freeswitch.com/appointment>
Allison prompts for FreeSWITCH:
*https://www.gofundme.com/allison-prompts-for-freeswitch* <https://www.gofundme.com/allison-prompts-for-freeswitch>
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Brian West
-
Ram