[asterisk-users] sip to sip ?
Dennis Kavadas
dennis.kavadas at gmail.com
Tue Feb 20 14:19:14 MST 2007
Hi Rob.
The local * box works fine for all local sip calls to local sip calls
i have setup 2 voip handsets and they work well, even took one home
and tried it from my private nat'ed home network, all works, the
phones register and i can call the other extension, regardless of
location.
The * server is not firewalled at all and uses a public ip address.
the only problem seems to be that i can't call other * boxes or sip
users not local to my * box.
On 2/21/07, Rob Schall <rschall at callone.net> wrote:
> If you're getting a 404, I would assume it is reacting like any other
> non-connection would (http, etc). Do you know if the packets are
> reaching the phone, or if the phone is registering its correct IP
> Address? If it is registering, but no packets are reaching it, could it
> be a routing issue?
>
> Rob
>
> Chris Hills wrote:
> > 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
> > ${EXTEN}@${SIPDOMAIN})
> > 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,${EXTEN}@${SIPDOMAIN})
> > 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
> >
>
> _______________________________________________
> --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
>
More information about the asterisk-users
mailing list