Hi all! I have installed openser through CVS from the following link http://openser.org/dokuwiki/doku.php?id=install_and_maintain_openser_from_cv...
till the 8 th step in the link everything went well fine. in the 9 th step, there is a link to make oepnser.init script work and i did all the steps as described. I downloaded and installed the monit daemon to start openser thru it. however, now if i type /etc/init.d/openser start, it says command monit to start openser and then the command prompt appears back. i dont see the tcp and udp ports (5060 ) and other information etc when the openser is started.....and i cant figure out if it is running at all.....if i issue ps command, i dont see any pid for openser.....if i open the web interface of the monit daemon, i see that it is trying to start the openser but after some time it shows failed to start......
please let me know what to do asap..... Thanks
----- Original Message ----- From: users-request@openser.org To: users@openser.org Sent: Friday, May 26, 2006 3:30 PM Subject: Users Digest, Vol 12, Issue 71
Send Users mailing list submissions to users@openser.org
To subscribe or unsubscribe via the World Wide Web, visit http://openser.org/cgi-bin/mailman/listinfo/users or, via email, send a message with subject or body 'help' to users-request@openser.org
You can reach the person managing the list at users-owner@openser.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Users digest..."
Today's Topics:
- Re: How to extract sip-id when using alias-id? (Bogdan-Andrei Iancu)
- Route Algorithm. (raviprakash sunkara)
- Re: Forward SUBSCRIBER (Bogdan-Andrei Iancu)
- RE: 2 Openser Instances (Sam Lee)
Message: 1 Date: Fri, 26 May 2006 12:35:21 +0300 From: Bogdan-Andrei Iancu bogdan@voice-system.ro Subject: Re: [Users] How to extract sip-id when using alias-id? To: Frogger froggerandbongo@yahoo.com Cc: users@openser.org Message-ID: 4476CBD9.80002@voice-system.ro Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
what you can do is to save into an AVP the alias before doing lookup(aliases). In failure route, before sending to voicemail, push the AVP into RURI to have the alias and not the sip id.
regards, bogdan
Frogger wrote:
Good point. I need to clarify...
The alias is working to route to the user however if the timer expires, the route fails or if there is a reject, the failure routes are applying their logic to the alias-id not the sip-id.
What I need to do is apply the failure route logic to the sip-id so we can send the attempt to voicemail.
Let say I have an alias of 1000@sip.com for sip-id 5551212@sip.com.
When 1000@sip.com is dialed by another user in the domain (I am using "use_domain") the call is properly routed to: 5551212@sip.com.
However, if 5551212@sip.com does not answer, timer expires, or a reject, then the failure logic is be applied to the alias.
Failure route says:
prefix("66"); append_branch(); append_urihf("CC-Diversion: ", "\r\n"); t_relay();
Result of the failure logic:
661000@sip.com
Needs to be:
665551212@sip.com
Thoughts?
F
--- Bogdan-Andrei Iancu bogdan@voice-system.ro wrote:
Hi,
not sure I understand - you dial an alias and via db_aliases you replace the alias with the sip-id. So you have the sip-id .. where is the problem?
regards, bogdan
Frogger wrote:
I am using alias_db to store alias's for users.
However when an alias is dialed I need to also be
able
to restore the alias owners original sip-id.
This is necessary to forward the call to voicemail using sip-id.
Any guidance on getting the sip-id out of the
alias_db
and replacing the alias-id prior to forwarding to vmail?
Thanks in advance!
F
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam
protection around
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Message: 2 Date: Fri, 26 May 2006 05:38:23 -0400 From: "raviprakash sunkara" sunkara.raviprakash.feb14@gmail.com Subject: [Users] Route Algorithm. To: Users@openser.org, "Klaus Darilion" klaus.mailinglists@pernau.at, daniel@voice-system.ro, nickm@kryptontech.com Message-ID: f0f0f9340605260238l2e6ce419qd109b6f97e57c485@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
Hi listers and Users.
Please help me in " how to make a call from one place to other place in route algorithm "
I got Call not approved ? what is this and also $04 and $08 messages as not found and request timeout........
It connect ( REgister) to server .
server respond as 1 st " 200 ok " and then " 408 request time out....
plesse help me
Bye..
Thanks and Regards with cheers Sunkara Ravi Prakash (Voip Developer) Hyperion Technology www.hyperion-tech.com
<b>
Hi,
See http://openser.org/dokuwiki/doku.php?id=make_openser.init_script_work
regards, bogdan
Padmaja RV wrote:
Hi all! I have installed openser through CVS from the following link http://openser.org/dokuwiki/doku.php?id=install_and_maintain_openser_from_cv...
till the 8 th step in the link everything went well fine. in the 9 th step, there is a link to make oepnser.init script work and i did all the steps as described. I downloaded and installed the monit daemon to start openser thru it. however, now if i type /etc/init.d/openser start, it says command monit to start openser and then the command prompt appears back. i dont see the tcp and udp ports (5060 ) and other information etc when the openser is started.....and i cant figure out if it is running at all.....if i issue ps command, i dont see any pid for openser.....if i open the web interface of the monit daemon, i see that it is trying to start the openser but after some time it shows failed to start......
please let me know what to do asap..... Thanks
Hi! Thank you for the mail.
I have already followed all the steps mentioned in the links . http://openser.org/dokuwiki/doku.php?id=install_and_maintain_openser_from_cv... http://openser.org/dokuwiki/doku.php?id=make_openser.init_script_work
... pls see my previous mail below.... after all these steps when i actually want to run openser from /etc/init.d/openser start command, it starts monit daemon and then the command prompt appears back..... when i go to the directory /var/run/ i cant see the openser.pid file and also the monit daemon after a while responds that it could nt start openser. this i can see at http://localhost:2812 where the web interface for the monit is running...........
Please let me know the problem free and preferred source of running openser.... which is the best way to run openser (is it from binary or cvs)?
Thanks and Regards, Padmaja ----- Original Message ----- From: "Bogdan-Andrei Iancu" bogdan@voice-system.ro To: "Padmaja RV" padmaja.rv@vodcalabs.com Cc: users@openser.org Sent: Tuesday, May 30, 2006 1:20 PM Subject: Re: [Users] how to run openser through monit daemon?
Hi,
See http://openser.org/dokuwiki/doku.php?id=make_openser.init_script_work
regards, bogdan
Padmaja RV wrote:
Hi all! I have installed openser through CVS from the following link http://openser.org/dokuwiki/doku.php?id=install_and_maintain_openser_from_cv...
till the 8 th step in the link everything went well fine. in the 9 th step, there is a link to make oepnser.init script work and i did all the steps as described. I downloaded and installed the monit daemon to start openser thru it. however, now if i type /etc/init.d/openser start, it says command monit to start openser and then the command prompt appears back. i dont see the tcp and udp ports (5060 ) and other information etc when the openser is started.....and i cant figure out if it is running at all.....if i issue ps command, i dont see any pid for openser.....if i open the web interface of the monit daemon, i see that it is trying to start the openser but after some time it shows failed to start......
please let me know what to do asap..... Thanks
may openser fails to start due a configuration error - check the log for potential errors and hints.
regards, bogdan
Padmaja RV wrote:
Hi! Thank you for the mail.
I have already followed all the steps mentioned in the links . http://openser.org/dokuwiki/doku.php?id=install_and_maintain_openser_from_cv...
http://openser.org/dokuwiki/doku.php?id=make_openser.init_script_work
... pls see my previous mail below.... after all these steps when i actually want to run openser from /etc/init.d/openser start command, it starts monit daemon and then the command prompt appears back..... when i go to the directory /var/run/ i cant see the openser.pid file and also the monit daemon after a while responds that it could nt start openser. this i can see at http://localhost:2812 where the web interface for the monit is running...........
Please let me know the problem free and preferred source of running openser.... which is the best way to run openser (is it from binary or cvs)?
Thanks and Regards, Padmaja ----- Original Message ----- From: "Bogdan-Andrei Iancu" bogdan@voice-system.ro To: "Padmaja RV" padmaja.rv@vodcalabs.com Cc: users@openser.org Sent: Tuesday, May 30, 2006 1:20 PM Subject: Re: [Users] how to run openser through monit daemon?
Hi,
See http://openser.org/dokuwiki/doku.php?id=make_openser.init_script_work
regards, bogdan
Padmaja RV wrote:
Hi all! I have installed openser through CVS from the following link http://openser.org/dokuwiki/doku.php?id=install_and_maintain_openser_from_cv...
till the 8 th step in the link everything went well fine. in the 9 th step, there is a link to make oepnser.init script work and i did all the steps as described. I downloaded and installed the monit daemon to start openser thru it. however, now if i type /etc/init.d/openser start, it says command monit to start openser and then the command prompt appears back. i dont see the tcp and udp ports (5060 ) and other information etc when the openser is started.....and i cant figure out if it is running at all.....if i issue ps command, i dont see any pid for openser.....if i open the web interface of the monit daemon, i see that it is trying to start the openser but after some time it shows failed to start......
please let me know what to do asap..... Thanks
Hi! Thanks for the help.... there is a line i entered in the monit control file that looks something like this:
/var/run/openser.pid..... when i run openser from /etc/init.d/openser start, and look at the web interface of monit, i see that openser failed to start and and when i look into the /var/run directory, there is no pid for openser. does that mean openser was not running at all? Also, please let me know if there is any other way other than monit to run openser which is installed from CVS. I want to directly run openser without the monit daemon. I could not find any logs relevant to openser.
Thanks again for the help,
----- Original Message ----- From: "Bogdan-Andrei Iancu" bogdan@voice-system.ro To: "Padmaja RV" padmaja.rv@vodcalabs.com Cc: users@openser.org Sent: Tuesday, May 30, 2006 2:08 PM Subject: Re: how to run openser through monit daemon?
may openser fails to start due a configuration error - check the log for potential errors and hints.
regards, bogdan
Padmaja RV wrote:
Hi! Thank you for the mail.
I have already followed all the steps mentioned in the links . http://openser.org/dokuwiki/doku.php?id=install_and_maintain_openser_from_cv... http://openser.org/dokuwiki/doku.php?id=make_openser.init_script_work
... pls see my previous mail below.... after all these steps when i actually want to run openser from /etc/init.d/openser start command, it starts monit daemon and then the command prompt appears back..... when i go to the directory /var/run/ i cant see the openser.pid file and also the monit daemon after a while responds that it could nt start openser. this i can see at http://localhost:2812 where the web interface for the monit is running...........
Please let me know the problem free and preferred source of running openser.... which is the best way to run openser (is it from binary or cvs)?
Thanks and Regards, Padmaja ----- Original Message ----- From: "Bogdan-Andrei Iancu" bogdan@voice-system.ro To: "Padmaja RV" padmaja.rv@vodcalabs.com Cc: users@openser.org Sent: Tuesday, May 30, 2006 1:20 PM Subject: Re: [Users] how to run openser through monit daemon?
Hi,
See http://openser.org/dokuwiki/doku.php?id=make_openser.init_script_work
regards, bogdan
Padmaja RV wrote:
Hi all! I have installed openser through CVS from the following link http://openser.org/dokuwiki/doku.php?id=install_and_maintain_openser_from_cv...
till the 8 th step in the link everything went well fine. in the 9 th step, there is a link to make oepnser.init script work and i did all the steps as described. I downloaded and installed the monit daemon to start openser thru it. however, now if i type /etc/init.d/openser start, it says command monit to start openser and then the command prompt appears back. i dont see the tcp and udp ports (5060 ) and other information etc when the openser is started.....and i cant figure out if it is running at all.....if i issue ps command, i dont see any pid for openser.....if i open the web interface of the monit daemon, i see that it is trying to start the openser but after some time it shows failed to start......
please let me know what to do asap..... Thanks
Hi! there is something I need to mention here with respect to openser not working.....
Initially I had openser installed from .tar.gz and i could run it from /usr/local/sbin/openser. It worked fine that way without any authentication. I could see local registration of my sip UAs with the openser being successful. then i set up mysql. It too started successfulyy thru webmin. next I tried to create the openser database in mysql from /usr/sbin/openser_mysql.sh create. It prompted me for the root password of mysql, the domain name and then failed stating that the Ha1 calculation failed. also when i tried to modify the openser.cfg file to support mysql database i found that there is no mysql.so module in the /usr/local/lib/openser/modules/ path.
Because of the above problems, I tried installing openser from CVS and here all the modules and configuration files are present in the respective locations as mentioned in the web link for installing openser. I could even create the openser database structures in mysql. i tried uncommenting the needed modules for database suppport. now when i try to run openser thru monit, there is absolutely no response and openser does not look like running............
I am a newbie at openser......please help me which way i should run openser.....
thanks and regards, Padmaja ----- Original Message ----- From: "Bogdan-Andrei Iancu" bogdan@voice-system.ro To: "Padmaja RV" padmaja.rv@vodcalabs.com Cc: users@openser.org Sent: Tuesday, May 30, 2006 2:08 PM Subject: Re: how to run openser through monit daemon?
may openser fails to start due a configuration error - check the log for potential errors and hints.
regards, bogdan
Padmaja RV wrote:
Hi! Thank you for the mail.
I have already followed all the steps mentioned in the links . http://openser.org/dokuwiki/doku.php?id=install_and_maintain_openser_from_cv... http://openser.org/dokuwiki/doku.php?id=make_openser.init_script_work
... pls see my previous mail below.... after all these steps when i actually want to run openser from /etc/init.d/openser start command, it starts monit daemon and then the command prompt appears back..... when i go to the directory /var/run/ i cant see the openser.pid file and also the monit daemon after a while responds that it could nt start openser. this i can see at http://localhost:2812 where the web interface for the monit is running...........
Please let me know the problem free and preferred source of running openser.... which is the best way to run openser (is it from binary or cvs)?
Thanks and Regards, Padmaja ----- Original Message ----- From: "Bogdan-Andrei Iancu" bogdan@voice-system.ro To: "Padmaja RV" padmaja.rv@vodcalabs.com Cc: users@openser.org Sent: Tuesday, May 30, 2006 1:20 PM Subject: Re: [Users] how to run openser through monit daemon?
Hi,
See http://openser.org/dokuwiki/doku.php?id=make_openser.init_script_work
regards, bogdan
Padmaja RV wrote:
Hi all! I have installed openser through CVS from the following link http://openser.org/dokuwiki/doku.php?id=install_and_maintain_openser_from_cv...
till the 8 th step in the link everything went well fine. in the 9 th step, there is a link to make oepnser.init script work and i did all the steps as described. I downloaded and installed the monit daemon to start openser thru it. however, now if i type /etc/init.d/openser start, it says command monit to start openser and then the command prompt appears back. i dont see the tcp and udp ports (5060 ) and other information etc when the openser is started.....and i cant figure out if it is running at all.....if i issue ps command, i dont see any pid for openser.....if i open the web interface of the monit daemon, i see that it is trying to start the openser but after some time it shows failed to start......
please let me know what to do asap..... Thanks