[Freeswitch-users] Inbound call through Registered gateway

Luis F Urrea lfurrea at gmail.com
Tue Apr 15 23:01:12 MSD 2014

The point is that the gateway registers using a random port as the source
port 52762 and then when the INVITE comes how would that be associated with
the SIP profile?

On Mon, Apr 14, 2014 at 5:03 PM, Luis F Urrea <lfurrea at gmail.com> wrote:

> Hi all,
> I am trying to receive a call through a gateway that is suing registration
> on external profile and I don't clearly understand how to configure the
> extension to receive the call.
> I appears from the example.xml gateway configuration that the an extension
> name with the username used for gateway registration can be used to get the
> dialplan to accept the call.
> I assume  this  needs to be configured on the public context, however I
> see the INVITE coming in, but the dialplan never kicks in.
> Do I have to receive the INVITE at port 5080? If that is the case,
> registration doesn't really make sense.
> public.xml
> <extension name="tone_detect">
>       <condition field="destination_number" expression="^tone_detect$">
>         <action application="pre_answer"/>
>         <action application="sleep" data="20000"/>
>         <action application="answer"/>
>         <action application="sleep" data="1000"/>
>         <action application="playback" data="voicemail/vm-goodbye.wav"/>
>         <action application="hangup"/>
>       </condition>
>     </extension>
> Gateway config
> <include>
>   <gateway name="tone_detect">
>   <param name="username" value="tone_detect"/>
>   <...snip...>
> </include>
> Thanks in advance for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140415/6440a841/attachment-0001.html 

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