Hi, all
I'd like to configure Asterisk to receiving call from
PSTN. After PSTN phone call in, Asterisk will prompt
user to enter a number, then Asterisk will
transfer the call to a SIP phone by this number.
Please help me check the following extensions, is that
OK? thanks!
[from_pstn]
exten => _.,1,Answer()
exten => _.,2,GoTo(Xfer,s,1)
[Xfer]
exten => s,1,Background(privacy-prompt)
exten => _.,1,Dial(SIP/${EXTEN}@$(OutboundProxy), 30)
Any suggestion?
I am really not sure that whether $(EXTEN) can refer
to the numbers that entered after prompt?
Thanks!
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs