[Serusers] save("location") causing routing errors?

sip sip at arcdiv.com
Sun Oct 16 23:57:48 CEST 2005


That should be couched in an if(method=="REGISTER") block. 


In such a way, it would never GET an INVITE

N.


On Mon, 17 Oct 2005 10:22:09 +1300, Patrick Jordan-Smith wrote
> Hi Everyone,
> 
> I have a route script that includes this following:
> 
> ----------------
> # authenticate users if they didn't provide credentials
> if (!radius_www_authorize("sip")) {
> 	www_challenge("sip", "0");
> 	break;
> };
> 
> # save their location, etc
> save("location");
> ----------------
> 
> now this works fine for when the message is a REGISTER message, but when
> the message is a INVITE message, it goes wonky and the routing gets all
> screwed up.
> 
> When I take the 'save("location");' function out, everything returns 
> to normal.
> 
> Has anyone else seen this behavior?
> 
> Thanks,
> Patrick
> 
> -- 
> Patrick Jordan-Smith
> Mercury Telecommunications Ltd
> 
> voice +64-9-916-0300
> paper +64-9-916-0301
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list