<div dir="ltr">Thanks,<div><br></div><div>I’m putting a domain in every SUBSCRIBE request I’m passing through. So, I’m 100% sure, there is domains everywhere, no IP’s in R-URI, To or From.</div><div>Btw, this situation is only when device is not registered, If device is registered and ringing/talking, I’ve got correct XML info’s.</div><div>Situation is only when I’m trying to subscribe on non-existing device. Or device is unregistered and also, in NOTIFY XML data is like this.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-09 21:38 GMT+02:00 Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The only time I&#39;ve ever seen this issue is when its a domain/ip mismatch, and many devices like yealink and the like will subscribe to the IP even when you put in the domain name in some firmwares.  So you&#39;ll need to test, check and verify its doing what you think it is.<div><br></div><div>Also out of the box we force the domain to the IP, unless you change it.  Doing anything multi-tenant requires your endpoints to behave properly too.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>/b</div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 9, 2016 at 1:34 PM, Igor Olhovskiy <span dir="ltr">&lt;<a href="mailto:igorolhovskiy@gmail.com" target="_blank">igorolhovskiy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">As I tried, these options are really not est with multi-tenant.<div>And really, where is device is Subscribed to IP? I don’t see any IP’s in R-URI or To/From.</div><div>Record-Route is just for keep packets back and Contact is actual device IP and port.</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2016-03-09 21:21 GMT+02:00 Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I wish had $1,000.00 for every time I answer this one... :)<div><br></div><div>Ok here is what is the problem, you have the device setup to register to the domain, but its subscribing to the IP ergo domain != ip when it search for any subscriptions.</div><div><br></div><div>See force-subscription-domain, force-register-domain and force-register-db-domain</div><div><br></div><div>Those all have to align perfectly for things to behave properly.</div><div><br></div><div>Thanks,</div><div><br></div><div><br></div>























