[Freeswitch-users] Conectin a SPA3102 as pstn gateway on FS

Brian West brian at freeswitch.org
Sun Aug 9 14:20:54 MSD 2015


Why would you ever need to set the sip_invite_to_uri?

On Sun, Aug 9, 2015 at 4:50 AM, Sergey Safarov <s.safarov at gmail.com> wrote:

> Register gateway as regular user
> And try dial as
>
> originate {sip_invite_to_uri=<sip:${destination_number}@mydomain.org
> >}user/reg_user at mydomain.org & park
>
> or
>
> <action application="bridge" data="{sip_invite_to_uri=<sip:${
> destination_number}@mydomain.org>}user/reg_user at mydomain.org"/>
>
>
>
>
> On Sat, Aug 8, 2015 at 10:14 AM, Jaime Cruz <jaimecm at gmail.com> wrote:
>
>> Hi Everyone,
>>
>> I'm trying to use a SPA3102 as a PSTN gateway, it is in a remote site
>> with a dinamic IP, I'have it registered in my FS as 100123 user, and my
>> goal is to dial  <any pstn number>@<my spa3102> in order to
>> use my SPA3120 to make the call via his pstn line to the number <any pstn
>> number>.
>>
>> The problem is that all the examples I see has a fixed and well know IP
>> address for the SPA3102 gateway in order to use it in the dial plan,
>> but in my scenario  the IP address for my SPA3102 gateway is dinamyc and
>> unknow.
>>
>> Please any help in order to understand how can I dial any number to my
>> spa3102 gateway will by apreciated.
>>
>>
>> In this example my FS has the IP 100.10.10.10 and the SPA3102 has the
>> dinamic Adsl IP 210.20.20.20
>>
>> > sofia status profile internal  reg
>> Registrations:
>>
>> =================================================================================================
>> Call-ID:        2378632f-eb1116d at 192.168.0.11
>> User:           100123 at 100.10.10.10
>> Contact:        "Local Call" <sip:100123 at 210.20.20.20:5061>
>> Agent:          Linksys/SPA3000-3.1.20(GW)
>> Status:         Registered(UDP)(unknown) EXP(2015-08-08 04:01:04)
>> EXPSECS(61)
>> Ping-Status:    Reachable
>> Host:           voip.example.com
>> IP:             210.20.20.20
>> Port:           5061
>> Auth-User:      100123
>> Auth-Realm:     voip.example.com
>> MWI-Account:    100123 at 100.10.10.10
>>
>> =================================================================================================
>>
>> for example, if I want to dial to the pstn number 222-1234, then I need
>> to send an INVITE 2221234 at 210.20.20.20:5061
>>
>>
>>
>> Thanks for your help.
>>
>>
>> --
>> Jaime Cruz
>> jaimecm at gmail.com
>> https://www.facebook.com/jaimecruzmendoza
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150809/2c73e654/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list