The attribute field I use to add an extra prefix to the
destination GW. This is the reason why I'm asking if is possible
to get also the description field. I need to add in my CDRs an
extra field which will be the description of the GW that the call
will be terminated.
I can possibly add the description with the prefix in the
attribute field as you told me in the past and grabbed from there
in the form of XXX.GW_Description where XXX=gw_prefix.
yes, you can keep in attrs field various format of data, one example
will be:
"prefix=123;desc=gwX"
Then in config you can use param transformation to get each of them:
$(avp(dsattrs){param.value,prefix}
$(avp(dsattrs){param.value,desc}
Cheers,
Daniel
Thank you for the answer
Alex
On Fri, Jan 7, 2011 at 11:31 AM,
Daniel-Constantin Mierla <miconda@gmail.com>
wrote:
Hello,
On 1/4/11 5:13 PM, alex pappas wrote:
Hi all,
The $avp(dsattrs) it works fine. It was a
misconfiguration.
thanks for reporting back.
Does anyone knows if is possible to retrieve from
Dispatcher the description field from each GW and add
that to an avp pair?
Isn't the attribute field enough for such needs? The
description field in db was intended to map on comments from
the text file, just to help admins understand what is about
that address.
I'm trying with the Dispatcher module to terminate
a call to three different gateways serially. For
each gw I use the attribute field to get the
attribute and add it as a prefix to the RU.
The problem is that the $avp(dsattrs) is returning
always the first value of the first gw that is
using.
In this example the rU will always be 111+number.
I tried also to initiate the avp in the Failure
route by giving null value but still does not
change the result.