Hi, I'm trying to set up openser with TLS support with mysql database, on Debian. In fact, i could not even start openser with succes. When using "openserctl start":
Starting OpenSER: ERROR: PID file /var/run/openser.pid does not exist -- OpenSER start failed
when using "openser":
Listening on udp: 127.0.0.1 [127.0.0.1]:5060 udp: 164.41.14.213 [164.41.14.213]:5060 tcp: 127.0.0.1 [127.0.0.1]:5060 tcp: 164.41.14.213 [164.41.14.213]:5060 Aliases: tcp: unbvoip3.cic.unb.br:5060 tcp: localhost:5060 tcp: localhost.localdomain:5060 udp: unbvoip3.cic.unb.br:5060 udp: localhost:5060 udp: localhost.localdomain:5060 *: voip.unb.br:*
but it's not running, since my "ps aux | grep openser" cannot find it.
Sugestions???
Thanks,
Marcio
---------- Forwarded message ---------- From: Marcio Ribeiro mouraribeiro@gmail.com Date: Nov 13, 2007 8:57 PM Subject: Error using openser To: users@lists.openser.org
Hi, I'm trying to set up openser with TLS support with mysql database, on Debian. In fact, i could not even start openser with succes. When using "openserctl start":
Starting OpenSER: ERROR: PID file /var/run/openser.pid does not exist -- OpenSER start failed
when using "openser":
Listening on udp: 127.0.0.1 [127.0.0.1]:5060 udp: 164.41.14.213 [164.41.14.213]:5060 tcp: 127.0.0.1 [127.0.0.1]:5060 tcp: 164.41.14.213 [164.41.14.213]:5060 Aliases: tcp: unbvoip3.cic.unb.br:5060 tcp: localhost:5060 tcp: localhost.localdomain:5060 udp: unbvoip3.cic.unb.br:5060 udp: localhost:5060 udp: localhost.localdomain:5060 *: voip.unb.br:*
but it's not running, since my "ps aux | grep openser" cannot find it.
Sugestions???
Thanks,
Marcio
I'm almost embarassed to ask... But is there a place where one can read about the symbols: ~ ^ \ $ ? + and what they do/mean?
For example, consider this following line:
if (!(uri =~ "^sip:.+@(255.255.255.255|(sip.|sip5.)?mydomain.com):5080$"))
It looks like, to me, that it's checking to make sure that uri is NOT equal to any of combination of the data following the @ - but I'm not so sure exactly what I'm reading. ie: the ~ after the =, the ^ in front of sip, the .+ in front of @, the ? before mydomain and the trailing $.... And why the period has the \ in front of them all...?
Yes, I'm totally green at this stuff. :( Thanks in advance for your help...
Brian
Hi, first I ask you not to reply a message if you are going to init a new thread, since your message appears in a thread it doesn't below to. Please, to create a NEW message press "create new mail", but never "Reply" (except if you are in fact replying to a message).
El Wednesday 14 November 2007 01:01:45 Brian Heath escribió:
I'm almost embarassed to ask... But is there a place where one can
read about the symbols: ~ ^ \ $ ? + and what they do/mean?
For example, consider this following line:
if (!(uri =~ "^sip:.+@(255.255.255.255|(sip.|sip5.)?mydomain.com):5080$"))
It looks like, to me, that it's checking to make sure that uri is NOT
equal to any of combination of the data following the @ - but I'm not so sure exactly what I'm reading. ie: the ~ after the =, the ^ in front of sip, the .+ in front of @, the ? before mydomain and the trailing $.... And why the period has the \ in front of them all...?
=~ means regular expresion comparison.
For example:
( "abc" == "123" ) --> False ( "abc" =~ "^a" ) --> True
^ means starting with. This is: "^abc" matches lines starting with "abc".
$ means line ending.
? means any character (0 or more times if I'm not wrong)
But sure sure you should look for any regular expressions manual. for example look in google for "unix regular expressions". There are lots of good manuals ;)
Hello,
Thank you very much for the info, and sorry about the reply thing. I didn't know... :-\
Regards, Brian
----- Original Message ----- From: "Iñaki Baz Castillo" ibc@in.ilimit.es To: users@lists.openser.org Sent: Wednesday, November 14, 2007 1:08 AM Subject: Re: [OpenSER-Users] Variable comparison symbols...
Hi, first I ask you not to reply a message if you are going to init a new thread, since your message appears in a thread it doesn't below to. Please, to create a NEW message press "create new mail", but never "Reply" (except if you are in fact replying to a message).
El Wednesday 14 November 2007 01:01:45 Brian Heath escribió:
I'm almost embarassed to ask... But is there a place where one can
read about the symbols: ~ ^ \ $ ? + and what they do/mean?
For example, consider this following line:
if (!(uri =~ "^sip:.+@(255.255.255.255|(sip.|sip5.)?mydomain.com):5080$"))
It looks like, to me, that it's checking to make sure that uri is NOT
equal to any of combination of the data following the @ - but I'm not so sure exactly what I'm reading. ie: the ~ after the =, the ^ in front of sip, the .+ in front of @, the ? before mydomain and the trailing $.... And why the period has the \ in front of them all...?
=~ means regular expresion comparison.
For example:
( "abc" == "123" ) --> False ( "abc" =~ "^a" ) --> True
^ means starting with. This is: "^abc" matches lines starting with "abc".
$ means line ending.
? means any character (0 or more times if I'm not wrong)
But sure sure you should look for any regular expressions manual. for example look in google for "unix regular expressions". There are lots of good manuals ;)
El Tuesday 13 November 2007 21:57:37 Marcio Ribeiro escribió:
Hi, I'm trying to set up openser with TLS support with mysql database, on Debian. In fact, i could not even start openser with succes. When using "openserctl start":
openserctl is not the command to run OpenSer. The command is "openser" and you should use the init script in case of Debian package.
PD: Please, dont send 2 times the same message.
Hi Marcio,
the message let you know that openser failed to start (no pid file was found) - inspect the syslog log file to find the report on the error preventing openser to start.
Regards, bogdan
Marcio Ribeiro wrote:
Hi, I'm trying to set up openser with TLS support with mysql database, on Debian. In fact, i could not even start openser with succes. When using "openserctl start":
Starting OpenSER: ERROR: PID file /var/run/openser.pid does not exist -- OpenSER start failed
when using "openser":
Listening on udp: 127.0.0.1 http://127.0.0.1 [127.0.0.1 http://127.0.0.1]:5060 udp: 164.41.14.213 http://164.41.14.213 [164.41.14.213 http://164.41.14.213]:5060 tcp: 127.0.0.1 http://127.0.0.1 [127.0.0.1 http://127.0.0.1]:5060 tcp: 164.41.14.213 http://164.41.14.213 [164.41.14.213 http://164.41.14.213]:5060 Aliases: tcp: unbvoip3.cic.unb.br:5060 http://unbvoip3.cic.unb.br:5060 tcp: localhost:5060 tcp: localhost.localdomain:5060 udp: unbvoip3.cic.unb.br:5060 http://unbvoip3.cic.unb.br:5060 udp: localhost:5060 udp: localhost.localdomain:5060 *: voip.unb.br:*
but it's not running, since my "ps aux | grep openser" cannot find it.
Sugestions???
Thanks,
Marcio
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users