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