From lists@bock.info Fri Mar 11 16:17:39 2011 From: Carsten Bock To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] pseudo variables available in on_reply route(where can I find all variables stand for) Date: Fri, 11 Mar 2011 16:17:13 +0100 Message-ID: In-Reply-To: <3287DF9FB5BD7C46BA2AE06F5C0BF9E8026507BA@CONMAIL02.aastra.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2052585677==" --===============2052585677== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi, please see: http://www.kamailio.org/dokuwiki/doku.php -> Pseudovariables Carsten 2011/3/11 Derrick Ding : > Hi, All > > I started using Kamailio this week. > > Could any one tell me where I can find all variables(eg, $ru, $du, $rd, > $rp, etc) stand for. > > Thanks a lot! > > Derrick > > > > -----Original Message----- > From: sr-users-bounces(a)lists.sip-router.org > [mailto:sr-users-bounces(a)lists.sip-router.org] On Behalf Of Asgaroth > Sent: Thursday, March 10, 2011 10:04 PM > To: Alex Balashov > Cc: sr-users(a)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 >> 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[REPLY_ONE] { >        xlog("REPLY_ONE : $rm : R-URI=$ru\n"); >        xlog("REPLY_ONE : $rm : D-URI=$du\n"); >        xlog("REPLY_ONE : $rm : Request Domain=$rd\n"); >        xlog("REPLY_ONE : $rm : Request Port=$rp\n"); >        xlog("REPLY_ONE : $rm : Destination Domain=$dd\n"); > } > > The output I get from the above is as follows: > > [17344]: ERROR: