[OpenSIPS-Users] On the edge of a new major release
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Feb 4 10:31:16 CET 2009
Hi Alex,
You mean, if no AOR pushed from script, to use the RURI of the branch?
it will be interesting, but it will create unwanted dependences between
the REGISTER and TM module. More or less, the REGISTER module will
depend on TM and we shouldn't do that. But you can simply do:
if ( registered("location","$T_ruri") )
Regards,
Bogdan
Alex Hermann wrote:
> On Tuesday 03 February 2009 10:58:04 Bogdan-Andrei Iancu wrote:
>
>> Now you can find the answers to all this question is this comprehensive
>> compilation of OpenSIPS evolution from 1.4.0 to 1.5.0:
>> http://www.opensips.org/index.php?n=Main.Ver15x
>>
>
> 1.16 TM modulew PV
> $T_ruri - the RURI of the current branch; this information is taken from the
> transaction structure, so you can access this information for any sip message
> (request/reply) that has a transaction.
>
> 1.20 REGISTRAR module
> registered() function can be used from onreply route, branch route and local
> route. NOTE: if used from onreply route it is mandatory to pass as parameter
> an AOR (as replies do not have RURI).
>
>
> Can't the above features be combined to lift the mentioned limitation for the
> AOR in onreply_route.
>
More information about the Users
mailing list