[Kamailio-Users] lookup("location") problem

BERGANZ François francois at acropolistelecom.net
Thu Feb 19 17:44:40 CET 2009


Hello,

 

I do as the example in the module registrar doc:

 

lookup("location");

switch ($?) {

    case -1:

    case -3:

        sl_send_reply("404", "Not Found");

        exit;

    case -2:

        sl_send_reply("405", "Not Found");

        exit;

};

 

 

And SER report me ERROR:core:pv_parse_spec: wrong char [$/36] in [$?] at [0
(0)]

 

Know you why?

 

 

Cordialement,

BERGANZ François

 

P Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090219/20bd82de/attachment.htm>


More information about the sr-users mailing list