<div dir="ltr">Hi,<div><br></div><div>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.</div><div><br></div><div>Following is the trace for SUBSCRIBE and NOTIFY at freeswitch. </div><div><br></div><div><div>T 2017/06/13 08:20:14.868294 <a href="http://10.1.30.27:55503">10.1.30.27:55503</a> -> <a href="http://10.2.30.63:5060">10.2.30.63:5060</a> [AP]</div><div>SUBSCRIBE sip:500@52.64.221.219:5060;transport=tcp SIP/2.0</div><div>Record-Route: <sip:10.1.30.27:5060;transport=tcp;ftag=46baee66;lr></div><div>Record-Route: <sip:10.1.30.174;transport=tcp;r2=on;lr=on></div><div>Record-Route: <sip:10.1.30.178:5061;transport=tls;r2=on;lr=on></div><div>Via: SIP/2.0/TCP 10.1.30.199;branch=z9hG4bKc038.62a9c22ab84694b453503a45210a1392.0;i=1</div><div>Via: SIP/2.0/TCP 10.1.30.174;branch=z9hG4bKc038.8d466a0ae4f1821a3f0d08e6602cdadc.0;i=82</div><div>Via: SIP/2.0/TLS 10.1.30.146:51890;received=10.1.30.146;rport=51890;branch=z9hG4bKd1633fda00007</div><div>From: "RamanTest"<<a href="mailto:sip%3Aramantest@freeconf.com">sip:ramantest@freeconf.com</a>>;tag=46baee66</div><div>To: "<a href="mailto:sip%3A500@freeconf.com">sip:500@freeconf.com</a>"<<a href="mailto:sip%3A500@freeconf.com">sip:500@freeconf.com</a>;transport=tls>;tag=pv4B8Q9XUDtgD</div><div>Call-ID: <a href="mailto:2d118609-1@10.1.30.180">2d118609-1@10.1.30.180</a></div><div>CSeq: 1805684444 SUBSCRIBE</div><div>Max-Forwards: 69</div><div>Contact: "RamanTest"<sip:ramantest@10.1.30.146:51890;transport=tls></div><div>User-Agent: TestConference</div><div>Event: conference</div><div>Expires: 3600</div><div>Allow: INVITE,ACK,BYE,CANCEL,REFER,NOTIFY,OPTIONS,PRACK,UPDATE,INFO,MESSAGE,SUBSCRIBE,PUBLISH</div><div>Allow-Events: refer, presence</div><div>Supported: replaces, timer, gruu, join</div><div>Date: Tue, 13 Jun 2017 08:24:00 GMT</div><div>Content-Length: 0</div><div><br></div><div><br></div><div>##</div><div>T 2017/06/13 08:20:14.873026 <a href="http://10.2.30.63:5060">10.2.30.63:5060</a> -> <a href="http://10.1.30.27:55503">10.1.30.27:55503</a> [AP]</div><div>SIP/2.0 202 Accepted</div><div>Via: SIP/2.0/TCP 10.1.30.199;branch=z9hG4bKc038.62a9c22ab84694b453503a45210a1392.0;i=1;received=10.1.30.27;rport=55503</div><div>Via: SIP/2.0/TCP 10.1.30.174;branch=z9hG4bKc038.8d466a0ae4f1821a3f0d08e6602cdadc.0;i=82</div><div>Via: SIP/2.0/TLS 10.1.30.146:51890;received=10.1.30.146;rport=51890;branch=z9hG4bKd1633fda00007</div><div>Record-Route: <sip:10.1.30.27:5060;transport=tcp;ftag=46baee66;lr></div><div>Record-Route: <sip:10.1.30.174;transport=tcp;r2=on;lr=on></div><div>Record-Route: <sip:10.1.30.178:5061;transport=tls;r2=on;lr=on></div><div>From: "RamanTest" <<a href="mailto:sip%3Aramantest@freeconf.com">sip:ramantest@freeconf.com</a>>;tag=46baee66</div><div>To: "<a href="mailto:sip%3A500@freeconf.com">sip:500@freeconf.com</a>" <<a href="mailto:sip%3A500@freeconf.com">sip:500@freeconf.com</a>;transport=tls>;tag=pv4B8Q9XUDtgD</div><div>Call-ID: <a href="mailto:2d118609-1@10.1.30.180">2d118609-1@10.1.30.180</a></div><div>CSeq: 1805684444 SUBSCRIBE</div><div>Contact: <sip:500@52.64.221.219:5060;transport=tcp></div><div>Expires: 3600</div><div>User-Agent: FreeSWITCH-mod_sofia/1.6.17~64bit</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</div><div>Supported: timer, path, replaces</div><div>Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer</div><div>Subscription-State: active;expires=3600</div><div>Content-Length: 0</div><div><br></div><div><br></div><div>####</div><div>T 2017/06/13 08:20:15.173591 <a href="http://10.2.30.63:58879">10.2.30.63:58879</a> -> <a href="http://10.1.30.27:5060">10.1.30.27:5060</a> [AP]</div><div>NOTIFY sip:ramantest@10.1.30.146:51890;transport=tls SIP/2.0</div><div>Via: SIP/2.0/TCP 52.64.221.219;rport;branch=z9hG4bKvr9Kyp8Fe829g</div><div>Route: <sip:<a href="http://10.1.30.27:5060">10.1.30.27:5060</a>>;transport=tcp;ftag=46baee66;lr</div><div>Record-Route: <sip:<a href="http://10.1.30.27:5060">10.1.30.27:5060</a>>;transport=tcp;ftag=46baee66;lr</div><div>Max-Forwards: 70</div><div>From: "<a href="mailto:sip%3A500@freeconf.com">sip:500@freeconf.com</a>" <<a href="mailto:sip%3A500@freeconf.com">sip:500@freeconf.com</a>;transport=tls>;tag=pv4B8Q9XUDtgD;tag=pv4B8Q9XUDtgD</div><div>To: "RamanTest" <<a href="mailto:sip%3Aramantest@freeconf.com">sip:ramantest@freeconf.com</a>>;tag=46baee66</div><div>Call-ID: <a href="mailto:2d118609-1@10.1.30.180">2d118609-1@10.1.30.180</a></div><div>CSeq: 705660701 NOTIFY</div><div>Contact: <sip:500@52.64.221.219:5060;transport=tcp>;isfocus</div><div>User-Agent: FreeSWITCH-mod_sofia/1.6.17~64bit</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</div><div>Supported: timer, path, replaces</div><div>Event: conference</div><div>Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer</div><div>Subscription-State: active;expires=3600</div><div>Content-Type: application/conference-info+xml</div><div>Content-Length: 1028</div><div><br></div><div><?xml version="1.0"?></div><div><conference-info version="1" state="full" xmlns="urn:ietf:params:xml:ns:conference-info" entity="<a href="mailto:sip%3A500@freeconf.com">sip:500@freeconf.com</a>"></div><div>  <conference-description></div><div>    <display-text>FreeSWITCH Conference</display-text></div><div>    <conf-uris></div><div>      <entry></div><div>        <uri><a href="mailto:sip%3A500@freeconf.com">sip:500@freeconf.com</a></uri></div><div>      </entry></div><div>    </conf-uris></div><div>  </conference-description></div><div>  <conference-state></div><div>    <user-count>1</user-count></div><div>    <active>true</active></div><div>  </conference-state></div><div>  <users></div><div>    <user state="full" entity="<a href="mailto:sip%3Aramantest@freeconf.com">sip:ramantest@freeconf.com</a>"></div><div>      <display-text>RamanTest</display-text></div><div>      <endpoint entity="<a href="mailto:sip%3Aramantest@freeconf.com">sip:ramantest@freeconf.com</a>"></div><div>        <display-text>RamanTest</display-text></div><div>        <status>connected</status></div><div>        <joining-info></div><div>          <when>2017-06-13T08:20:13+00:00</when></div><div>        </joining-info></div><div>        <media id="2a"></div><div>          <type>audio</type></div><div>          <src-id>4048072604</src-id></div><div>          <status>sendrecv</status></div><div>        </media></div><div>      </endpoint></div><div>    </user></div><div>  </users></div><div></conference-info></div><div><br></div></div></div>