Call bridging to an external number

Status
Not open for further replies.

vinicius

New Member
Jul 3, 2019
6
1
3
36
Hi guys,
got a real specific situation here you might can give me a clue on what to do:

Heres the scenario:
-client call our number
-dialplan get the call and bridge to a mobile we set
-if the mobile hangs up (busy) it should play a message to them and record the clients message.

the problem is: I couldn't manage a way to capture the hangup from my mobile on bridging, I always go through a provider's message for busy and if I wait it just start ringing again. I can't manage a way to keep the workflow going to the message part (step 3)

any thoughts?

so far my dial plan is:

<extension name=".test" continue="false" uuid="5ff1501f-93f4-47ad-9f00-6e2b3db1391a">
<condition field="destination_number" expression="^([HIDDEN])$">
<action application="export" data="call_direction=inbound" inline="true"/>
<action application="set" data="domain_uuid=c16d76aa-b2af-426c-9cfd-5bc96c448696" inline="true"/>
<action application="set" data="domain_name=[HIDDEN]" inline="true"/>
<action application="bridge" data="sofia/gateway/b2a363d4-7b3e-494d-a7b6-d6af076e5d0d/[HIDDEN]"/>
<action application="playback" data="https://www.mydomain.com/545a122048.wav"/>
</condition>
</extension>
 
Status
Not open for further replies.