the patch in place so you can remove
the if's from the cfg.
Cheers
Marius
-Original Message-
From: Ole Kaas [mailto:o...@tet.dk]
Sent: Thu 5/13/2010 6:40 PM
To: Marius Zbihlei
Cc: us...@lists.kamailio.org
Subject: Re: [SR-Users] carrierroute cr_route fails with pvars
Den 03/05/20
Den 03/05/2010 kl. 12.13 skrev marius zbihlei:
> You are right, if you use 2 PV in the cr_route function things will go badly.
>
> The reason is that the core function get_str_fparam() returns a pointer to a
> static buffer, and in total there are three(3) static buffers to return, so
> after a
Ole Kaas wrote:
Hello,
Hello Ole
Any idea why this fails:
$var(carrier) = "carriername";
$var(domainname) = "domain";
if(cr_route( "$var(carrier)", "$var(domainname)", "$rU", "$rU", "call_id"))
with tis in the log:
INFO: carrierroute [cr_func.c:598]: uri domain was rewritten to sip:dom
Hello,
Any idea why this fails:
$var(carrier) = "carriername";
$var(domainname) = "domain";
if(cr_route( "$var(carrier)", "$var(domainname)", "$rU", "$rU", "call_id"))
with tis in the log:
INFO: carrierroute [cr_func.c:598]: uri domain was rewritten to sip:domain,
carrier 2, domain 2
While t