Hello,
I wish asterisk to forward the none local uri to an
outbound proxy instead of send back 404 .
I add this in extension.conf and outbound is a peer
with an outbounproxy set to SER :
[sip]
exten => _.,1,NoOp(Incoming Call from house extension
${CALLERID} for ${EXTEN}@${SIPDOMAIN})
exten => _.,2,GotoIf($[${SIPDOMAIN} = nxs.yi.org]?3:4)
exten => _.,3,Goto(sip-local,${EXTEN},1)
exten => _.,4 Goto(outbound)
exten => h,1,HangUp()
[outbound]
exten => _.,1,Dial(Sip/outbound)
[sip-local]
....
Harry
___________________________________________________________________________
D?couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/R?ponses pour partager vos connaissances, vos opinions et vos
exp?riences.
http://fr.answers.yahoo.com