[Freeswitch-users] Two FreeSWITCH boxes talking to each other

Steven Ayre steveayre at gmail.com
Thu Jun 27 15:11:10 MSD 2013


Nevertheless a log would be invaluable for investigating it to see what's
going on in your environment.

Also, which version of v1.2.stable? That could be any commit over a number
of months. Check if it occurs on the current HEAD. You can get your
specific commit version with 'version' in fs_cli.

-Steve



On Wednesday, June 26, 2013, Stanislav Sinyagin wrote:

> I will set up a test environment, but basically the source of the problem
> is in @ symbol in REGISTER username, and then Sofia tries to look up the
> name in DNS
>
>
>   ------------------------------
>  *From:* Michael Collins <msc at freeswitch.org <javascript:_e({}, 'cvml',
> 'msc at freeswitch.org');>>
> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<javascript:_e({}, 'cvml', 'freeswitch-users at lists.freeswitch.org');>>
>
> *Sent:* Wednesday, June 26, 2013 5:19 PM
> *Subject:* Re: [Freeswitch-users] Two FreeSWITCH boxes talking to each
> other
>
> You can open a bug but you will definitely need some sort of log. I
> recommend that you anonymize the log by replacing proprietary
> information/IP addrs/etc. with dummy but meaningful values.
>
> -MC
>
>
> On Wed, Jun 26, 2013 at 4:31 AM, Stanislav Sinyagin <ssinyagin at yahoo.com>wrote:
>
>
>
> I'm not sure if I need to open a bug for this:
>
> Two FreeSWITCH boxes, 1.2 stable,
>
> * A is the PSTN gateway and has a user x at domain.com (domain has an SRV
> record pointing to the box port 5080)
> * B has a gateway in its sip_profiles pointing to the user at A.
>
> First, I configured B this way:
>
>   <!-- Test account -->
>   <gateway name="x at domain.com">
>     <param name="username" value="x"/>
>     <param name="realm" value="domain.com" />
>     <param name="password" value="XXXXX"/>
>     <param name="extension" value="731"/>
>     <param name="expire-seconds" value="3600"/>
>     <param name="register" value="true"/>
>     <param name="register-transport" value="udp"/>
>     <param name="retry-seconds" value="30"/>
>     <param name="caller-id-in-from" value="true"/>
>     <param name="ping" value="27"/>
>   </gateway>
>
>
> Then when from A I wanted to call the user x, A failed, and sofia debug
> showed that it tried to resolve a record that is a combination of B's IP
> address and the domain name. A did not even try to send anything toward B.
>
> After changing to
>   <gateway name="x_domain.com">
> it started working as expected.
>
> shall I open a bug? I cannot provide logs because they contain
> confidential information.
>
> regards,
> stan
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> --
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org <http://www.freeswitch.org/>
> http://www.ClueCon.com <http://www.cluecon.com/>
> http://www.OSTAG.org <http://www.ostag.org/>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Off
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130627/cacc0313/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list