[Kamailio-Users] $rr and $rr are null

Juha Heinanen jh at tutpro.com
Mon Oct 20 15:37:04 CEST 2008


Daniel-Constantin Mierla writes:

 > Probably tm module can be enhanced to get these details in the script. 
 > t_check_status() has the functionality of checking the reply status code 
 > for that transaction, more or less same mechanism can be used to make 
 > the status available in a pseudo-variable. Or maybe moving $rr and $rs 
 > in tm is an option, but makes them unavailable for stateless processing 
 > and onreply_route[0], so might not be a good approach.

so should we add a function in tm api that returns the code and reason,
which can then be used by pvar module?

now that pvar implementation is still in core, can core also load a
module api?

-- juha




More information about the Users mailing list