[Freeswitch-users] Setting conference parameter regardless if it is already created or not
Dmitriy Shumaev
pm_zefman_r at mail.ru
Mon Jun 16 17:35:11 MSD 2014
Hi.
I need to set a conference parameter - "caller_id_name". So in my dialplan I do next:
<action application="set" data="api_result=${conference($1 set caller_id_name ${Orig_Ptt_Ext})}"/>
<action application="set" data="api_result=${conference($1 set caller_id_number ${Orig_Ptt_Ext_UUID})}"/>
<action application="answer"/>
<action application="conference" data="$1 at simple++flags{nomoh}"/>
. But it is not right, because the conference possibly does not exist at that time (will be created at " conference ").
Then I tried to do next:
<action application="answer"/>
<action application="conference" data="$1 at simple++flags{nomoh}"/>
<action application="set" data="api_result=${conference($1 set caller_id_name ${Orig_Ptt_Ext})}"/>
<action application="set" data="api_result=${conference($1 set caller_id_number ${Orig_Ptt_Ext_UUID})}"/>
But it is also not right, bacause dialplan stops at doing "conference".
So, what am I suppose to do to make it right?
May be there is some way to pre-create conference (without real members)?
May be there is a way to configure some actions to be done after creation of conference - something like "execute_on_conference_create"?
With best regards, Shumaev D.A., programmer @ KBR Ltd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140616/8af6bb5d/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list