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@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-ca... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org