Hi, see: http://www.kamailio.org/dokuwiki/doku.php -> Pseudovariables
Carsten 2011/3/11 Derrick Ding <dd...@aastra.com>: > 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-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.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: <script>: REPLY_ONE : INVITE : R-URI=<null> > [17344]: ERROR: <script>: REPLY_ONE : INVITE : D-URI=<null> > [17344]: ERROR: <script>: REPLY_ONE : INVITE : Request Domain=<null> > [17344]: ERROR: <script>: REPLY_ONE : INVITE : Request Port=<null> > [17344]: ERROR: <script>: REPLY_ONE : INVITE : Destination Domain=<null> > > Do I need to enable an option somewhere to be able to access these > variables in onreply route? > > Thanks > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > -- Carsten Bock http://www.ng-voice.com mailto:cars...@ng-voice.com Schomburgstr. 80 22767 Hamburg Germany Mobile +49 179 2021244 Office +49 40 34927219 Fax +49 40 34927220 _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users