you can just not use the conference bgdial if you need it to work different.

bgapi originate sofia/default/1...@domain.com conference:myconf inline


On Fri, Apr 24, 2009 at 7:41 AM, Szymon Olko <so...@gcdf.pl> wrote:

> Hello,
>
> What is the purpose of ignore_early_media in conference <x> dial command?
> It's only set in case when conference does not exist.
> 'bgdial' command does not work like that. It's like that:
>
> dial:
>        conference does not exist = ignore_early_media=true
>        conference exist = nothing
> bgdial
>        conference does not exist = nothing
>        conference exist = nothing
>
> I want to use dial command with bgapi and receive later BACKGROUND_JOB
> event. Is it possible to remove that
> 'ignore_early_media=true' from conference mod and let users set it if they
> want?
>
> Second thing regarding variables attached to dial string is that when
> setting the same variable few times last occurrence is set
> in events. Below example produces variable_camle1=nietest.
>
> conference test dial
> {camel1=test,camel2=test2,camel1=nietest}sofia/internal/1001%192.168.77.248
>
>
> When I make 'conference <x> dial' command I cannot change behavior of
> ignore_early_media, but value in event is changed.
> For example (conference does not exist):
>  conference test dial {ignore_early_media=false}sofia/gateway/429956/
> 80504318...@10.0.0.12
> blocks and ignores early media, debug output is like that:
>
> 2009-04-24 12:34:38 [DEBUG] switch_ivr_originate.c:1077
> switch_ivr_originate() variable string 0 = [ignore_early_media=true]
> 2009-04-24 12:34:38 [DEBUG] switch_ivr_originate.c:1077
> switch_ivr_originate() variable string 1 = [ignore_early_media=false]
>
> But CHANNEL_ORIGINATE event looks like that:
>
> variable_ignore_early_media: false
> variable_originate_early_media: false
>
> It would be good to have the same like with custom variables, that the last
> value is used, so I can override what is set in code.
>
>
> Best regards
> Szymon Olko
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_miness...@hotmail.com <msn%3aanthony_miness...@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com<paypal%3aanthony.miness...@gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org <sip%3a...@conference.freeswitch.org>
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.org<googletalk%3aconf%2b...@conference.freeswitch.org>
pstn:213-799-1400
_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

Reply via email to