Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] originate in dialplan


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
vkozak at abisoft.spb.ru
Guest





PostPosted: Tue Jul 28, 2009 10:23 am    Post subject: [Freeswitch-users] originate in dialplan Reply with quote

Hello, Please tell me, how can I execute originate new call and uuid_bridge in dial plan. I tried to make like thise: <action application="originate" data="user/$${destination_end_point} &playback(${hold_music})"/> <action application="originate" data="user/$${destination_end_point}, &playback($${hold_music})"/> <action application="uuid_bridge" data="$${uuid} $${client_uuid}"/> result: [ERR] switch_core_session.c:1239 switch_core_session_execute_application() Invalid Application originate [ERR] switch_core_session.c:1239 switch_core_session_execute_application() Invalid Application uuid_bridge Best regards.vkozak
Back to top
msc at freeswitch.org
Guest





PostPosted: Tue Jul 28, 2009 11:20 am    Post subject: [Freeswitch-users] originate in dialplan Reply with quote

What exactly are you trying to accomplish with this dialplan entry? That will help us answer your question.
-MC

2009/7/28 Kozak Vladimir <vkozak@abisoft.spb.ru (vkozak@abisoft.spb.ru)>
Quote:
Hello,

Please tell me, howcan Iexecute originate new call and uuid_bridge in dial plan.
I tried tomake like thise:
<action application="originate" data="user/$${destination_end_point} &playback(${hold_music})"/>
<action application="originate" data="user/$${destination_end_point}, &playback($${hold_music})"/>
<action application="uuid_bridge" data="$${uuid} $${client_uuid}"/>

result:
[ERR] switch_core_session.c:1239 switch_core_session_execute_application() Invalid Application originate
[ERR] switch_core_session.c:1239 switch_core_session_execute_application() Invalid Application uuid_bridge

Best regards.
vkozak




_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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

Back to top
zolotov at altron.ua
Guest





PostPosted: Tue Jul 28, 2009 11:32 am    Post subject: [Freeswitch-users] originate in dialplan Reply with quote

, Kozak.


Try, for example


<action application="bridge" data="sofia/outbound/${number}@${domain}"/>




28 2009 ., 18:16:45:


Hello,

Please tell me, how can I execute originate new call and uuid_bridge in dial plan.
I tried to make like thise:
<action application="originate" data="user/$${destination_end_point} &playback(${hold_music})"/>
<action application="originate" data="user/$${destination_end_point}, &playback($${hold_music})"/>
<action application="uuid_bridge" data="$${uuid} $${client_uuid}"/>

result:
[ERR] switch_core_session.c:1239 switch_core_session_execute_application() Invalid Application originate
[ERR] switch_core_session.c:1239 switch_core_session_execute_application() Invalid Application uuid_bridge
Best regards.
vkozak









--
,
Evgeniy mailto:zolotov@altron.ua (zolotov@altron.ua)
Back to top
vkozak at abisoft.spb.ru
Guest





PostPosted: Tue Jul 28, 2009 1:17 pm    Post subject: [Freeswitch-users] originate in dialplan Reply with quote

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.sendmsgcall-command: executeexecute-app-name: execute_extensionexecute-app-arg: hold_extension //2. originate B and play ringtonapi originate B_END_POINT &playback(MUSIK_PATH) //3. bridgeapi uuid_bridge A_UUID B_UUID //////////////////////////////////////////////////////////////////////////////////////// I wont joint point 2 and point 3 in dial plan. Result API comands: //1. A to musikOnHold.sendmsgcall-command: executeexecute-app-name: execute_extensionexecute-app-arg: hold_extension //2. originate B and play rington to B and bridge A with Bsendmsgcall-command: executeexecute-app-name: execute_extensionexecute-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 ----- From: Michael Collins (msc@freeswitch.org) To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org) 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 2009/7/28 Kozak Vladimir <vkozak@abisoft.spb.ru (vkozak@abisoft.spb.ru)> Hello, Please tell me, how can I execute originate new call and uuid_bridge in dial plan. I tried to make like thise: <action application="originate" data="user/$${destination_end_point} &playback(${hold_music})"/> <action application="originate" data="user/$${destination_end_point}, &playback($${hold_music})"/> <action application="uuid_bridge" data="$${uuid} $${client_uuid}"/> result: [ERR] switch_core_session.c:1239 switch_core_session_execute_application() Invalid Application originate [ERR] switch_core_session.c:1239 switch_core_session_execute_application() Invalid Application uuid_bridge Best regards.vkozak_______________________________________________FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)http://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org _______________________________________________FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
Back to top
krivushinme at rn-info...
Guest





PostPosted: Wed Jul 29, 2009 11:00 pm    Post subject: [Freeswitch-users] originate in dialplan Reply with quote

Use scripting.

Originate это функция command api. Лучше используйте скрипт на lua.
Создайте звонок к B: Session(sofia/B)
Проиграйте что надо, а потом сделайте bridge между двумя uuid.

Quote:
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 -----
From: Michael Collins<mailto:msc@freeswitch.org>
To:
freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswi
tch.org> 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

2009/7/28 Kozak Vladimir
<vkozak@abisoft.spb.ru<mailto:vkozak@abisoft.spb.ru>> Hello,

Please tell me, how can I execute originate new call and uuid_bridge in
dial plan. I tried to make like thise:
<action application="originate"
data="user/$${destination_end_point} &playback(${hold_music})"/> <action
application="originate" data="user/$${destination_end_point},
&playback($${hold_music})"/> <action application="uuid_bridge"
data="$${uuid} $${client_uuid}"/>

result:
[ERR] switch_core_session.c:1239
switch_core_session_execute_application() Invalid Application originate
[ERR] switch_core_session.c:1239 switch_core_session_execute_application()
Invalid Application uuid_bridge Best regards.
vkozak

--
С уважением, Кривушин Михаил
Ведущий специалист отдела телекоммуникаций,
ООО "РН-Информ" филиал в г.Томске,
г. Томск сот. +7 913 865 78 66
icq: 218 744 127
xmpp: KrivushinME@jabber.ru
mail: KrivushinME@rn-inform.tomsk.ru
Внутренняя сеть: 86 099 192726

_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services