[Freeswitch-dev] ignore_early_media in mod_conference

Szymon Olko solko at gcdf.pl
Sat Apr 25 03:22:01 PDT 2009


Anthony Minessale pisze:
> you can just not use the conference bgdial if you need it to work different.
> 
> bgapi originate sofia/default/100 at domain.com conference:myconf inline

Thx.
Is there a difference between this command?

bgapi originate ofia/default/100 at domain.com &conference(myconf)

As I understand, inline defines DIALPLAN in command. Is there a difference in performance or something else?

Szymon O.

> 
> 
> On Fri, Apr 24, 2009 at 7:41 AM, Szymon Olko <solko at 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 at 10.0.0.12
>     <mailto:80504318131 at 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 at lists.freeswitch.org
>     <mailto:Freeswitch-dev at 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 at hotmail.com
> <mailto:MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> <mailto:PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
> 
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> <mailto:sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> <http://iax:guest@conference.freeswitch.org/888>
> googletalk:conf+888 at conference.freeswitch.org
> <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org




More information about the Freeswitch-dev mailing list