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
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to