[asterisk-users] unauthenticated calls

Mark Quitoriano markquitoriano at gmail.com
Fri Oct 13 01:42:37 MST 2006


well what i wanted to do is let the phone register first before it can dial
through my box is that possible?


something like this

   -- Accepting AUTHENTICATED call from 192.168.0.3:
       > requested format = gsm,
       > requested prefs = (),
       > actual format = ulaw,
       > host prefs = (g729|ulaw|alaw),
       > priority = mine

is it possible on asterisk to reject unauthenticated calls or not registered
phones to call?



On 10/13/06, Alex Robar <alex.robar at gmail.com> wrote:
>
> The way that I've done it is to set the context= line under [general] in
> sip.conf to a context that just gives the congestion command and hangs up
> the call, something like this:
>
> exten => s,1,Answer
> exten => s,n,Wait(2)
> exten => s,n,Congestion
> exten => s,n,Hangup
>
> I suppose you could really just use Hangup instead, but this seems to work
> for me.
>
> Alex
>
>
> On 10/12/06, Mark Quitoriano <markquitoriano at gmail.com> wrote:
>
> > Hi list,
> >
> > i noticed from the cli my asterisk box is accepting unauthenticated
> > calls how can i prevent this?
> >
> >
> > CLI:
> >
> >  -- Accepting UNAUTHENTICATED call from 192.168.0.2:
> >        > requested format = gsm,
> >        > requested prefs = (),
> >        > actual format = ulaw,
> >        > host prefs = (g729|ulaw|alaw),
> >        > priority = mine
> >
> >
> > _______________________________________________
> > --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
> >
> >
> >
>
>
> --
> Alex Robar
> alex.robar at gmail.com
> _______________________________________________
> --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
>
>
>


-- 
Regards,
Mark Quitoriano, CCNA

Fan the flame...
http://www.spreadfirefox.com/?q=user/register&r=19441
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061013/6f17d728/attachment.htm


More information about the asterisk-users mailing list