[SR-Users] Dispatcher variables

Lee Archer Lee.Archer at thebigword.com
Tue May 31 09:45:23 CEST 2011


Thanks Henning, I have tried a few of these and will keep going!

Regards

Lee

-----Original Message-----
From: Henning Westerholt [mailto:henning.westerholt at 1und1.de] 
Sent: 30 May 2011 13:44
To: sr-users at lists.sip-router.org
Cc: Lee Archer
Subject: Re: [SR-Users] Dispatcher variables

On Friday 27 May 2011, Lee Archer wrote:
> Hi all, I am using dispatcher and on a failure I would like to log the

> server that has failed.  I am using $dd but this only ever returns the

> address of the first server that was tried and not any subsequent 
> servers that were tried and also failed.  What should I be using to 
> display the IP address of the server dispatcher is about to use? 
> Thanks

Hi Lee,

I've no big experience with the dispatcher module, but have you tried to
log this in the failure_route block of your configuration, e.g. with:

http://sip-router.org/wiki/cookbooks/pseudo-variables/devel#t_rpl_pv

Best regards,

Henning



More information about the sr-users mailing list