[Freeswitch-users] No audio in new bridge loopback/app after bridge timeout

Tais Plougmann Hansen taisph at osd.dk
Thu Jun 27 14:11:54 MSD 2013


Hi,

I have an extension which first bridges a call through a sofia gateway and
on timeout then bridges the call to loopback/app=voicemail.

When ignore_early_media is false and the call is rejected (ie. busy) then
call goes to voicemail and sound is heard. Call_timeout is ignored in this
scenario so I changed ignore_early_media to ring_ready/true. Now when the
bridge times out it is bridged to the voicemail as with the rejected call,
but no sound is coming from voicemail at all. The console shows it going
through the prompts as usual and there are no indications of an error.

If I call the voicemail app directly without the bridge, sound works as
expected.

<extension name="test">
  <condition field="destination_number" expression="^(\d+)$">
    <action application="export" data="dialed_extension=$1"/>
    <action application="set" data="proxy_media=false"/>
    <action application="set" data="continue_on_fail=true"/>
    <action application="set" data="hangup_after_bridge=true"/>
    <action application="set" data="call_timeout=20"/>
    <action application="set" data="ignore_early_media=ring_ready"/>
    <action application="bridge"
data="sofia/gateway/pbxs1/${dialed_extension}|sofia/gateway/pbxs2/${dialed_extension}"/>
    <action application="answer"/>
    <action application="sleep" data="500"/>
    <action application="bridge"
data="{default_language=da}loopback/app=voicemail:default ${domain_name}
${dialed_extension}"/>
    <!--<action application="voicemail" data="default ${domain_name}
${dialed_extension}" />-->
  </condition>
</extension>

-- 
Tais Plougmann Hansen

OSD Consulting ApS
osd.dk
Tel: +45 78101078
CVR: DK31332737
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130627/033f2f81/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list