Thanks,
actually, I realized it was my mistake:
i was calling is_from_gw more than once but only used "i" on one place and
so opensips was not always filling the AVP as it was not requested.
regards,
Takeshi
On Mon, Aug 5, 2013 at 9:24 AM, Laszlo wrote:
> http://openser.org/pipermail/users/201
http://openser.org/pipermail/users/2013-May/025705.html
maybe this can give you an idea..
-Laszlo
2013/8/3 mayamatakeshi
> Hello, can anyone give me an example of how to call drouting function
> is_from_gw ?
>
> http://www.opensips.org/html/docs/modules/1.9.x/drouting.html#id293958
>
The acc table:
CREATE TABLE `acc` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`method` char(16) NOT NULL DEFAULT '',
`from_tag` char(64) NOT NULL DEFAULT '',
`to_tag` char(64) NOT NULL DEFAULT '',
`callid` char(64) NOT NULL DEFAULT '',
`sip_code` char(3) NOT NULL DEFAULT '',
`si