Hello 

I just got some information form the Provider, they use DNS for Loadbalancing, is there a way to tell Freeswitch to don't lookup agin.

regards

Patrick 


On Mon, Jun 11, 2012 at 8:08 AM, Patrick Dürsteler <patrick@sunsus.net> wrote:
Hi Tom 

Thanks for your answer, but we have the problem with the outgoing calls. See attached sip trace.

regards

Patrick 

On Mon, Jun 11, 2012 at 1:09 AM, Tom C <mel0torme@gmail.com> wrote:
Not sure if it's the same problem, but it sounds similar to the issues we had a couple years ago getting FreeSwitch to work with Whistlephone.  Whistlephone also used multiple servers for load balancing, and while outgoing calls worked fine, incoming calls were unreliable.

For more technical details, you can search this mailing list for Whistlephone, about a year and a half ago.

The solution was to add a separate gateway for each proxy server.

So, in conf/sip_profiles/external, I added whistlephone.xml, with the stuff below.  Pay attention to proxy vs proxy1 in the server names, and the added "from-domain" in the secondary gateways.  Using the "realm" parameter seemed to help me, but it took experimentation to find what worked.

--------------------------------------------------------------------
<code>

<include>
<gateway name="WhistlePhone">
   <param name="username" value="xxxxxxxxxxx"/>
   <param name="from-user" value="xxxxxxxxxx"/>
   <param name="proxy" value="proxy.WhistlePhone.com"/>
   <param name="realm" value="WhistlePhone"/>
   <param name="password" value="xxxx"/>
   <param name="expire-seconds" value="600"/>
   <param name="register" value="true"/>
   <param name="retry-seconds" value="30"/>
</gateway>

<gateway name="WhistlePhoneProxy1">
   <param name="username" value="xxxxxxxxxxx"/>
   <param name="from-user" value="xxxxxxxxxx"/>
   <param name="proxy" value="proxy1.WhistlePhone.com"/>
   <param name="from-domain" value="proxy.Whistlephone.com"/>
   <param name="password" value="xxxx"/>
   <param name="expire-seconds" value="600"/>
   <param name="register" value="true"/>
   <param name="retry-seconds" value="30"/>
</gateway>

 repeat for each proxy server.....

</include>

</code>
------------------------------------------------------------------------




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

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