Hello, I am using dispatcher and LCR. In my failure route I want to log the IP address of the machine which responded with an error. What is the pseudo I would use for this? I tried $si, but that appears to always contain the source IP of the server which issued the first INVITE.
thanks, Geoff
SOLVED - Finally figured out that it would be the TM module which would provide this information. Now that I had that info I quickly found the $T_rpl() structure to retrieve the relevant bits of data from.
thanks,
On Tue, Apr 7, 2009 at 2:01 PM, Geoffrey Mina geoffreymina@gmail.com wrote:
Hello, I am using dispatcher and LCR. In my failure route I want to log the IP address of the machine which responded with an error. What is the pseudo I would use for this? I tried $si, but that appears to always contain the source IP of the server which issued the first INVITE.
thanks, Geoff
Hello,
On 04/07/2009 10:58 PM, Geoffrey Mina wrote:
SOLVED - Finally figured out that it would be the TM module which would provide this information. Now that I had that info I quickly found the $T_rpl() structure to retrieve the relevant bits of data from.
right, just to complete that documentation of PVs for modules is now in wiki: http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:1.5.x#tm_module_ps...
Cheers, Daniel
thanks,
On Tue, Apr 7, 2009 at 2:01 PM, Geoffrey Mina geoffreymina@gmail.com wrote:
Hello, I am using dispatcher and LCR. In my failure route I want to log the IP address of the machine which responded with an error. What is the pseudo I would use for this? I tried $si, but that appears to always contain the source IP of the server which issued the first INVITE.
thanks, Geoff
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users