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

Stanislav Sinyagin ssinyagin at yahoo.com
Wed Jun 26 21:18:16 MSD 2013


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>
>To: FreeSWITCH Users Help <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.ClueCon.com
>http://www.OSTAG.org
>
>
>_________________________________________________________________________
>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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130626/fa536205/attachment.html 


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