Hi Guys,
I have a NAT problem, whereby I cannot get the RTP packets from a
NATed user. Hence, I am trying to implement the Mediaproxy solution
from ONSIP.
1. Mediaproxy and Ser are installed on the same PC, say 202.123.45.85.
I've set SER to listen at 202.123.45.85, port 5060. How should I
configure the ini file for Mediaproxy? Can someone please provide me
with a simple example of how the mediaproxy ini file should be
configured?
2. Assuming that I set mediaproxy to listen at 202.123.45.85, port
5061, & SER at 202.123.45.85, port 5060, how should my client's sip
proxy setting be set? Is it 202.123.45.85:5061?
3. Mediaproxy has settings for proxy dispatcher & mediaproxy. What
should be the settings for them in my case?
4. Do I need to configure additional files other than ser.cfg & mediaproxy.ini?
5. Lastly, for SER I am using :
modparam("usrloc", "db_mode", 0)
to check for all registered users online, do I use the command :
serctl ul show
Many thanks any suggestions.
Regards,
Zan
I used exactly that script. But It did not create any
LCR related tables.!!!
--- Ricardo Martinez <rmartinez(a)redvoiss.net> wrote:
> Hello Dave.
> If i'm not wrong, there is a shell script included
> in the last SER
> version to create all the DB tables related to SER.
> I think there is in :
> /sip_router/scripts/ and is called "ser_mysql.sh"
> You can try that!.
>
> Regards,
> Ricardo Martinez
>
>
>
> > -----Mensaje original-----
> > De: Dave [mailto:ddx66@yahoo.com]
> > Enviado el: Viernes, 29 de Julio de 2005 11:16
> > Para: serusers(a)lists.iptel.org
> > Asunto: [Serusers] LCR on onsip.org - No DB tables
> created?
> >
> >
> > Hi, I downloaded and installed the ser-0.9.3 from
> > onsip.org with the intention of using LCR.
> Although,
> > the LCR module was complied, I do not see the
> tables
> > lcr, gw in the DB? How do I create them?
> > Thanks
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Thanks Ricardo - Do I need to add these to "versions"
table in ser database? If yes, what is the version
number for these tables?
Dave
--- Ricardo Martinez <rmartinez(a)redvoiss.net> wrote:
> Hello Dave.
> I was almost sure that the tables for LCR were
> defined there!, my mystake.
> But, i have the table definitions (i can't rememeber
> where i found it). You
> can check with Juha if there is a mistake in the
> tables.
>
> #
> # Table structure for table 'gw'
> #
>
> CREATE TABLE gw (
> gw_name VARCHAR(128) NOT NULL,
> ip_addr INT UNSIGNED NOT NULL,
> port SMALLINT UNSIGNED,
> grp_id INT UNSIGNED NOT NULL,
> PRIMARY KEY (gw_name),
> KEY (grp_id)
> );
>
> #
> # Table structure for table 'gw_grp'
> #
>
> CREATE TABLE gw_grp (
> grp_id INT UNSIGNED NOT NULL AUTO_INCREMENT
> PRIMARY KEY,
> grp_name VARCHAR(64) NOT NULL
> );
>
> #
> # Table structure for table 'lcr'
> #
>
> CREATE TABLE lcr (
> prefix varchar(16) NOT NULL,
> from_uri varchar(128) NOT NULL DEFAULT '%',
> grp_id INT UNSIGNED NOT NULL,
> priority TINYINT UNSIGNED NOT NULL,
> KEY (prefix),
> KEY (from_uri),
> KEY (grp_id)
> );
>
>
> Regards
> Ricardo.-
>
> > -----Mensaje original-----
> > De: Dave [mailto:ddx66@yahoo.com]
> > Enviado el: Viernes, 29 de Julio de 2005 11:30
> > Para: Ricardo Martinez; serusers(a)lists.iptel.org
> > Asunto: RE: [Serusers] LCR on onsip.org - No DB
> tables created?
> >
> >
> > I used exactly that script. But It did not create
> any
> > LCR related tables.!!!
> >
> >
> > --- Ricardo Martinez <rmartinez(a)redvoiss.net>
> wrote:
> >
> > > Hello Dave.
> > > If i'm not wrong, there is a shell script
> included
> > > in the last SER
> > > version to create all the DB tables related to
> SER.
> > > I think there is in :
> > > /sip_router/scripts/ and is called
> "ser_mysql.sh"
> > > You can try that!.
> > >
> > > Regards,
> > > Ricardo Martinez
> > >
> > >
> > >
> > > > -----Mensaje original-----
> > > > De: Dave [mailto:ddx66@yahoo.com]
> > > > Enviado el: Viernes, 29 de Julio de 2005 11:16
> > > > Para: serusers(a)lists.iptel.org
> > > > Asunto: [Serusers] LCR on onsip.org - No DB
> tables
> > > created?
> > > >
> > > >
> > > > Hi, I downloaded and installed the ser-0.9.3
> from
> > > > onsip.org with the intention of using LCR.
> > > Although,
> > > > the LCR module was complied, I do not see the
> > > tables
> > > > lcr, gw in the DB? How do I create them?
> > > > Thanks
> > > >
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Tired of spam? Yahoo! Mail has the best spam
> > > protection around
> > > > http://mail.yahoo.com
> > > >
> > > >
> _______________________________________________
> > > > Serusers mailing list
> > > > serusers(a)lists.iptel.org
> > > >
> http://lists.iptel.org/mailman/listinfo/serusers
> > > >
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
>
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
Hi all,
I am experiencing some problems while configuring SER in order to
fork between different contacts (a SIP UA and a SIP Gateway) and passing
through a mediaproxy:
The scenario is the following: (3 calls)
UA1 -> SER : INVITE sip:ramu at xyz.com
SER forks:
SER -> UA2 : INVITE sip:ramu@[local-ip] {SDP is changed by
mediaproxy module}
SER -> GW: INVITE sip:PSTN-NUMBER@[gateway-ip] {SDP is changed by
mediaproxy module}
SER -> GW: INVITE sip:PSTN-NUMBER@[gateway-ip] {SDP is changed by
mediaproxy module
GW -> SER: 183 Session Progress
SER -> UA1: 183 Session Progress {SDP is changed by mediaproxy module}
Audio session with the mediaproxy is Active
GW -> SER: 183 Session Progress
SER -> UA1: 183 Session Progress {SDP is changed by mediaproxy module}
Audio session with the mediaproxy is Active
UA2 -> SER: 180 Ringing
SER -> UA1: 180 Ringing
UA2 -> SER: 200 OK
SER -> UA1: 200 OK {SDP is changed by mediaproxy module}
Audio session with the mediaproxy is Active.
SER -> GW: CANCEL
....
The call gets connected, but the problem is that the audio session is mute:
onreply_route[1] {
if (status=~"(183)|2[0-9][0-9]") {
if (client_nat_test("1")) {
fix_contact();
};
use_media_proxy();
};
};
Can you help me on this ?
Thank you a lot in advance,
--
Ramu Yadav
Hi!
In many situations it would be useful to verify the destination IP
address of a message before sending the message. E.g. I want to make
sure that accounting and authentication was applied before sending a
request to a gateway.
loose_route and DNS resolving make it impossible to handle all scenarios
in the config script. Thinking about the problem I got the following idea:
The tm module should, after all DNS lookups, verify the dest. IP
against a blacklist (e.g. the GW table from lcr module). If the dest. IP
is on the blacklist, the message will only be sent if a certain flag is
set. This flag will be set in the config script after all checks (acc,
auth...) has been applied.
What do you think about this idea? Any other ideas for this problem?
regards,
klaus
I may not have the subject right, but I'm looking for how to do the following:
I have a jabber client and a jabber server on localhost. Everyone
else in the company uses sip/simple by connecting Messenger to
olcs.company.com.
I would like to make it so that my jabber client can browse to or
discover a transport that will behave as if it is a Messenger client
to olcs.company.com.
Unfortunately, I don't know the correct vocabulary to even use to
express this idea what I have read doesn't seem to map (and I have
made some attempt at this on my Debian system, but it seems that I
have nothing working).
Is all this even possible, and if so, how can it be achieved?
Thanks in advance,
Dave.
Hi!
ser and openser debian packages can't be installed on the same machine
as the gen_ha1 utility conflicts.
What about renaming it to gen_ha1_openser?
regards,
klaus
Were in the early stage of building up an initial SER configuration and find that even with the abundant information on onsip.orgs site and posts, a lot of things that can go wrong. We want to build up the full authenticated/NATed/ system specified in the onsip.orgs excellent 0.9.3 documentation and wed like to cooperate with several other people wanting to do the same in a sort of small virtual workshop. The goal is to help each other and accelerate our mutual progress and the emphasis is on direct communication (VOIP of course) or even SSH or VNC into a remote server for assistance.
The config wed like to replicate in steps is everything in the SER Getting Started document up to and including the config on page 36 (5.1.1) Mediaproxy Transparent NAT Traversal. Were open to the Rtpproxy version also but the guide provides more info on Mediaproxy.
In a subsequent step wed like to implement the PSTN gateway similar to that on page 52 though maybe not exactly as described there. Anyway that's a downstream step.
For greatest benefit we think it would be useful to implement with a common Linux distro/build and UAs, which should all be freely available. Can discuss it more with interested participants.
Once completed will be glad to contribute the notes and experiences back to onsip.org to the extent it might help others.
Email us if you're interested. Will share VOIP numbers and more info.
Regards,
MC
---------------------------------
Start your day with Yahoo! - make it your home page
What did u run it as ? Root ? If not , then probably when u start ser ,
it cant write to /var/run/ser.pid , which is the default path and
requires root permission.
Sam
________________________________
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of Colin Jordan
Sent: Friday, July 29, 2005 5:28 PM
To: serusers(a)lists.iptel.org
Subject: [Serusers] ser.pif file not found
I cannot control SER via serctl stop/start due to the fact that when it
runs
via this command it is not finding a ser.pid. I have searched for
ser.pid on my system and it is
not there (was just making sure that serctl was not looking in the wrong
spot for the PID file). Any suggestions??
DISCLAIMER: The information in this message is confidential and is
legally
privileged. It is intended solely for the addressee. Access to this
message by
anyone else is unauthorized.If receiving in error please accept our
apologies
and notify the sender immediately. You must also delete the original
message from your machine. If you are not the intended recipient, any
use,
disclosure, copying, distribution or action taken in reliance of it, is
prohibited
and maybe
unlawful.
Hello Dave.
I was almost sure that the tables for LCR were defined there!, my mystake.
But, i have the table definitions (i can't rememeber where i found it). You
can check with Juha if there is a mistake in the tables.
#
# Table structure for table 'gw'
#
CREATE TABLE gw (
gw_name VARCHAR(128) NOT NULL,
ip_addr INT UNSIGNED NOT NULL,
port SMALLINT UNSIGNED,
grp_id INT UNSIGNED NOT NULL,
PRIMARY KEY (gw_name),
KEY (grp_id)
);
#
# Table structure for table 'gw_grp'
#
CREATE TABLE gw_grp (
grp_id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
grp_name VARCHAR(64) NOT NULL
);
#
# Table structure for table 'lcr'
#
CREATE TABLE lcr (
prefix varchar(16) NOT NULL,
from_uri varchar(128) NOT NULL DEFAULT '%',
grp_id INT UNSIGNED NOT NULL,
priority TINYINT UNSIGNED NOT NULL,
KEY (prefix),
KEY (from_uri),
KEY (grp_id)
);
Regards
Ricardo.-
> -----Mensaje original-----
> De: Dave [mailto:ddx66@yahoo.com]
> Enviado el: Viernes, 29 de Julio de 2005 11:30
> Para: Ricardo Martinez; serusers(a)lists.iptel.org
> Asunto: RE: [Serusers] LCR on onsip.org - No DB tables created?
>
>
> I used exactly that script. But It did not create any
> LCR related tables.!!!
>
>
> --- Ricardo Martinez <rmartinez(a)redvoiss.net> wrote:
>
> > Hello Dave.
> > If i'm not wrong, there is a shell script included
> > in the last SER
> > version to create all the DB tables related to SER.
> > I think there is in :
> > /sip_router/scripts/ and is called "ser_mysql.sh"
> > You can try that!.
> >
> > Regards,
> > Ricardo Martinez
> >
> >
> >
> > > -----Mensaje original-----
> > > De: Dave [mailto:ddx66@yahoo.com]
> > > Enviado el: Viernes, 29 de Julio de 2005 11:16
> > > Para: serusers(a)lists.iptel.org
> > > Asunto: [Serusers] LCR on onsip.org - No DB tables
> > created?
> > >
> > >
> > > Hi, I downloaded and installed the ser-0.9.3 from
> > > onsip.org with the intention of using LCR.
> > Although,
> > > the LCR module was complied, I do not see the
> > tables
> > > lcr, gw in the DB? How do I create them?
> > > Thanks
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > > http://mail.yahoo.com
> > >
> > > _______________________________________________
> > > Serusers mailing list
> > > serusers(a)lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> > >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>