[asterisk-users] Dialling ZAP channel from analogue

Santiago José Ruano Rincón santiago at avatar.com.co
Sun Feb 25 14:34:03 MST 2007


El dom, 25-02-2007 a las 20:12 +0000, --[ UxBoD ]-- escribió:

> 
> [internal]
> include => outbound-local
> include => uri
...

you're dialing 912345678, which has 9 digits

> [outbound-local]
> exten => _9NXXXXXX,1,Dial(${TRUNK}/${EXTEN:1})
> exten => _9NXXXXXX,2,Congestion()
> exten => _9NXXXXXX,102,Congestion()
> 

this extension has 8 digits, so they don't match, try adding another X.


> [uri]
> exten => _[a-z].,1,Macro(uridial,${EXTEN}@${SIPDOMAIN})
> exten => _[A-Z].,1,Macro(uridial,${EXTEN}@${SIPDOMAIN})
> exten => _X.,1,Macro(uridial,${EXTEN}@${SIPDOMAIN})
> 

asterisk is using the uridial macro cause your number match _X.


> [macro-uridial]
> exten => s,1,NoOp(Calling remote SIP peer ${ARG1})
> exten => s,n,Dial(SIP/${ARG1},120,tr)
> exten => s,n,Congestion()
> 
> 

--
Santiago Ruano Rincón
http://www.avatar.com.co
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070225/e6161e39/attachment.pgp


More information about the asterisk-users mailing list