go here

http://www.voip-info.org/wiki/view/Asterisk+call+forwarding

and look this

*sterisk 1.2*

[macro-stdexten]
; ; Standard extension macro (with call forwarding): ; ${ARG1} - Extension(we could have used ${MACRO_EXTEN} here as well ; ${ARG2} - Device(s) to ring ;
--- Begin Message ---
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

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



--- End Message ---
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to