[Freeswitch-users] Simple call waiting question

Mark Campbell-Smith mcampbellsmith at gmail.com
Thu Sep 17 05:58:38 PDT 2009


HI All,

I am trying to create a simple call waiting dialplan as my phone does
not have Recall button.

The simple scenario is:
1. B calls user A and is answered
2. C calls user A
3. A puts B on hold
4. A answers C
4. A then recalls first call from B

I was going to use fifo for step 3.  I am doing:
<action application="transfer" data="-bleg 5900 XML default"/>
and then
     <condition field="destination_number" expression="^5900$">
	  <action application="set" data="fifo_music=$${hold_music}"/>
	  <action application="fifo" data="5900@${domain_name} in"/>
      </condition>

My question is then, how do I get A to answer the call from C?  Step 4
and then step 5?

On another note, if I put <action application="transfer" data="-aleg
5900 XML default"/> I get the following in the console:
Transfer sofia/internal_nat/sip:1000 at xx.xx.xx.xx:5060 to 5900[-aleg at XML]

Shouldn't that be XML[5900 at default] ?

Thanks!




More information about the FreeSWITCH-users mailing list