<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 <<a href="mailto:vipkilla@gmail.com" class="">vipkilla@gmail.com</a>> 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=""><<a href="mailto:chrisbware@yahoo.it" target="_blank" class="">chrisbware@yahoo.it</a>></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 <<a href="mailto:chrisbware@yahoo.it" target="_blank" class="">chrisbware@yahoo.it</a>> 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. </div><div class=""><br class=""></div><div class="">Here my internal sip profiles
config:</div><div class=""><br class=""></div><div class=""><?xml version="1.0" encoding="UTF-8" standalone="no"?></div><div class=""><document type="freeswitch/xml"></div><div class=""> <section name="configuration" description="Various Configuration"></div>
<div class=""> <configuration name="sofia.conf" description="Sofia Endpoint"></div><div class=""> <profiles></div><div class=""> <profile name="internal"></div><div class=""> <domains></div>
<div class=""> <domain name="all" alias="true" parse="false"/></div><div class=""> </domains></div><div class=""> <settings></div><div class=""> <param name="debug" value="0"/></div>
<div class=""> <param name="sip-trace" value="no"/></div><div class="">
<param name="sip-capture" value="no"/></div><div class=""> <param name="watchdog-enabled" value="no"/></div><div class=""> <param name="watchdog-step-timeout" value="30000"/></div>
<div class=""> <param name="watchdog-event-timeout" value="30000"/></div><div class=""> <param name="log-auth-failures" value="true"/></div><div class=""> <param name="forward-unsolicited-mwi-notify" value="false"/></div>
<div class=""> <param name="context" value="default"/></div><div class=""> <param name="rfc2833-pt" value="101"/></div><div class=""> <param name="sip-port" value="$${internal_sip_port}"/></div>
<div class="">
<param name="dialplan" value="XML"/></div><div class=""> <param name="dtmf-duration" value="2000"/></div><div class=""> <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/></div>
<div class=""> <param name="outbound-codec-prefs" value="$${global_codec_prefs}"/></div><div class=""> <param name="rtp-timer-name" value="soft"/></div><div class=""> <param name="rtp-ip" value="$${local_ip_v4}"/></div>
<div class=""> <param name="sip-ip" value="$${local_ip_v4}"/></div><div class=""> <param name="hold-music" value="$${hold_music}"/></div><div class=""> <param name="apply-nat-acl" value="nat.auto"/></div>
<div class="">
<param name="apply-inbound-acl" value="domains"/></div><div class=""> <param name="local-network-acl" value="localnet.auto"/></div><div class=""> <param name="record-path" value="$${recordings_dir}"/></div>
<div class=""> <param name="record-template" value="${caller_id_number}.${target_domain}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/></div><div class=""> <param name="manage-presence" value="true"/></div>
<div class=""> <param name="inbound-codec-negotiation" value="generous"/></div><div class=""> <param name="tls" value="$${internal_ssl_enable}"/></div><div class=""> <param name="tls-bind-params" value="transport=tls"/></div>
<div class=""> <param
name="tls-sip-port" value="$${internal_tls_port}"/></div><div class=""> <param name="tls-cert-dir" value="$${internal_ssl_dir}"/></div><div class=""> <param name="tls-version" value="$${sip_tls_version}"/></div>
<div class=""> <param name="nonce-ttl" value="60"/></div><div class=""> <param name="auth-calls" value="$${internal_auth_calls}"/></div><div class=""> <param name="inbound-reg-force-matching-username" value="true"/></div>
<div class=""> <param name="auth-all-packets" value="false"/></div><div class=""> <param name="ext-rtp-ip" value="auto-nat"/></div><div class=""> <param name="ext-sip-ip" value="auto-nat"/></div>
<div class="">
<param name="rtp-timeout-sec" value="300"/></div><div class=""> <param name="rtp-hold-timeout-sec" value="1800"/></div><div class=""> <param name="presence-hosts" value="_DISABLED_"/></div>
<div class=""> <param name="odbc-dsn" value="systemDB:freeswitch:pazzword"/></div><div class=""> <param name="challenge-realm" value="auto_from"/></div><div class=""> <param name="outbound-proxy" value="sip::5060"/></div>
<div class=""> </settings></div><div class=""> </profile></div><div class=""> </profiles></div><div class=""> </configuration></div><div class=""> </section></div><div class=""></document></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>