Hello to all
Im trying to make SIP URI calls with my [EMAIL PROTECTED], and I followed this:
http://slacker.com/~nugget/projects/asterisk/page7

So I putted in extensions.conf:

MYDOMAIN => xxx.xxx.xxx.xxx
MYFQDN => xxx.xxx.xxx.xxx

[macro-uridial]
exten => s,1,NoOp(Outbound SIP URI call ${ARG1})
exten => s,2,SetCIDNum(5125380508)
exten => s,3,Dial(SIP/${ARG1})
exten => s,4,Congestion()


and in extensions_custom.conf :

[from-internal-custom]
exten => _.,1,NoOp(Incoming Call from house extension ${CALLERID} for [EMAIL PROTECTED])
exten => _.,2,GotoIf($[${LEN(${SIPDOMAIN})} = 0]?10)
exten => _.,3,GotoIf($[${SIPDOMAIN} = ${MYDOMAIN}]?10)
exten => _.,4,GotoIf($[${SIPDOMAIN} = ${MYFQDN}]?10)
exten => _.,5,GotoIf($[${SIPDOMAIN} = ${MYFQDN}:5060]?10)
exten => _.,6,NoOp(@${SIPDOMAIN} is remote, forwarding...)
exten => _.,7,Macro(uridial,[EMAIL PROTECTED])
exten => _.,8,HangUp()
exten => _.,10,Goto(noturi,${EXTEN},1)
exten => h,1,HangUp()

[noturi]
include => local
include => trunkld
include => trunkint
include => emergency



Then, I try to call [EMAIL PROTECTED] and the call fails:

asterisk debug:
Looking for 613 in from-internal (domain fwd.pulver.com)
Reliably Transmitting (NAT) to xxx.xxx.xxx.xxx:5060:
SIP/2.0 404 Not Found



If I have "_." in [from-internal-custom] why do the call fails?
Thanks
Joao Pereira


_______________________________________________
--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