[Asterisk-Users] Forward call

Olivier Saulnier steganux at steganux.com
Thu Jul 6 05:29:03 MST 2006


Hie,

I trie to use a simply call forward, found on this mailing list (:-), 
when i'm not near my phone:


i creat a global set:
olscell=123456789 ; my cell phone number

A macro for forwarding the call:

[macro-cell_user]
exten => s,1,Playback(Call_Transfer)
exten => s,2,Flash()
exten => s,3,SendDTMF(${ARG1})
exten => s,4,Hangup()


I put in m incoming context:
exten => 0470022762,1,Dial(IAX2/300,20,tr)
exten => 0470022762,2,Macro(cell_user,${olscell})

But, when the call is being, the phone is hangup!
What do i do in macro for forward the call??

Best regards,

-- 
Olivier Saulnier
STEGANUX
1er étage DIAMECANS
BEL AIR
03410 St-Victor
T: 04.70.02.27.62
F: 04.70.09.97.41
http://www.steganux.com




More information about the asterisk-users mailing list