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")){
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
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
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
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