[Freeswitch-dev] FSComm basic issue
Suneel Papineni
Suneel.Papineni at mettoni.com
Tue Mar 9 02:44:10 PST 2010
Hi Jo,
This time I got the logs for call transfer issue... FYI, I am running the application in Windows XP system. I have connected to FSComm through Event Socket connection and sending commands as there is no option with FSComm as of now.
a. For the first scenario, I made a call from 33004 (an extension) to FSComm (registered as 33001) and answered. Now from FSComm another call is made to an extension 35011. With this 33004 was put on music on hold and call is there between FSComm and 35011. I want to transfer this call, so that call will be there between 33004 and 35011. (FSComm will be out of loop) For this I issued the following command "api uuid_transfer b50b2200-9928-4a4c-8198-4b61b69fb38f - both park inline" After issuing this command call transfer is not done. Active call was in between FSComm and 35011. Music on Hold on 33004 was stopped, but call was not disconnected (When I checked with "pa list" command, it shown call with 33004 is on hold). Please find attached log for this in Freeswitch_uuid_transfer.log
b. In the second scenario, I issues bridge command as "api uuid_bridge <Unique-id of first call between 33004 and FSComm> <Unique-id of second call between FSComm and 35011>. After issuing this command, Call between FSComm and 35011 is disconnected and active call is there between FSComm and 33004. Respective logs are attached (Freeswitch_uuid_bridge.log)
Please let me know if I need to change some thing at dial-plan in Freeswitch.xml
Right now I added the "red" colored lines in the dial-plan (I think I am wrong here). Please let me know if this is wrong and suggest me what needs to done.
<extension name="public_extensions">
<condition field="destination_number" expression="^(.*)$">
<action application="export" data="origination_caller_id_number=${fscomm_caller_id_num}"/>
<action application="export" data="origination_caller_id_name=${fscomm_caller_id_name}"/>
<action application="info"/>
<action application="set" data="ringback=${us-ring}"/>
<action application="pre_answer"/>
<action application="set" data="park_after_bridge=true"/>
<action application="bridge" data="portaudio"/>
<action application="set" data="transfer_after_bridge=1000"/>
<action application="set" data="hangup_after_bridge=true"/>
</condition>
</extension>
Thanks & Regards
Suneel
From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of João Mesquita
Sent: 08 March 2010 04:19
To: freeswitch-dev at lists.freeswitch.org
Cc: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] FSComm basic issue
Sorry for the late reply. Was out of town...
Inline...
JM
On Fri, Feb 26, 2010 at 1:59 PM, Suneel Papineni <Suneel.Papineni at mettoni.com> wrote:
Hi,
I am trying to use FSComm with Freeswitch and facing following issues.
1. Using pre-build binary (windows), when the application is started FSComm is getting Registered properly. When I tried to make a call, UI displays Dialing... but unable to see any SIP (INVITE) messages in wireshark traces. After sometime UI displays with message "Call with (destination number) failed with reason DESTINATION_OUT_OF_ORDER though destination number is registered with another FSComm"
How exactly are you dialing from the UI? What version are you running? You can check the build on Help -> About
2. Also I am unable to see any logs generated in the log folder.
What do you mean by unable?
Downloaded the latest source code (Freeswitch 1.0.5 latest updated as on 26/02/10 at 4am) and tried to build FSComm. Build was succeeded. Application (FSComm) also started and displayed with UI. When I try to change the preferences, it has thrown Porta Audio Error saying "Error Querying Audio Devices" even though proper audio devices are present.
Have you checked if mod_portaudio was loaded? I still have to implement some error messages on startup when PA or the core does not load.
Also it doesn't create folders like "conf", "mod". Even after copying all the required dll's and mod files (as specified in FSComm wiki pages), application is throwing the same error.
That's why ppl have been packaging the Windows build. On Linux, we create all dirs just fine. I just checked.
I am using Windows XP machine. Built a Debug & Release version with 32-bit option.
If someone has built FSComm for windows environment and is working fine, could you please let me know if there are any additional things I need to do to make it work.
I will try to get myself built FSComm over Windows, but I have lousy skills on MSVS... jlenk was helping me out, will pick it up again to get code improved.
Thanks & Regards
Suneel
*************************************************************************
Please consider the environment before printing this e-mail
*************************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager. http://www.mettoni.com
Mettoni Ltd
Registered in England and Wales: 4485956
9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN
*************************************************************************
_______________________________________________
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
*************************************************************************
Please consider the environment before printing this e-mail
*************************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager. http://www.mettoni.com
Mettoni Ltd
Registered in England and Wales: 4485956
9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN
*************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100309/0f7e50d3/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch_uuid_transfer.log
Type: application/octet-stream
Size: 89615 bytes
Desc: freeswitch_uuid_transfer.log
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100309/0f7e50d3/attachment-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch_uuid_bridge.log
Type: application/octet-stream
Size: 98961 bytes
Desc: freeswitch_uuid_bridge.log
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100309/0f7e50d3/attachment-0003.obj
More information about the FreeSWITCH-dev
mailing list