you can just not use the conference bgdial if you need it to work different. bgapi originate sofia/default/100@domain.com conference:myconf inline On Fri, Apr 24, 2009 at 7:41 AM, Szymon Olko <solko@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/ 80504318131@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_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400