[OpenSIPS-Users] Parsing null parameter

M.Khaled W Chehab kchehab at icucall.com
Tue Mar 26 14:06:38 CET 2013


Hi Muhammad,

 

1-Yes I know because that I am asking for ,on how to avoid this error if only one value exist ,is there a smilar function as is_avp_set for var .

2-Is there a way to change  the dr_rules  routing priority order  from descending to ascending order as now priority 1 is applied before the priority 0  

3- Is there a way to set routing priority(1st,2nd,3rd) in one dr_rules entry instead of creating three rules and use fallback as I already have the (WF) flag in do_routing("$avp(Cusid)","FW")

 

 

Regards

Khaled 

 

 

From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Muhammad Shahzad
Sent: Tuesday, March 26, 2013 1:56 PM
To: OpenSIPS users mailling list
Cc: users-bounces at lists.opensips.org
Subject: Re: [OpenSIPS-Users] Parsing null parameter

 

This is a database inconsistency issue, check gw_attrs field for the gateway which gives this error, most likely there is only one value there where as your opensips script expect at least 2 comma separated values.

 

Thank you.

 

On Tue, Mar 26, 2013 at 10:46 AM, M.Khaled W Chehab <kchehab at icucall.com> wrote:

Hi,

 

I got the below error while $var(prefix) = null  ,how to avoid this error 

$var(prefix) = $(avp(gw_attrs){csv.value,1});

 

ERROR:core:tr_eval_csv: Index out of bounds

ERROR:core:do_assign: no value in right expression

ERROR:core:do_assign: error at line: 877

 

Regards

 

 


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users





 

-- 

Mit freundlichen Grüßen

Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN:  <mailto:shari_786pk at hotmail.com> shari_786pk at hotmail.com
Email:  <mailto:shaheryarkh at googlemail.com> shaheryarkh at googlemail.com 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130326/8b96f3f3/attachment-0001.htm>


More information about the Users mailing list