[Freeswitch-users] setting up forward incoming calls to external gateway

Michael Collins msc at freeswitch.org
Mon May 16 23:39:46 MSD 2011


Time to get a full debug log with sip trace and put on pastebin. Be sure to
use "FreeSWITCH Log" as the syntax highlighting.

-MC

On Sun, May 15, 2011 at 12:43 PM, Kamen <sireeps at gmail.com> wrote:

> I spent a few more hours and I figured a few more things.  It looks like
> there was a lot of excessive configuration for the purpose.  I think what
> should work (although it still does not) is as follows. No need for any
> java
> scripts in this new version.
>
> I set the public.xml extension:
>
>  <extension name="extname">
>        <condition field="caller_id_number" expression="^(9051212121)$">
>                <action application="set" data="domain_name=$${domain}"/>
>                <action application="transfer" data="3472 XML default"/>
>        </condition>
>  </extension>
>
> And the default.xml goes like this:
>
>    <extension name="extname">
>        <condition field="destination_number" expression="3472">
>        <action application="set" data="ringback=$${us-ring}"/>
>        <action application="set" data="transfer_ringback=$${us-ring}"/>
>        <action application="set" data="hangup_after_bridge=true"/>
>        <action application="bridge"
> data="sofia/gateway/mysipprovider/15191212121"/>
>        </condition>
>    </extension>
>
> So this is way simpler, although the result is the same - the channel is
> opened (2011-05-15 5:33:45.687500 [NOTICE] switch_channel.c:812 New Channel
> sofia/external/15191212121 [430cf1e6-0876-4cc7-ba87-9c962619b341]), but I
> still get paused for 10 seconds.  After which I get short busy signals.
>
> What I noticed, and that seems to be a clue, if I do not hang up on calling
> side and continue with the busy signal, the connection gets through to the
> destination number and it shows the caller ID and rings shortly.  The way I
> see it  it is a break through!  I never got any rings before on the
> destination side.
>
> Anyway, so the question I have now, why the heck it seems not calling on
> destination right away as soon as the channel is opened but pauses until
> disconnected? And then actually still calls, but only a short ring, enough
> to display a caller ID.
>
> If anyone had similar problem solved, please, let me know. I would really
> appreciate it.
>
> Regards,
>
> Kamen
>
>
> --
> View this message in context:
> http://freeswitch-users.2379917.n2.nabble.com/setting-up-forward-incoming-calls-to-external-gateway-tp6363912p6366400.html
> Sent from the freeswitch-users mailing list archive at Nabble.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/20110516/b6a40b09/attachment.html 


More information about the FreeSWITCH-users mailing list