|
|
how to run openser through monit daemon?: msg#00454
voip.openser.user
|
Subject: |
how to run openser through monit daemon? |
Hi all!
I have installed openser through CVS from the following link
http://openser.org/dokuwiki/doku.php?id=install_and_maintain_openser_from_cvs
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-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx>
To: <users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx>
Sent: Friday, May 26, 2006 3:30 PM
Subject: Users Digest, Vol 12, Issue 71
Send Users mailing list submissions to
users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx
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-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx
You can reach the person managing the list at
users-owner-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."
Today's Topics:
1. Re: How to extract sip-id when using alias-id?
(Bogdan-Andrei Iancu)
2. Route Algorithm. (raviprakash sunkara)
3. Re: Forward SUBSCRIBER (Bogdan-Andrei Iancu)
4. RE: 2 Openser Instances (Sam Lee)
----------------------------------------------------------------------
Message: 1
Date: Fri, 26 May 2006 12:35:21 +0300
From: Bogdan-Andrei Iancu <bogdan-/qk4c3+6r1L0ABVSK+4LOw@xxxxxxxxxxxxxxxx>
Subject: Re: [Users] How to extract sip-id when using alias-id?
To: Frogger <froggerandbongo-/E1597aS9LQAvxtiuMwx3w@xxxxxxxxxxxxxxxx>
Cc: users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx
Message-ID: <4476CBD9.80002-/qk4c3+6r1L0ABVSK+4LOw@xxxxxxxxxxxxxxxx>
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-9dM3hzoSjHY@xxxxxxxxxxxxxxxx for sip-id
5551212-RsIHbiFnPJY@xxxxxxxxxxxxxxxx
When 1000-9dM3hzoSjHY@xxxxxxxxxxxxxxxx is dialed by another user in the
domain (I am using "use_domain") the call is properly
routed to: 5551212-RsIHbiFnPJY@xxxxxxxxxxxxxxxx
However, if 5551212-9dM3hzoSjHY@xxxxxxxxxxxxxxxx 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-9dM3hzoSjHY@xxxxxxxxxxxxxxxx
Needs to be:
665551212-9dM3hzoSjHY@xxxxxxxxxxxxxxxx
Thoughts?
F
--- Bogdan-Andrei Iancu <bogdan-/qk4c3+6r1L0ABVSK+4LOw@xxxxxxxxxxxxxxxx>
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
http://mail.yahoo.com
_______________________________________________
Users mailing list
Users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx
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-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>
Subject: [Users] Route Algorithm.
To: Users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx, "Klaus Darilion"
<klaus.mailinglists-JrFdhpDTk1BeoWH0uzbU5w@xxxxxxxxxxxxxxxx>,
daniel-/qk4c3+6r1L0ABVSK+4LOw@xxxxxxxxxxxxxxxx,
nickm-FjbBnHP6h+bc+919tysfdA@xxxxxxxxxxxxxxxx
Message-ID:
<f0f0f9340605260238l2e6ce419qd109b6f97e57c485-JsoAwUIsXosN+BqQ9rBEUg@xxxxxxxxxxxxxxxx>
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://openser.org/pipermail/users/attachments/20060526/afad0b31/attachment.html
------------------------------
Message: 3
Date: Fri, 26 May 2006 12:42:55 +0300
From: Bogdan-Andrei Iancu <bogdan-/qk4c3+6r1L0ABVSK+4LOw@xxxxxxxxxxxxxxxx>
Subject: Re: [Users] Forward SUBSCRIBER
To: Javier Ramirez <jvr_78-/E1597aS9LQMlKAeRRkD2Q@xxxxxxxxxxxxxxxx>
Cc: users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx
Message-ID: <4476CD9F.4060808-/qk4c3+6r1L0ABVSK+4LOw@xxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
as I see you are trying to use the PA for presence - that's a different
story. So, what do you want:
1) presence end-2-end directly between end-users
2) presence via PA - the users will talk only with the PA and not
directly.
regards,
bogdan
Javier Ramirez wrote:
I read all documentation from internet, and nothing.
please
if (method=="SUBSCRIBE") {
if (!t_newtran()) {
sl_reply_error();
};
handle_subscription("registrar");
# break;
};
when I coment the "break;" the SUBSCRIBER message is forward to B user.
if I don´t coment the break, the SUBSCRIBER end in OpenSER.
why ?
best Regards
Javier
------------------------------
Message: 4
Date: Fri, 26 May 2006 17:45:44 +0800
From: "Sam Lee" <sam.lee-0UkvhIHUJaWVdsZdvqBcNw@xxxxxxxxxxxxxxxx>
Subject: RE: [Users] 2 Openser Instances
To: "Klaus Darilion"
<klaus.mailinglists-JrFdhpDTk1BeoWH0uzbU5w@xxxxxxxxxxxxxxxx>
Cc: users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx
Message-ID:
<A0E9DBAAF59F2C49AB566EC7B3907872136A71-RyUldoKxd/hw7QLIISc4PHsb1rIjjFhEi72o2cXPg+0@xxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"
I tried the cacheless mode, it didn't work for me.
I'm just wondering , how did those people out there do their OUTBOUND
proxy ?
Can anyone give me some hint ?
Regards,
Sam
-----Original Message-----
From: Klaus Darilion
[mailto:klaus.mailinglists-JrFdhpDTk1BeoWH0uzbU5w@xxxxxxxxxxxxxxxx]
Sent: Friday, May 26, 2006 4:57 PM
To: Sam Lee
Cc: users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx
Subject: Re: [Users] 2 Openser Instances
Sam Lee wrote:
Hi Klaus,
Thanks for the quick reply. My purpose is one of the instance being a
normal Openser, the other with a FORCE RTPproxy. This is so that if
they have a symmetric NAT going on in their network, they can make use
of this rtpproxy as an outbound proxy but still able to call those
register with the normal openser.
Care to explain what is cacheless userloc mode ? How do I set it ?
http://openser.org/docs/modules/devel/usrloc.html#AEN252
it's mode 3 (only available in CVS head)
Because of the normal and force RTPproxy , these 2 instances has
different routing patterns, and they are handled differently.
I still would use only one proxy and apply NAT traversal only for
clients which use the "NAT traversal" port on your openser.
The idea is:
...
if ( dst_port = 6060) { # needs NAT traversal
if (is_method("REGISTER")) {
setflag(9);
# this is the natflag specified in userloc module #
http://openser.org/docs/modules/1.0.x/registrar.html#AEN103
fix_nated_register();
} else {
# do all the NAT traversal, activate RTP proxy
}
}
# now do the normal call and REGISTER handling
...
...
lookup("location");
if(isflagset(9)) {
...#force rtp proxy
}
....
regards
klaus
Any ideas ?
Regards,
Sam
-----Original Message-----
From: Klaus Darilion
[mailto:klaus.mailinglists-JrFdhpDTk1BeoWH0uzbU5w@xxxxxxxxxxxxxxxx]
Sent: Friday, May 26, 2006 4:28 PM
To: Sam Lee
Cc: users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx
Subject: Re: [Users] 2 Openser Instances
1. You can run several instances of openser on the same PC, but what
is your purpose?
2. If 2 openser proxies share the same userloc database, you have to
use the cacheless userloc mode
3. If you just want to listen on several ports, use a single proxy
with multiple listen directives
listen=udp:1.2.3.4:5060
listen=udp:1.2.3.4:6060
listen=udp:1.2.3.4:7060
regards
klaus
Sam Lee wrote:
Have anyone tried running 2 separate instances on OpenSER (running on
different ports) ?
Both these instances are doing almost exactly the same thing, they
take in REGISTER and save them into the locations database. They all
do all the other processing like INVITE.
Will this causes a problem in MYSQL ? I'm asking this because i got a
very strange problem. I register 1 UA to each instances. When i did a
ul show , it always only have either the UA from instance A or UA
from
instance B . Note, these 2 UA have different numbers. Why can't it
just save both into the MYSQL DB ?
I would be glad to clarify any doubts. Please assist as far as you
can.
Thanks!
Regards,
Sam
---------------------------------------------------------------------
-
--
_______________________________________________
Users mailing list
Users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx
http://openser.org/cgi-bin/mailman/listinfo/users
------------------------------
_______________________________________________
Users mailing list
Users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx
http://openser.org/cgi-bin/mailman/listinfo/users
End of Users Digest, Vol 12, Issue 71
*************************************
|
|