Mike, There are infinite ways to do what you asked for. My suggestion is just one of them.
Adrian On May 1, 2010, at 10:54 AM, Mike O'Connor wrote: > So there is no way for me to read from a db and rewrite the sip host > and > port ? > > Mike > > On 1/05/10 4:35 PM, Adrian Georgescu wrote: >> You could use ENUM to translate SIP URIs to a particular outside peer >> and use trusted peers table to match incoming calls. >> >> Then you only need to add ENUM numbers in your DNS database and >> trusted >> peers in your proxy database, no need to configure much in OpenSIPS >> beside doing ENUM lookup and checking the trusted table. >> >> >> On Sat, 2010-05-01 at 16:28 +0930, Mike O'Connor wrote: >> >>> Hi All >>> >>> I have a need to forward calls onward for a range of DID's, but the >>> other end is not going to Register. I think this is called trunking. >>> >>> I need to be able to configure the DID's and the ip/port there >>> being on >>> forwarded too. >>> What methods should I use to do this ? >>> >>> I've look at a number of options but the issue is that for the >>> functions >>> like 'seturi' do not allow variables only static strings. >>> >>> Thanks >>> Mike >>> >>> _______________________________________________ >>> 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 > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
