[asterisk-dev] Doing something on SIP registration
    Martin 
    asterisklist at callthem.info
       
    Fri May  1 11:12:48 CDT 2009
    
    
  
On Fri, May 1, 2009 at 1:49 AM,  <sip at xbit.ru> wrote:
> I thinked about some way to run a dialplan section,
> or other way to do anyting just after SIP-register.
> As I could expect it's rather common and needed feature,
> but I can't find any way to do it - not in documentation,
> nor in Google, nor in IRC.
>
> Do you mean C-programming of one of basic modules of asterisk?
yes, since the code is not there (checked Asterisk 1.4.x/1.6.x) you
should add a code that calls
a dialplan entries when the device registers correctly ...
i'd do that in  handle_request_register() in chan_sip.c
Martin
    
    
More information about the asterisk-dev
mailing list