I am using "opensips-1.4.3-notls" I need to route calls to differents remote gateway based on prefix in the dialed number. Can you tell me if the module "carrierreoute", would be the recommended solution ? 1- README-MODULES file does not list "carrierroute" module 2- "carrierroute" does not compile error : "route_config.c:30:21: error: confuse.h: No such file or directory" I would like to know if I am looking for the most strait-forward/supported solution to meet my requirements ? Thank you, Julien
________________________________ From: [email protected] on behalf of Bogdan-Andrei Iancu Sent: Thu 22/01/2009 3:20 PM To: ibrahim tunali Cc: [email protected] Subject: Re: [OpenSIPS-Users] drouting module - dr_gateways table attrs field Hi Ibrahim, have you set the attr avp? Something like: modparam("drouting", "attrs_avp", '$avp(s:dr_attrs)') Then after do_routing() or use_next_gw(), do : xlog("-----gw attr is $avp(s:dr_attrs)\n"); the value of the attr is whatever you want - the module does not interpret it - it is just reading it from DB and pass it to the AVP when you use the GW. It is your decision what to put there and how to use the value. Regards, Bogdan ibrahim tunali wrote: > Hello, > > I'm playing with the new module drouting on svn trunk and i need to > get "which gateway is used on last request". I might be able to get it > with "attrs_avp" and "attrs" field on dr_gateways table, i guess. I > try some values to attrs but opensips crashed. > > Could you give an example to use attrs_avp and what is the value > format of "attrs" fields. > > Regards, > > Ibrahim TUNALI > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
