Dennis Kavadas wrote:

hi all

i've just setup an * box and want to test voip calling, initially from
sip user to sip user...

local sip users can call each other, no issues.

problem arises when i try and call a remote sip account, my * box
always returns "SIP/2.0 404 Not Found"

any ideas ?
_______________________________________________
--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

Dennis

I use the following as my default context:-

[default]
exten => _X.,1,NoOp(Incoming Call from ${CALLERID} for [EMAIL PROTECTED])
exten => _X.,2,GotoIf($[${LEN(${SIPDOMAIN})} = 0]?10)
exten => _X.,3,GotoIf($[${SIPDOMAIN} = ${MYDOMAIN}]?10)
exten => _X.,4,GotoIf($[${SIPDOMAIN} = ${MYFQDN}]?10)
exten => _X.,5,GotoIf($[${SIPDOMAIN} = ${MYIP}]?10)
exten => _X.,6,GotoIf($[${SIPDOMAIN} = ${MYFQDN}:5060]?10)
exten => _X.,7,NoOp(@${SIPDOMAIN} is remote - forwarding...)
exten => _X.,8,Macro(uridial,[EMAIL PROTECTED])
exten => _X.,9,HangUp()
exten => _X.,10,Goto(default-noturi,${EXTEN},1)
exten => h,1,HangUp()
exten => s-BUSY,1,Congestion
exten => s-CHANUNAVAIL,1,Congestion
exten => s-CONGESTION,1,Congestion

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


HTH

--
Chris Hills                       | Tel: +44 (0)1527 572754
IT Services                       | Fax: +44 (0)1527 572901
North East Worcestershire College | Web: http://www.ne-worcs.ac.uk/


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