[OpenSIPS-Users] Need help regarding dp_translate in opensips 2.2 .

Răzvan Crainea razvan at opensips.org
Mon Jul 27 07:27:07 EST 2020


Hi, Sasmita!

You should only check the `$avp(trl)` value if `dp_translate` succeeeds.

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 7/22/20 11:51 AM, Sasmita Panda wrote:
> Hi All ,
> in opensips 1.11 I was using dp_translate function as below and its 
> working fine .
> 
> $avp(src) = $rd;
> xlog("request domain,$avp(src)");
> dp_translate("5", "$avp(src)/$avp(trl)");
> $avp(grp)=$(avp(trl){s.int <http://s.int>});
> 
> In opensips -2.2 i am using the same but its no working . The error is 
> as below .
> 
> *WARNING:core:do_assign: no value in right expression at 
> /usr/etc/opensips/opensips_carrier.cfg:318*
> *
> *
> *line 318 refer to *$avp(grp)=$(avp(trl){s.int <http://s.int>});  line .
> 
> What I am doing wrong . Please help me .
> 
> */Thanks & Regards/*
> /Sasmita Panda/
> /Senior Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 



More information about the Users mailing list