How about in iax.conf? i tried allowguest=no in iax.conf but it didn't work i haven't tried it in sip we'll try that.
On 10/13/06, Sylvain ZUCCA
<[EMAIL PROTECTED]> wrote:
Try "allowguest=no" in your sip.conf
2006/10/13, Mark Quitoriano <[EMAIL PROTECTED]>: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 <[EMAIL PROTECTED] > 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 <[EMAIL PROTECTED] > 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
[EMAIL PROTECTED]
_______________________________________________
--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
_______________________________________________
--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
--
Sylvain
_______________________________________________
--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
_______________________________________________ --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
