Let's ping Moy and ask him for direction as this appears to be an issue outside of FreeSWITCH itself and is in the card, driver, or FreeTDM.

Moy, thoughts?

-MC



On Tue, Jul 23, 2013 at 1:31 AM, DP Siddharth <dp.siddharth@eng.knowlarity.com> wrote:
Hi All,

I am trying to bridge a call & want to play a sound file when legb answers.


here is dialplan:

<extension name="incoming">
<condition field="destination_number" expression="^4948667$">
<action application="answer"/>
<action application="bridge"
data="{execute_on_answer=playback
/srv/sounds/oriental-insurance-deepawali-demo.wav}freetdm/1/a/9873244228"/>
<action application="hangup" />
</condition>
</extension>

Here I am using Sangoma card & libsng_isdn library (I have tested with latest stable FreeSWITCH, wanpipe driver & libsng_isdn).

FreeSWITCH: FreeSWITCH Version 1.0.head (git-9bf2726 2012-03-14 23-26-09 -0500)
I have updated with v1.2.stable but same observation

WANPIPE Release: 3.5.28
libsng_isdn.so.9.9.9, I have now updated it with libsng_isdn.so.7.27.2

I am getting following error:

2013-07-22 12:44:53.725215 [WARNING] ftmod_wanpipe.c:1033 [s1c2][1:2] Failed to read 4096 bytes from sangoma device: No buffer space available (-65)
2013-07-22 12:44:53.725215 [WARNING] ftdm_io.c:4059 [s1c2][1:2] raw I/O read filed
2013-07-22 12:44:53.725215 [WARNING] mod_freetdm.c:776 Failed to read from channel FreeTDM/1:2/09873244228 device 1:2!
2013-07-22 12:44:53.805207 [WARNING] ftmod_wanpipe.c:1033 [s1c2][1:2] Failed to read 4096 bytes from sangoma device: No buffer space available (-65)
2013-07-22 12:44:53.805207 [WARNING] ftdm_io.c:4059 [s1c2][1:2] raw I/O read filed


I also raised this issue with sangoma (http://support.sangoma.com/index.php?/Default/Tickets/Ticket/View/9246)

but got no conclusive response in last 6 months.

Kindly help in resolving same.

thanks & regards,
Siddharth


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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




--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org