[OpenSIPS-Users] Can I use alias_db to change credentials?

Walter Klomp walter at myrepublic.com.sg
Mon Nov 25 09:33:23 CET 2013


Actually, I found this before, but this only works for 1 specific 
general username and password for the PSTN gateway. I need this "per 
user", how do I configure that ?

I.e. call A with userA,passwordA and call B with userB, passwordB ...

Nobody can help me ?

Walter.


On 25/11/13 3:52 pm, Rik Broers wrote:
> 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: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Walter Klomp
> Sent: zondag 24 november 2013 16:43
> To: stefano.pisani at omnianet.it; 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list