Re: [OpenSIPS-Users] How to use UAC_REGISTRANT module?

2014-01-22 Thread Александр Пучков
Thanks, Jordan! I tried the following structure: ---8<--- if (db_is_user_in("$fu", "asterisk")) { $rd=$var(asterisk_ip); } if(!dp_translate("0","$rU/$rU")){

Re: [OpenSIPS-Users] How to use UAC_REGISTRANT module?

2014-01-22 Thread Justin Zondagh - MWEB
Set $rd to asterisk ip and then route Sent from my iPhone > On 22 Jan 2014, at 12:12, "Александр Пучков" wrote: > > Ovidiu, thanks for your answer. > > There is some misunderstanding. > I'm probably not very well formulated goal I want to achieve. > Try to describe in more detail: > > UAC (1

Re: [OpenSIPS-Users] How to use UAC_REGISTRANT module?

2014-01-22 Thread Александр Пучков
Ovidiu, thanks for your answer. There is some misunderstanding. I'm probably not very well formulated goal I want to achieve. Try to describe in more detail: UAC (1): OpenSIPs registered as a UAC on Asterisk (sip:100@asterisk). UAC (2): UAC (2) is registered to OpenSIPs (sip:100@opensips). Ever

Re: [OpenSIPS-Users] How to use UAC_REGISTRANT module?

2014-01-21 Thread Ovidiu Sas
When the call is coming in for UAC (1) you need to perform a lookup for UAC (2). See: http://www.opensips.org/html/docs/modules/devel/registrar#id294037 You need to set the AOR to UAC (2). Regards, Ovidiu Sas 2014/1/21 Александр Пучков : > Hi! > > I use the module UAC_REGISTRANT. OpenSIPS registe

[OpenSIPS-Users] How to use UAC_REGISTRANT module?

2014-01-21 Thread Александр Пучков
Hi! I use the module UAC_REGISTRANT. OpenSIPS registered on Asterisk as UAC (1). There are UAC (2) that is registered on OpenSIPS. When calling with Asterisk to UAC (1) there is a call UAC (2) as UAC (2) is registered in the "binding_URI", table "registrant". How to make an outgoing call UAC