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: [email protected]
[mailto:[email protected]] On Behalf Of Muhammad Shahzad
Sent: Tuesday, March 26, 2013 1:56 PM
To: OpenSIPS users mailling list
Cc: [email protected]
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 <[email protected]> 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
[email protected]
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:[email protected]> [email protected]
Email: <mailto:[email protected]> [email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users