[Freeswitch-users] Inbound call loop (408 Too Many Hops)

Rupa Schomaker rupa at rupa.com
Thu Jul 29 03:52:47 PDT 2010


On Thu, Jul 29, 2010 at 5:05 AM, Raymond Chan <raymondchan at commverge.com>wrote:

>   I am not sure where is the problem. All the call forwarded from the
> gateway is going to FS. However, it seems the call cannot go to the correct
> SIP phone. All are in public context. What dialplan should I put?
>
>
>
> The following are not work examples. All are in public folder.
>
>
>
>     <extension name="NWT_DID_31754101">
>
>        <condition field="destination_number" expression="31754101">
>
>        <action application="bridge" data="sofia/external/
> 31754101 at 203.194.134.91"/>
>
>        </condition>
>
>     </extension>
>
>
This is going to loop.  You really need to put the phones in a different
context than the incoming if you want it to register with the same # as the
destination number. This is assuming that IP is the same host that is taking
the original call (based on your reply to Steven Ayre).


>
>
>     <extension name="NWT_DID_31754102">
>
>        <condition field="context" expression="public"/>
>
>        <condition field="destination_number" expression="31754102">
>
>        <action application="transfer" data="$31754102 XML default"/>
>
>        </condition>
>
>     </extension>
>
>
This routes the call to the default context.  It would assume that your
phones are registered on the default context.


-- 
-Rupa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100729/5d4915da/attachment.html 


More information about the FreeSWITCH-users mailing list