No subject


Thu Mar 26 14:29:42 CET 2015


garbage in the beginning of the message, so opensips would say that it
could't parse the first line. Whereas wireshark is a bit smarter to skip
over it.

On Sun, Jul 12, 2015 at 2:30 PM, John Nash <john.nash778 at gmail.com> wrote:

> Hello Frank,
>
> I saw your message
> http://lists.opensips.org/pipermail/users/2015-March/031296.html Did you
> get any head or tail of this issue?..I also face the same situation where
> in wireshark I see perfect messages but opensips log shows unable to parse
> and shows junk characters
>
> John
>
> On Thu, Mar 26, 2015 at 7:37 PM, Bogdan-Andrei Iancu <bogdan at opensips.org>
> wrote:
>
>> Hi,
>>
>> First check if opensips actually started : run "ps auxw | grep opensips"
>>
>> If it didn't , check the logs (messages or syslog) for errors.
>>
>> If you see the process, check with "netstat -lnp | grep opensips" to see
>> the listening interfaces of OpenSIPS.
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>>
>> On 25.03.2015 17:41, bluerain wrote:
>>
>>> I am currently running Opensips 1.9 on Debian Whizzy, but as stated on my
>>> other thread, I am getting some weird error which opensips would suddenly
>>> stop working.
>>>
>>> So, I am starting a new installation of Opensips 1.11 on Centos 6.6 using
>>> the yum install method:
>>>
>>> 1. I was able to install yum opensips install with no issue, but there
>>> are
>>> some module it didn't install which I need (e.g. db_unixodbc and db_mysql
>>> and httpd)
>>>
>>> 2. So I went ahead download the source and all the dependency files
>>> needed
>>> and re-complie the oepnsips to get those .so files
>>>
>>> 3. After some tweaking of the database table structure and some other
>>> stuff,
>>> I was able to get opensips 1.11 running without error (on the message.log
>>> file)  using my 1.9 config file.
>>>
>>> So I did opensipsctl restart (just to make sure opensips starts)
>>> I see:
>>>
>>> INFO: Restarting OpenSIPS :
>>> INFO: stopped
>>>
>>> INFO: Starting OpenSIPS :
>>> INFO: Removing stale PID file /var/run/opensips.pid.
>>> INFO: started (pid: 2079)
>>>
>>> but when I try to use a VoIP device to register to it, it doesn't
>>> response.
>>> thus I did:
>>> "sudo netstat -plnt"
>>>
>>> The only think I see that opensips is listening on is port 8888 by PID
>>> 2080
>>> (I don't see 2079 at all)
>>>
>>> So what is happening?  why no error and it seems opensips running but
>>> yet is
>>> not listsening on port 5060?
>>>
>>> I have 2 nic card and eth0 is the one with public IP and the default
>>> route
>>> where as the eth1 is the one with private IP and no default route.  Thus
>>> I
>>> am sure everything is route out of the eth0 (public IP).
>>>
>>> When I do simply the command "opensips", it would simply return:
>>>
>>> Listening on
>>>               udp: xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx]:5060
>>> Aliases:
>>>               *: (my FQDN):*
>>>
>>> So it looks like it think is listening on port 5060 but is not?
>>>
>>> Any help would be appreciated greatly!
>>>
>>> Thank you!
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://opensips-open-sip-server.1449251.n2.nabble.com/Opensips-1-11-on-Centos-6-6-running-but-not-listening-tp7596152.html
>>> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Aron Podrigal
-
//Be happy :-)

--001a113ff13c4ad694051ab5b81c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">From what I have seen in the past, I believe that your cli=
ent has some garbage in the beginning of the message, so opensips would say=
 that it could&#39;t parse the first line. Whereas wireshark is a bit smart=
er to skip over it.</div><div class=3D"gmail_extra"><br><div class=3D"gmail=
_quote">On Sun, Jul 12, 2015 at 2:30 PM, John Nash <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:john.nash778 at gmail.com" target=3D"_blank">john.nash778 at gmai=
l.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"l=
tr"><div><div>Hello Frank,<br><br></div>I saw your message <a href=3D"http:=
//lists.opensips.org/pipermail/users/2015-March/031296.html" target=3D"_bla=
nk">http://lists.opensips.org/pipermail/users/2015-March/031296.html</a> Di=
d you get any head or tail of this issue?..I also face the same situation w=
here in wireshark I see perfect messages but opensips log shows unable to p=
arse and shows junk characters <br><span class=3D"HOEnZb"><font color=3D"#8=
88888"><br></font></span></div><span class=3D"HOEnZb"><font color=3D"#88888=
8">John<br></font></span></div><div class=3D"HOEnZb"><div class=3D"h5"><div=
 class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Mar 26, 2015 =
