Geoffrey Mina writes: > Thanks! I hadn't seen that before. I have another semi-related > question about LCR. I have multiple gateways, each require me to > prefix the dial string with a specific account ID or rule. > > i.e. to dial the phone number 5555551212 I would need to do the following: > > gateway 1: > #556233#5555551...@mygateway1.com > > gateway 2: > +15555551...@mygateway2.com > > gateway3 : > 5555551...@mygateway3.com > > Is there any way the LCR system can account for this, or will I need > to build some custom functionality to make this work?
from lcr/README: Function next_gw() can then be used to select one gateway at a time for forwarding. Upon each call, user part of original Request URI is first stripped by the number of characters as specified by the gateway's strip count and then prefixed by gateway's tag. -- juha _______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users