[Freeswitch-users] Error While Dialing Two Numbers either serially or simultaneously
Avi Marcus
avi at avimarcus.net
Tue Jul 31 18:15:32 MSD 2012
As Brian was saying, you can only use {} once -- it's for global variables.
Since you want the same string on both, you can do simply:
{ignore_early_media=true,monitor_early_media_fail=user_busy:1:480+620!destination_out_of_order:2:1776.7,originate_continue_on_timeout=true}sofia/gateway/bandwidth.com/+919458595856,sofia/gateway/bandwidth.com/+919923920339
Or encase each leg's variables in [] instead.
By the way, this means " 'and' -- call both at the same time". Use a |
(or) separator to only do the second once the first fails.
-Avi
On Tue, Jul 31, 2012 at 4:55 PM, Brian Foster <bdfoster at endigotech.com> wrote:
> Probably a } or two.
>
> Brian Foster
> Endigo Computer LLC
>
> Sent from a mobile device.
>
> On Jul 31, 2012 9:41 AM, "ramesh" <ramesh_mind at yahoo.com> wrote:
>>
>> Hi Team, Can any one help me by looking into the below lua script and tel
>> me whats wrong in this! Am getting error for the past few days
>> session:execute("bridge","{ignore_early_media=true,monitor_early_media_fail=user_busy:1:480+620!destination_out_of_order:2:1776.7,originate_continue_on_timeout=true}sofia/gateway/bandwidth.com/+919458595856,{ignore_early_media=true,monitor_early_media_fail=user_busy:1:480+620!destination_out_of_order:2:1776.7}sofia/gateway/bandwidth.com/+919923920339");
>> actually this script was working before, below is the error i get EXECUTE
>> sofia/internal/+15595158870 at 4.55.21.99:5060
>> lua(/lua/freeswitch/scripts/8887129962_dialplan.lua
>> f6b2ef40-db12-11e1-b609-5bed86da9fbc 8887129962 +15595158870 2012-07-31
>> 13:23:49) EXECUTE sofia/internal/+15595158870 at 4.55.21.99:5060
>> bridge({ignore_early_media=true,monitor_early_media_fail=user_busy:1:480+620!destination_out_of_order:2:1776.7,originate_continue_on_timeout=true}sofia/gateway/bandwidth.com/+919884978816,{ignore_early_media=true,monitor_early_media_fail=user_busy:1:480+620!destination_out_of_order:2:1776.7}sofia/gateway/bandwidth.com/+919677080275)
>> 2012-07-31 13:23:49.252695 [DEBUG] switch_ivr_originate.c:1884 Parsing
>> global variables 2012-07-31 13:23:49.252695 [DEBUG] switch_event.c:1521
>> Parsing variable [ignore_early_media]=[true] 2012-07-31 13:23:49.252695
>> [DEBUG] switch_event.c:1521 Parsing variable
>> [monitor_early_media_fail]=[user_busy:1:480+620!destination_out_of_order:2:1776.7]
>> 2012-07-31 13:23:49.252695 [DEBUG] switch_event.c:1521 Parsing variable
>> [originate_continue_on_timeout]=[true] 2012-07-31 13:23:49.252695 [NOTICE]
>> switch_channel.c:930 New Channel sofia/internal/+919884978816
>> [f6b57b20-db12-11e1-b60d-5bed86da9fbc] 2012-07-31 13:23:49.252695 [DEBUG]
>> mod_sofia.c:4670 (sofia/internal/+919884978816) State Change CS_NEW ->
>> CS_INIT 2012-07-31 13:23:49.252695 [DEBUG] switch_core_session.c:1180 Send
>> signal sofia/internal/+919884978816 [BREAK] 2012-07-31 13:23:49.252695 [ERR]
>> switch_core_session.c:427 Could not locate channel type
>> {ignore_early_media=true 2012-07-31 13:23:49.252695 [NOTICE]
>> switch_ivr_originate.c:2459 Cannot create outgoing channel of type
>> [{ignore_early_media=true] cause: [CHAN_NOT_IMPLEMENTED] 2012-07-31
>> 13:23:49.252695 [ERR] switch_core_session.c:427 Could not locate channel
>> type
>> monitor_early_media_fail=user_busy:1:480+620!destination_out_of_order:2:1776.7}sofia
>> 2012-07-31 13:23:49.252695 [NOTICE] switch_ivr_originate.c:2459 Cannot
>> create outgoing channel of type
>> [monitor_early_media_fail=user_busy:1:480+620!destination_out_of_order:2:1776.7}sofia]
>> cause: [CHAN_NOT_IMPLEMENTED] i dont know what i missed!!!! Any Help or
>> Suggestion would be really helpful! Thanks Ramesh
>> ________________________________
>> View this message in context: Error While Dialing Two Numbers either
>> serially or simultaneously
>> Sent from the freeswitch-users mailing list archive at Nabble.com.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list