<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi there,<div class="">Any chance this can be accomplished without using the same hostname?</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Emrah<br class=""><div><blockquote type="cite" class=""><div class="">On Mar 17, 2014, at 12:59 PM, Vik Killa &lt;<a href="mailto:vipkilla@gmail.com" class="">vipkilla@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Set the hostname parameter in switch.conf.xml of both freeswitch boxes to the same name</div><div class="gmail_extra"><br class=""><br class=""><div class="gmail_quote">On Mon, Mar 17, 2014 at 4:29 AM, Chris B. Ware <span dir="ltr" class="">&lt;<a href="mailto:chrisbware@yahoo.it" target="_blank" class="">chrisbware@yahoo.it</a>&gt;</span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div style="font-size:10pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif" class=""><div class="">
Anyone can help?</div><div class="">Should I add all my domains on presence_hosts?</div><div class=""><br class=""></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif" class="">
<br class=""></div><div style="display:block" class=""> <br class=""> <br class=""> <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:10pt" class=""> <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:12pt" class="">
 <div dir="ltr" class=""> <font face="Arial" class=""> Il Venerd́ 14 Marzo 2014 19:18, Chris B. Ware &lt;<a href="mailto:chrisbware@yahoo.it" target="_blank" class="">chrisbware@yahoo.it</a>&gt; ha scritto:<br class=""> </font> </div><div class=""><div class="h5">  <div class="">
<div class=""><div class=""><div style="font-size:10pt;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif" class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">On advice by Brian and Anthony I'm writing to mailing list, after a jira (FS-6358).</div>
<div class=""><br class=""></div><div class="">If I have two Freeswitch servers, sharing the same DB as backend, how should I configure presence such that</div><div class="">if a phone send SUBSCRIBE to box A, and call is received on box B, I get Notify from box B?</div>
<div class=""><br class=""></div><div class="">By now I've set manage_presence=true on both sip profiles (internal,external) and presence_hosts="_DISABLED_"</div><div class="">as I read on wiki.</div><div class=""><br class=""></div><div class="">Of course dial_string contains presence_id=${dialed_user}@${dialed_domain}. Sip registrations are correctly shared</div>
<div class="">between boxes, and even presence works sometimes, but is not
 stable.&nbsp;</div><div class=""><br class=""></div><div class="">Here my internal sip profiles
 config:</div><div class=""><br class=""></div><div class="">&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;</div><div class="">&lt;document type="freeswitch/xml"&gt;</div><div class="">&nbsp; &lt;section name="configuration" description="Various Configuration"&gt;</div>
<div class="">&nbsp; &nbsp; &lt;configuration name="sofia.conf" description="Sofia Endpoint"&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &lt;profiles&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &lt;profile name="internal"&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;domains&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;domain name="all" alias="true" parse="false"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/domains&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;settings&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="debug" value="0"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="sip-trace" value="no"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &lt;param name="sip-capture" value="no"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="watchdog-enabled" value="no"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="watchdog-step-timeout" value="30000"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="watchdog-event-timeout" value="30000"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="log-auth-failures" value="true"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="forward-unsolicited-mwi-notify" value="false"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="context" value="default"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="rfc2833-pt" value="101"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="sip-port" value="$${internal_sip_port}"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &lt;param name="dialplan" value="XML"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="dtmf-duration" value="2000"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="inbound-codec-prefs" value="$${global_codec_prefs}"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="outbound-codec-prefs" value="$${global_codec_prefs}"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="rtp-timer-name" value="soft"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="rtp-ip" value="$${local_ip_v4}"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="sip-ip" value="$${local_ip_v4}"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="hold-music" value="$${hold_music}"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="apply-nat-acl" value="nat.auto"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &lt;param name="apply-inbound-acl" value="domains"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="local-network-acl" value="localnet.auto"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="record-path" value="$${recordings_dir}"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="record-template" value="${caller_id_number}.${target_domain}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="manage-presence" value="true"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="inbound-codec-negotiation" value="generous"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="tls" value="$${internal_ssl_enable}"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="tls-bind-params" value="transport=tls"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param
 name="tls-sip-port" value="$${internal_tls_port}"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="tls-cert-dir" value="$${internal_ssl_dir}"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="tls-version" value="$${sip_tls_version}"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="nonce-ttl" value="60"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="auth-calls" value="$${internal_auth_calls}"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="inbound-reg-force-matching-username" value="true"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="auth-all-packets" value="false"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="ext-rtp-ip" value="auto-nat"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="ext-sip-ip" value="auto-nat"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &lt;param name="rtp-timeout-sec" value="300"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="rtp-hold-timeout-sec" value="1800"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="presence-hosts" value="_DISABLED_"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="odbc-dsn" value="systemDB:freeswitch:pazzword"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="challenge-realm" value="auto_from"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name="outbound-proxy" value="sip::5060"/&gt;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/settings&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/profile&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &lt;/profiles&gt;</div><div class="">&nbsp; &nbsp; &lt;/configuration&gt;</div><div class="">&nbsp; &lt;/section&gt;</div><div class="">&lt;/document&gt;</div><div class=""><br class=""></div><div class="">
<br class=""></div><div class="">Can somebody
 help?</div></div></div></div><br class=""><br class=""></div>  </div></div></div> </div>  </div> </div></div><br class="">_________________________________________________________________________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" target="_blank" class="">http://www.freeswitchsolutions.com</a><br class="">
<br class="">
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br class="">
<a href="http://www.cudatel.com/" target="_blank" class="">http://www.cudatel.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://wiki.freeswitch.org/" target="_blank" class="">http://wiki.freeswitch.org</a><br class="">
<a href="http://www.cluecon.com/" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br class="">http://www.cudatel.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://wiki.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org<br class=""></div></blockquote></div><br class=""></div></body></html>