[SR-Users] syntax error?

Alex Balashov abalashov at evaristesys.com
Sun May 22 05:09:16 CEST 2011


What is the exact syntax error you are being given?

--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/

On May 21, 2011, at 10:40 PM, "Skyler" <skchopperguy at gmail.com> wrote:

> Hi all,
> 
>  
> 
>  I am attempting to handle NOTIFY within my script but there is a definite error in my syntax. I believe it has to do with $hdr(Event).
> 
>  
> 
> Anyone know how I should re-write this?
> 
>  
> 
>  
> 
> if (is_method("NOTIFY") && is_domain_local("$rd") && $hdr(Event) =~ "keep-alive" )
> 
> {
> 
>                                 sl_send_reply("200", "OK - keep-alive");
> 
>                                 exit;
> 
>                 }
> 
>  
> 
> TIA
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110521/ff0b9043/attachment-0001.htm>


More information about the sr-users mailing list