A call to B.
A place to musikOnHold.
I wont play short musik rington B before make
bridge A with B.
////////////////////////////////////////////////////////////////////////////////////////
If use API comands, it's work:
//1. A to
musikOnHold.
sendmsg
call-command: execute
execute-app-name:
execute_extension
execute-app-arg: hold_extension
//2. originate B and play rington
api originate B_END_POINT
&playback(MUSIK_PATH)
//3. bridge
api uuid_bridge A_UUID
B_UUID
////////////////////////////////////////////////////////////////////////////////////////
I wont joint point 2 and point 3 in dial
plan.
Result API comands:
//1. A to musikOnHold.
sendmsg
call-command:
execute
execute-app-name: execute_extension
execute-app-arg:
hold_extension
//2. originate B and play rington to B and bridge A with
B
sendmsg
call-command: execute
execute-app-name:
execute_extension
execute-app-arg: xxx_extension
dialplan.xml
<extension
name="xxx_extension">
<condition field="destination_number"
expression="^xxx_extension$">
??????????????????????????????????? //originate B
??????????????????????????????????? //play to B
??????????????????????????????????? //bridge with
A
</condition>
</extension>
----- Original Message -----
Sent: Tuesday, July 28, 2009 8:07
PM
Subject: Re: [Freeswitch-users] originate
in dialplan
What exactly are you trying to accomplish with this dialplan
entry? That will help us answer your question.
-MC
_______________________________________________
FreeSWITCH-users
mailing
list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org