[OpenSIPS-Users] Can I use loop back when there is no network link ?

Bogdan-Andrei Iancu bogdan at opensips.org
Sat Apr 30 11:50:25 CEST 2016


Hi Rodrigo,

Using lo or the 127.0.0.1 IP in the opensips cfg definitely works (I'm 
using the lo IP whenever I'm doing local tests with OpenSIPS, so it 
works for sure). Do you see the listener created (use netstat) ? also, 
do you see the traffic going to the right listener (use ngrep) ?

Best regards,

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

On 29.04.2016 21:37, Rodrigo Pimenta Carvalho wrote:
>
>
>
> Hi.
>
>
> Some co-workers are today creating a project that will use OpenSIPS 
> and a softphone. All in a same hardware. That is, they want to put the 
> softphone communicating with the SIP proxy without any network 
> interface or link. That is, there will not be a network interface from 
> where OpenSIPS could listen to UPD or TCP packets. In this case, they 
> intend to use a kind of loop back. So, in the opensips.cfg file they 
> intend to write "lo" in spite of "eth0" or "wlan0". But, doing it, the 
> OpenSIPS doesn't works when it receives a SIP INVITE, for example.
>
>
> So, what is the best way to run OpenSIPS and let it listen to a kind 
> of loop back interface?
>
>
> Any hint will be very helpful!
>
>
> Best regards.
>
>
> RODRIGO PIMENTA CARVALHO
> Inatel Competence Center
> Software
> Ph: +55 35 3471 9200 RAMAL 979
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160430/78a4b799/attachment-0001.htm>


More information about the Users mailing list