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

2016-04-30 Thread Bogdan-Andrei Iancu

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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2016-04-29 Thread Jeff Pyle
Rodrigo,

I've run OpenSIPS on the loopback interface to talk to other SIP-speaking
entities on the same system.  I haven't had any problems.

If your co-workers' project has OpenSIPS and a softphone, with no network
connectivity, who are they going to call?



- Jeff



On Fri, Apr 29, 2016 at 2:37 PM, 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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2016-04-29 Thread Rodrigo Pimenta Carvalho


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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users