[Freeswitch-users] How to bridge a call to an extension defined in dialplan
Liu, Xingkun
X.Liu at hw.ac.uk
Wed Feb 29 02:30:56 MSK 2012
Maybe, I am not sure what's wrong.
I didn't do the originate and eavesdrop from dialplan, I do it from a ESL Java app.
My dialplan is as follow:
<extension name="myEslNew5801">
<condition field="destination_number" expression="^5801$">
<action application="limit" data="hash outgoing 5801 4" />
<action application="socket" data="127.0.0.1:9981 async full"/>
</condition>
</extension>
the extension is also specified in my sip_profile so I can dial into 5801 by calling my sip provider's number.
My Java app answers the call, then from the app (which also do the recording) I do the originate to the softphone (extension 1003):
api originate {ignore_early_media=true}sofia/internal/1003%192.168.0.2 &socket(127.0.0.1:9981 async full) &eavesdrop all
This originate call does not give the error: [ERR] mod_dptools.c:714 Usage: [all | <uuid>]
(It would give the error if I remove &socket(127.0.0.1:9981 async full) )
But I can not hear the conversation from the softphone. My goal is to listen to the conversation while doing the recording.
Best,
Xing
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org on behalf of Ken Rice
Sent: Tue 2/28/2012 22:45
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] How to bridge a call to an extension defined in dialplan
This looks like a dialplan issue...
Show the exact originate and dialplan you are using
K
On 2/28/12 4:10 PM, "Liu, Xingkun" <X.Liu at hw.ac.uk> wrote:
> [ERR] mod_dptools.c:714 Usage: [all | <uuid>]
--
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.
Heriot-Watt University is the Sunday Times
Scottish University of the Year 2011-2012
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120228/9ed16fe6/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list