</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy <span dir="ltr">&lt;<a href="mailto:igorolhovskiy@gmail.com" target="_blank">igorolhovskiy@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>Hi!</div><div>I’m trying to subscribe to Freeswitch with this packet</div><div><br></div><div><div>SUBSCRIBE sip:*<a href="mailto:55@master.rufan.at" target="_blank">55@master.rufan.at</a> SIP/2.0</div><div>Record-Route: &lt;sip:10.0.20.70:5060;ftag=jz8i26dy0f;lr=on&gt;</div><div>Via: SIP/2.0/UDP 212.232.26.232:5060;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0</div><div>Via: SIP/2.0/UDP 192.168.88.59:37600;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600</div><div>Route: &lt;sip:10.0.20.70:5060;ftag=jz8i26dy0f;lr=on&gt;</div><div>From: &lt;<a href="mailto:sip%3A607@master.rufan.at" target="_blank">sip:607@master.rufan.at</a>&gt;;tag=jz8i26dy0f</div><div>To: &lt;sip:*<a href="mailto:55@master.rufan.at" target="_blank">55@master.rufan.at</a>;user=phone&gt;;tag=qBuxIeW1MNWF</div><div>Call-ID: 313435373534383931393431313632-94bfcwdyrzz2</div><div>CSeq: 610 SUBSCRIBE</div><div>Max-Forwards: 69</div><div>User-Agent: snom760/<a href="http://8.7.5.35" target="_blank">8.7.5.35</a></div><div>Contact: &lt;sip:607@176.37.91.15:37600;line=ukipitb6&gt;;reg-id=1</div><div>Event: dialog</div><div>Accept: application/dialog-info+xml</div><div>Expires: 80</div><div>Content-Length: 0</div><div>Path: &lt;sip:212.232.26.232:5060;lr;received=sip:<a href="http://176.37.91.15:37600" target="_blank">176.37.91.15:37600</a>&gt;</div><div>X-AUTH-IP: 176.37.91.15</div></div><div><br></div><div>Actually I get Accepted (202)</div><div><br></div><div>But with NOTIFY from freeswitch I got this</div><div><br></div><div><div>NOTIFY sip:607@176.37.91.15:37600;line=ukipitb6 SIP/2.0</div><div>Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK</div><div>Route: &lt;sip:<a href="http://10.0.20.70:5060" target="_blank">10.0.20.70:5060</a>&gt;;ftag=jz8i26dy0f;lr=on</div><div>Record-Route: &lt;sip:<a href="http://10.0.20.70:5060" target="_blank">10.0.20.70:5060</a>&gt;;ftag=jz8i26dy0f;lr=on</div><div>Max-Forwards: 70</div><div>From: &lt;sip:*<a href="mailto:55@master.rufan.at" target="_blank">55@master.rufan.at</a>;user=phone&gt;;tag=qBuxIeW1MNWF</div><div>To: &lt;<a href="mailto:sip%3A607@master.rufan.at" target="_blank">sip:607@master.rufan.at</a>&gt;;tag=jz8i26dy0f</div><div>Call-ID: 313435373534383931393431313632-94bfcwdyrzz2</div><div>CSeq: 297327351 NOTIFY</div><div>Contact: &lt;sip:*<a href="http://55@10.0.20.71:5060" target="_blank">55@10.0.20.71:5060</a>&gt;</div><div>User-Agent: FreeSWITCH</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</div><div>Supported: path, replaces</div><div>Event: dialog</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=80</div><div>Content-Type: application/dialog-info+xml</div><div>Content-Length: 152</div><div><br></div><div>&lt;?xml version=&quot;1.0&quot;?&gt;</div><div>&lt;dialog-info xmlns=&quot;urn:ietf:params:xml:ns:dialog-info&quot; version=&quot;8&quot; state=&quot;full&quot; entity=&quot;sip:*<a href="mailto:55@master.rufan.at" target="_blank">55@master.rufan.at</a>&quot;&gt;</div><div>&lt;/dialog-info&gt;</div></div><div><br></div><div>Problem is, XML data is empty, cause actually there is no registrations for *55 extension.</div><div>Why it’s not sending «Unavail» or smth. like this? What is the correct packet for SUBSCRIBE? Or internal profile?</div><div><br></div><div>Internal profile is</div><div><div>nonce-ttl [60]</div><div>auth-calls [true]</div><div>inbound-reg-force-matching-username [true]</div><div>auth-all-packets [false]</div><div>ext-rtp-ip [10.0.20.71]</div><div>ext-sip-ip [10.0.20.71]</div><div>rtp-timeout-sec [300]</div><div>rtp-hold-timeout-sec [1800]</div><div>tls-verify-policy [all]</div><div>multiple-registrations [contact]</div><div>enable-timer [false]</div><div>dbname [share_presence]</div><div>send-presence-on-register [true]</div><div>inbound-codec-negotiation [greedy]</div><div>NDLB-force-rport [safe]</div><div>challenge-realm [auto_to]</div><div>outbound-proxy [10.0.20.70]</div><div>track-calls [true]</div><div>nat-options-ping [true]</div><div>liberal-dtmf [true]</div><div>all-reg-options-ping [true]</div><div>force-publish-expires [true]</div><div>unregister-on-options-fail [true]</div><div>user-agent-string [FreeSWITCH]</div><div>log-auth-failures [true]</div><div>forward-unsolicited-mwi-notify [false]</div><div>context [public]</div><div>rfc2833-pt [101]</div><div>sip-port [5060]</div><div>dialplan [XML]</div><div>dtmf-duration [2000]</div><div>inbound-codec-prefs [G7221@32000h,G7221@16000h,G722,PCMU,PCMA,OPUS,SILK]</div><div>outbound-codec-prefs [G7221@32000h,G7221@16000h,G722,PCMU,PCMA,OPUS,SILK]</div><div>rtp-timer-name [soft]</div><div>rtp-ip [10.0.20.71]</div><div>sip-ip [10.0.20.71]</div><div>hold-music [local_stream://default]</div><div>apply-nat-acl [nat.auto]</div><div>aggressive-nat-detection [true]</div><div>apply-inbound-acl [domains]</div><div>local-network-acl [localnet.auto]</div><div>record-path [/usr/local/freeswitch/recordings]</div><div>record-template [${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext}]</div><div>manage-presence [true]</div><div>presence-probe-on-register [true]</div><div>manage-shared-appearance [true]</div><div>tls [false]</div></div><span><font color="#888888"><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Best regards,<div>Igor</div></div></div>
</font></span></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br></font><a href="https://www.gofundme.com/freeswitch_ubuntu" style="font-size:12.8px" target="_blank"><font face="monospace, monospace">https://www.gofundme.com/freeswitch_ubuntu</font></a></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b><a href="tel:%2B19184209001" value="+19184209001" target="_blank">+19184209001</a> | <b>F:</b><a href="tel:%2B19184209002" value="+19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div><div dir="ltr">Best regards,<div>Igor</div></div></div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br></font><a href="https://www.gofundme.com/freeswitch_ubuntu" style="font-size:12.8px" target="_blank"><font face="monospace, monospace">https://www.gofundme.com/freeswitch_ubuntu</font></a></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b><a href="tel:%2B19184209001" value="+19184209001" target="_blank">+19184209001</a> | <b>F:</b><a href="tel:%2B19184209002" value="+19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Best regards,<div>Igor</div></div></div>
</div>