[asterisk-dev] hook outgoing call with asterisk
    Juan Ramírez 
    juanantonio.ram at gmail.com
       
    Wed Dec 15 20:28:20 UTC 2010
    
    
  
Hi,
I'm writing an asterisk module and I was wondering if I can hook an outgoing
call made by a SIP or IAX peer without getting into the dialplan
The use case is below:
1- User makes a call through a SIP phone 94444444
2- My module gets the call and makes a request to a database checking if the
prefix '9' is allowed
3- If it's allowed then continue, else reject the call
I don't know (yet) how to get into the step two.
Thanks!
Saludos!
     Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20101215/cbea5d7b/attachment.htm>
    
    
More information about the asterisk-dev
mailing list