at 7:37 PM, Bogdan-Andrei Iancu <span dir=3D"ltr">&lt;<a href=3D"mailto:bog=
dan at opensips.org" target=3D"_blank">bogdan at opensips.org</a>&gt;</span> wrot=
e:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
First check if opensips actually started : run &quot;ps auxw | grep opensip=
s&quot;<br>
<br>
If it didn&#39;t , check the logs (messages or syslog) for errors.<br>
<br>
If you see the process, check with &quot;netstat -lnp | grep opensips&quot;=
 to see the listening interfaces of OpenSIPS.<br>
<br>
Regards,<br>
<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
<a href=3D"http://www.opensips-solutions.com" rel=3D"noreferrer" target=3D"=
_blank">http://www.opensips-solutions.com</a><br>
<br>
On 25.03.2015 17:41, bluerain wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I am currently running Opensips 1.9 on Debian Whizzy, but as stated on my<b=
r>
other thread, I am getting some weird error which opensips would suddenly<b=
r>
stop working.<br>
<br>
So, I am starting a new installation of Opensips 1.11 on Centos 6.6 using<b=
r>
the yum install method:<br>
<br>
1. I was able to install yum opensips install with no issue, but there are<=
br>
some module it didn&#39;t install which I need (e.g. db_unixodbc and db_mys=
ql<br>
and httpd)<br>
<br>
2. So I went ahead download the source and all the dependency files needed<=
br>
and re-complie the oepnsips to get those .so files<br>
<br>
3. After some tweaking of the database table structure and some other stuff=
,<br>
I was able to get opensips 1.11 running without error (on the message.log<b=
r>
file)=C2=A0 using my 1.9 config file.<br>
<br>
So I did opensipsctl restart (just to make sure opensips starts)<br>
I see:<br>
<br>
INFO: Restarting OpenSIPS :<br>
INFO: stopped<br>
<br>
INFO: Starting OpenSIPS :<br>
INFO: Removing stale PID file /var/run/opensips.pid.<br>
INFO: started (pid: 2079)<br>
<br>
but when I try to use a VoIP device to register to it, it doesn&#39;t respo=
nse.<br>
thus I did:<br>
&quot;sudo netstat -plnt&quot;<br>
<br>
The only think I see that opensips is listening on is port 8888 by PID 2080=
<br>
(I don&#39;t see 2079 at all)<br>
<br>
So what is happening?=C2=A0 why no error and it seems opensips running but =
yet is<br>
not listsening on port 5060?<br>
<br>
I have 2 nic card and eth0 is the one with public IP and the default route<=
br>
where as the eth1 is the one with private IP and no default route.=C2=A0 Th=
us I<br>
am sure everything is route out of the eth0 (public IP).<br>
<br>
When I do simply the command &quot;opensips&quot;, it would simply return:<=
br>
<br>
Listening on<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 udp: xxx.xxx.xxx.xxx [xxx.=
xxx.xxx.xxx]:5060<br>
Aliases:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 *: (my FQDN):*<br>
<br>
So it looks like it think is listening on port 5060 but is not?<br>
<br>
Any help would be appreciated greatly!<br>
<br>
Thank you!<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href=3D"http://opensips-open-sip-server.14=
49251.n2.nabble.com/Opensips-1-11-on-Centos-6-6-running-but-not-listening-t=
p7596152.html" rel=3D"noreferrer" target=3D"_blank">http://opensips-open-si=
p-server.1449251.n2.nabble.com/Opensips-1-11-on-Centos-6-6-running-but-not-=
listening-tp7596152.html</a><br>
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href=3D"mailto:Users at lists.opensips.org" target=3D"_blank">Users at lists.o=
pensips.org</a><br>
<a href=3D"http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=3D=
"noreferrer" target=3D"_blank">http://lists.opensips.org/cgi-bin/mailman/li=
stinfo/users</a><br>
<br>
<br>
</blockquote>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href=3D"mailto:Users at lists.opensips.org" target=3D"_blank">Users at lists.o=
pensips.org</a><br>
<a href=3D"http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=3D=
"noreferrer" target=3D"_blank">http://lists.opensips.org/cgi-bin/mailman/li=
stinfo/users</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href=3D"mailto:Users at lists.opensips.org">Users at lists.opensips.org</a><br=
>
<a href=3D"http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=3D=
"noreferrer" target=3D"_blank">http://lists.opensips.org/cgi-bin/mailman/li=
stinfo/users</a><br>
<br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div cla=
ss=3D"gmail_signature"><div dir=3D"ltr">Aron Podrigal<div>-</div><div>//Be =
happy :-)</div></div></div>
</div>

--001a113ff13c4ad694051ab5b81c--



More information about the Users mailing list