Hello,
Thanks the information!
Perhaps are the following commands valid in 1.2.0?
route($avp(s:callee_routeid[0]))
t_on_failure($avp(s:callee_routeid[0]))
These would be the better solution for me.
And i need a method to pop the first element from the array of avps,
like a fifo, is it possible ?
Thanks,
Tamas
Daniel-Constantin Mierla wrote:
Hello,
just to make it clear, the switch you try is valid with 1.2.0. For
1.1.0, the option given by Klaus in another email is the way to go.
Cheers,
Daniel
On 02/09/07 14:30, Cseke Tamas wrote:
Hello,
I'm using openser 1.1.0
I'd like to make a dinamic routing, the plan is radius set an avp,
which contains the routeid,
but my config is bad, and i don't know what can be the problem
route($avp(i:20)); don't work so i tryied this way:
switch($avp(i:20)) {
case 0:
route(0);
break;
case 1:
route(1);
break;
case 2:
route(2);
break;
}
but this is bad too, can anybody give me an advice?
the problem is in the line "switch($avp(i:20)) {" i guess,
but switch can accept pseudo vars, so i don't kow what the problem
caould be?
Thanks any help,
Tamas
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
--
Cseke Tamás, fejlesztő
www.eworldcom.hu
1027 Budapest, Csalogány u. 23-33
Tel.: +36 1 999-7400
Fax: +36 1 999-7401
Jelen üzenet és az összes hozzá csatolt állomány bizalmas. Kérjük
kezelje bizalmasan, és ne adja tovább harmadik fél részére és ne
készítsen róla másolatot. Amennyiben Ön nem a levél címzettje
kérjük jelezze az eWorld Com számára és törölje a levelet a
számítógépéről.