23 dec 2007 kl. 15.15 skrev Raj Jain:

>
> On Dec 12, 2007 8:01 AM, equis software <[EMAIL PROTECTED]>  
> wrote:
> I try to configure that only registered sips can make calls.
> How can I do that?
>
> Registrations are meant for routing calls to end-points, not for  
> accepting calls from end-points. I don't think Asterisk supports a  
> mechanism which allows only registered end-points to make calls.

You are right in that the SIP channel doesn't bother with this. But  
there's another way.

Like most other things related to calls in Asterisk, this can be  
controlled in the dialplan.
Use the SIPPEER function to check if the peer is registered. If not,  
hangup without
answering. If it is, then process the call as usual.

If you want to, you can even play prompts or send the calls from  
unregistered
devices to the talking clock in London.

Some devices, like Linksys/Sipura, have settings of their own that  
block calls
if the device can't register.

Merry Christmas!

/O


---
* Olle E. Johansson - [EMAIL PROTECTED]
* Asterisk Training http://edvina.net/training/




_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to