Re: [SR-Users] Check if user is registered before reply is routed

2015-07-31 Thread Daniel-Constantin Mierla
Hello, in onreply_route, $ru is not available, because it is the request-uri -- you can eventually use $tu instead of that, if it is what you expect. There is a trick, put registered in a route[ABC] {} and call that route from onreply_route. Use this kind of trick with caution. I pushed a patch

Re: [SR-Users] Check if user is registered before reply is routed

2015-07-31 Thread Ben Fitzgerald
Hi, Do you know where I can find the example kamailio.cfg file used in that presentation? Thanks Benjamin Fitzgerald LETS Corporation (925) 235-1154 b...@letscorp.us ***Confidential Notice: This message is intended only for the use of the individual or entity to which it is addressed and

Re: [SR-Users] Check if user is registered before reply is routed

2015-07-30 Thread Seudin Kasumovic
Helo, try with tsilo module see excelent presentation here https://www.youtube.com/watch?v=4XIrR9bwUkM Seudin On Mon, Jul 27, 2015 at 10:39 AM, Dmytro Bogovych wrote: > Greetings. > Sorry for previous false letter. > > I want to check if user is registered before reply is routed to its > targe

[SR-Users] Check if user is registered before reply is routed

2015-07-27 Thread Dmytro Bogovych
Greetings. Sorry for previous false letter. I want to check if user is registered before reply is routed to its target user agent. Imho it should be like this: onreply_route[MANAGE_REPLY] { if ($rm=="INVITE") { if (registered("location", $ru)) { # Do job - pause for 15 seconds and gi