I think this article contains everything you need exactly :) (at least for the authentication part)
http://docs.huihoo.com/opensips/tutorials/uac/ar01s06.html You need the UAC modules for this. Regards, Met vriendelijke groet, Rik Broers Voice Engineer Disclaimer: De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, vragen wij u om de inhoud niet te gebruiken, een retourbericht te sturen naar de afzender om aan te geven dat het verkeerd geadresseerd is, en de inhoud vervolgens te vernietigen. The information taken in this message can be confidential and is only ment for the addressed. If you are not the rightful receiver of this message, we ask you, not to use the information in this message, inform the sender about the incorrectly delivered email and then destroy the contents of this email. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Walter Klomp Sent: zondag 24 november 2013 16:43 To: [email protected]; OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Can I use alias_db to change credentials? Hi Stefano, Thanks for the confidence it can be done easily, but I have not seen any example of how to do it... I do not want to have to resort to sending the call to asterisk where I then call the pstn softswitch with the proper credentials, I'd like to do that directly in opensips... i.e. PSTN -> opensips (replacing username/password & new destination number) -> Softswitch -> PSTN is there a module I can use, (using opensips 1.8.x), and how exactly do I use it? (I know how to pull the username and password and destination number from the database) an example would greatly help me. Thanks Walter. On 24/11/13 4:46 pm, Stefano Pisani wrote: > You can query a ad using avp_query and get new credentials, then use > them in the routing script. > This is not complicated. > > > > Il 24/11/2013 01.38, Walter Klomp ha scritto: >> Hi, >> >> I want to enable call forwarding feature to pstn, but the outbound >> calls need to be authenticated to the outbound proxy server with the >> credentials of the user (callee) to be billed. How do I go around >> doing this? Callerid should remain intact, would optionally want to >> add the countrycode in front. >> >> Anybody has done this before and can give me some pointers? >> >> Thanks in advance >> Walter >> _______________________________________________ > _______________________________________________ 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
