[OpenSIPS-Users] R: R: R: R: does opensips work with public sipserver?

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Jul 28 19:02:45 CEST 2014


Hi Fabio,

maybe there is mistake in setting 1103 both as RURI and FROM, while TO 
is different. I would expect to have RURI + TO the same and FROM different.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 18.07.2014 17:00, Fabio Di Gennaro wrote:
> Hi Bogdan,
> UAC 1103 at 192.168.1.166 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:1103 at 192.168.1.3','','1103','1103','sip:1107 at 192.168.1.166',,,]
>
>
> -----------
> -----------
> if($rU == "1005")
> 	{
> 		revert_uri();
> 		$ru = "sip:1103 at 192.168.1.3";
> 		uac_replace_from("","sip:1103 at 192.168.1.3");
> 		uac_replace_to("","sip:1100 at 192.168.1.3");
> 		topology_hiding();
> 		route(1);		
> 	}
> -----------
> -----------
> Is setting correct?
> Regards,
> Fabio
>
> -----Messaggio originale-----
> Da: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
> 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
>> (1008 at 192.168.1.166)-----> (192.168.1.166)-----> (1103 at 192.168.1.3)--->(192.168.1.3)     ----------> (1100 at 192.168.1.3)
>> UAC_A registered on Opensips, Opensips registered as UAC on
>> third-party public voip provider (1103 at 192.168.1.3)
>>
>> When a voip client (UAC_A) call 1005 at 192.168.1.166 Opensips need to sent INVITE to third-party public voip provider as UAC(1103 at 192.168.1.3) 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:bogdan at opensips.org]
>> 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:bogdan at opensips.org]
>>> 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:bogdan at opensips.org]
>>>> 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
>>>>> Users at lists.opensips.org
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>
>>>>>




More information about the Users mailing list