Hi Bogdan,
UAC [email protected] is the Opensips registered as UAC on third-party public
voip provider.
my setting in opensips.cfg is:
----------
----------
modparam("uac","restore_mode","auto")
modparam("uac_auth","credential","1103:192.168.1.3:1103")
modparam("uac_registrant","db_url","text:///home/openSips/share/opensips/dbtext/opensips/")
modparam("uac_registrant","table_name","registrant")
Registrant
[1,'sip:192.168.1.3','sip:192.168.1.3','sip:[email protected]','','1103','1103','sip:[email protected]',,,]
-----------
-----------
if($rU == "1005")
{
revert_uri();
$ru = "sip:[email protected]";
uac_replace_from("","sip:[email protected]");
uac_replace_to("","sip:[email protected]");
topology_hiding();
route(1);
}
-----------
-----------
Is setting correct?
Regards,
Fabio
-----Messaggio originale-----
Da: Bogdan-Andrei Iancu [mailto:[email protected]]
Inviato: venerdì 18 luglio 2014 12.08
A: Fabio Di Gennaro; OpenSIPS users mailling list
Oggetto: Re: R: R: R: [OpenSIPS-Users] does opensips work with public sipserver?
Hi Fabio,
I see the the 3rd party server is replying back with "404 Unknown user"
- maybe the "1103"@102.168.1.3" is not know by that server.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 17.07.2014 11:24, Fabio Di Gennaro wrote:
> Hi bogdan,
> My scenrtio test:
> UAC_A -----> opensips -----> UAC_REGISTRANT --->
> third-party public voip provider ----> UAC_B
> ([email protected])-----> (192.168.1.166)----->
> ([email protected])--->(192.168.1.3) ----------> ([email protected])
> UAC_A registered on Opensips, Opensips registered as UAC on
> third-party public voip provider ([email protected])
>
> When a voip client (UAC_A) call [email protected] Opensips need to sent
> INVITE to third-party public voip provider as UAC([email protected]) but as
> can be seen in attachment I not triggered the authorization and I can not
> make an outgoing call.
> Is there any way to do so?
> Regards,
> fabio
>
> -----Messaggio originale-----
> Da: Bogdan-Andrei Iancu [mailto:[email protected]]
> Inviato: martedì 15 luglio 2014 10.36
> A: Fabio Di Gennaro; OpenSIPS users mailling list
> Oggetto: Re: R: R: [OpenSIPS-Users] does opensips work with public sipserver?
>
> Hi Fabio,
>
> and when you make the call fro UacA -> opensips -> public server, at which
> step the call fails ? Do you have a pcap to show what is going on there ?
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 15.07.2014 10:16, Fabio Di Gennaro wrote:
>> Hi Bogdan,
>> I wish opensips was able to register on an third-party public voip provider
>> (as example voipstunt) and in this scenario it should be able to use this
>> connection as external phone line for my voip pbx. This is the same that you
>> can see on Asterix or 3CX, as example.
>> Is there any way to do so?
>> Regards,
>> fabio
>>
>> -----Messaggio originale-----
>> Da: Bogdan-Andrei Iancu [mailto:[email protected]]
>> Inviato: lunedì 14 luglio 2014 18.54
>> A: Fabio Di Gennaro; OpenSIPS users mailling list
>> Oggetto: Re: R: [OpenSIPS-Users] does opensips work with public sipserver?
>>
>> Hi Fabio,
>>
>> The key question is : is the public server able to handle nated connections
>> (like the one coming from opensips) ? or do you have to configure OpenSIPs
>> to present itself as a public entity ?
>>
>> Also, in the failing scenario, can you give more details on the failure ?
>> when and what exactly happens ?
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>>
>> On 14.07.2014 18:12, Fabio Di Gennaro wrote:
>>> Yes you are right. My scenario should be:
>>> UacA <-----> opensisps <------> public server Sip <------> uacB I tried to
>>> use the module UAC_REGISTRANT in opensips so it registred itself fine as
>>> uac on public server sip.
>>> It works fine in the direction:
>>> uacB----> public server sip ----> opensips ------> uacA
>>> How can I have to do the same in opposite direction?
>>> uacA----> opensips -----> public server ------> uacB ?????
>>> Regards,
>>> Fabio
>>>
>>> -----Messaggio originale-----
>>> Da: Bogdan-Andrei Iancu [mailto:[email protected]]
>>> Inviato: venerdì 11 luglio 2014 16.46
>>> A: OpenSIPS users mailling list; Fabio Di Gennaro
>>> Oggetto: Re: [OpenSIPS-Users] does opensips work with public sipserver?
>>>
>>> Hi Fabio,
>>>
>>> Basically you want your uac + opensips from a private network to talk to a
>>> uac + sips server from a public network, right ?
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developer
>>> http://www.opensips-solutions.com
>>>
>>> On 11.07.2014 16:15, fabio di gennaro wrote:
>>>> hi everyone,
>>>> my scenario is:
>>>> sip clientA on sip server local (opensips 1.8) sip clientB on sip
>>>> server public
>>>>
>>>> my requirements:
>>>> 1. client A calls client B
>>>> 2. client B calls client A
>>>> I'm thinking of using uac module of opensips to connect on sip server
>>>> public.
>>>> Is the uac module right for this purpose? Also are there different
>>>> ways to do the same?
>>>>
>>>> kind regards
>>>>
>>>>
>>>> _______________________________________________
>>>> 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