Re: [SR-Users] pseudo variables available in on_reply route

2011-03-14 Thread Daniel-Constantin Mierla
Hello, On 3/11/11 3:03 AM, Asgaroth wrote: Hi All, I have a requirement to perform some processing based on the source and destination addresses on a message in on_reply route. I can get source ip address using $si pseudo variable, but I cant seem to access the destination ($dd). Is there any

Re: [SR-Users] pseudo variables available in on_reply route(where can I find all variables stand for)

2011-03-11 Thread Carsten Bock
; Thanks a lot! > > Derrick > > > > -Original Message- > From: sr-users-boun...@lists.sip-router.org > [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Asgaroth > Sent: Thursday, March 10, 2011 10:04 PM > To: Alex Balashov > Cc: sr-users@lists.sip-router

Re: [SR-Users] pseudo variables available in on_reply route(where can I find all variables stand for)

2011-03-11 Thread Carsten Bock
; Thanks a lot! > > Derrick > > > > -Original Message- > From: sr-users-boun...@lists.sip-router.org > [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Asgaroth > Sent: Thursday, March 10, 2011 10:04 PM > To: Alex Balashov > Cc: sr-users@lists.sip-router

Re: [SR-Users] pseudo variables available in on_reply route(where can I find all variables stand for)

2011-03-11 Thread Derrick Ding
Asgaroth Sent: Thursday, March 10, 2011 10:04 PM To: Alex Balashov Cc: sr-users@lists.sip-router.org Subject: Re: [SR-Users] pseudo variables available in on_reply route Hi Alex, On 11/03/2011 02:37, Alex Balashov wrote: > Are you actually talking about the destination set, or the domain part &

[SR-Users] pseudo variables available in on_reply route

2011-03-10 Thread Asgaroth
Hi All, I have a requirement to perform some processing based on the source and destination addresses on a message in on_reply route. I can get source ip address using $si pseudo variable, but I cant seem to access the destination ($dd). Is there any way I can access destination ip/domain of mess

Re: [SR-Users] pseudo variables available in on_reply route

2011-03-10 Thread Asgaroth
On 11/03/2011 04:03, Alex Balashov wrote: > Oh, I see what you're asking now. > > You have to use a special PV container to access PVs associated with > the request to which the reply route is attached: > > http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:3.1.x#t_rpl_pv > Thanks for the p

Re: [SR-Users] pseudo variables available in on_reply route

2011-03-10 Thread Alex Balashov
On 03/10/2011 10:04 PM, Asgaroth wrote: Hi Alex, On 11/03/2011 02:37, Alex Balashov wrote: Are you actually talking about the destination set, or the domain part of the request uri? If the latter, check out $rd and $rp. I'm looking for the domain part of the destination uri. I have the follo

Re: [SR-Users] pseudo variables available in on_reply route

2011-03-10 Thread Asgaroth
Hi Alex, On 11/03/2011 02:37, Alex Balashov wrote: > Are you actually talking about the destination set, or the domain part > of the request uri? If the latter, check out $rd and $rp. I'm looking for the domain part of the destination uri. I have the following reply route defined: onreply_route

Re: [SR-Users] pseudo variables available in on_reply route

2011-03-10 Thread Alex Balashov
On 03/10/2011 09:17 PM, Asgaroth wrote: Is there any way I can access destination ip/domain of message in on_reply route? Are you actually talking about the destination set, or the domain part of the request uri? If the latter, check out $rd and $rp. -- Alex Balashov - Principal Evariste S

[SR-Users] pseudo variables available in on_reply route

2011-03-10 Thread Asgaroth
Hi All, I have a requirement to perform some processing based on the source and destination addresses on a message in on_reply route. I can get source ip address using $si pseudo variable, but I cant seem to access the destination ($dd). Is there any way I can access destination ip/domain of mess