Hi Fabio!
Just replace your condition in the reply route with my condition.
No, you don't need to any special commands for the rtpproxy.
Yes I have sample cfg - i already postet is ome time ago - search the archive.
regards, klaus
PS: cc to the list
Fabio Silvestri wrote:
Well, where do I need to include that code if { } on my ser.cfg?
Do you have a sample cfg?
How do I need to run rtpproxy, have some special command line?
On Mon, 1 Mar 2004, Klaus Darilion wrote:
Date: Mon, 01 Mar 2004 09:35:12 +0100 From: Klaus Darilion klaus.mailinglists@pernau.at To: Fábio Silvestri fabio@informatec.com.br Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SER and rtpproxy
Fábio Silvestri wrote:
Hi!
After a long search on maillinst, I'm trying to run SER with rtpproxy, for resolve problems with SIP UA (ata186) behind a nat, but I'm still get in trouble.
I have setup ser.cfg to use rtpproxy, like this:
... if (method=="INVITE") { log(1,"INVITE\n"); fix_nated_sdp("1"); record_route(); force_rport(); setflag(1); force_rtp_proxy(); t_on_reply("1"); } ... onreply_route[1] { log(1, ">=====> reply 1\n"); if ((status=~"[12][0-9][0-9]")) { force_rtp_proxy(); } } ...
But I get this error on syslog:
0(5463) ERROR: extract_mediaip: no `c=' in SDP
This will happen when you try to rewrite a response without sdp, e.g. 100 trying, 180 ringing....
I'm unsing: if ( (status=~"200" || status=~"183") ) { force_rtp_proxy();
I'm running rtpproxy, on linux shell without any parameters.
Does anybody knows what this means that message, and how to solve, a ser.cfg for rtpproxy, and others tips will be helpfull...
Regards.
Well, I have done changes on my ser.cfg, but I'm getting same erros when I run ser!
0(12525) ERROR: extract_mediaip: no `c=' in SDP
Klaus Darilion wrote:
Hi Fabio!
Just replace your condition in the reply route with my condition.
No, you don't need to any special commands for the rtpproxy.
Yes I have sample cfg - i already postet is ome time ago - search the archive.
regards, klaus
PS: cc to the list
Fabio Silvestri wrote:
Well, where do I need to include that code if { } on my ser.cfg?
Do you have a sample cfg?
How do I need to run rtpproxy, have some special command line?
On Mon, 1 Mar 2004, Klaus Darilion wrote:
Date: Mon, 01 Mar 2004 09:35:12 +0100 From: Klaus Darilion klaus.mailinglists@pernau.at To: Fábio Silvestri fabio@informatec.com.br Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SER and rtpproxy
Fábio Silvestri wrote:
Hi!
After a long search on maillinst, I'm trying to run SER with rtpproxy, for resolve problems with SIP UA (ata186) behind a nat, but I'm still get in trouble.
I have setup ser.cfg to use rtpproxy, like this:
... if (method=="INVITE") { log(1,"INVITE\n"); fix_nated_sdp("1"); record_route(); force_rport(); setflag(1); force_rtp_proxy(); t_on_reply("1"); } ... onreply_route[1] { log(1, ">=====> reply 1\n"); if ((status=~"[12][0-9][0-9]")) { force_rtp_proxy(); } } ...
But I get this error on syslog:
0(5463) ERROR: extract_mediaip: no `c=' in SDP
This will happen when you try to rewrite a response without sdp, e.g. 100 trying, 180 ringing....
I'm unsing: if ( (status=~"200" || status=~"183") ) { force_rtp_proxy();
I'm running rtpproxy, on linux shell without any parameters.
Does anybody knows what this means that message, and how to solve, a ser.cfg for rtpproxy, and others tips will be helpfull...
Regards.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Use ethereal and watch the packets traversing your proxy. Additionally, put log(1,"log messages....."); into your ser.cfg and watch them with: tail -f /var/log/messages
Put log statements after each condition and watch if the script behaves as it should.
Klaus
Fábio Silvestri wrote:
Well, I have done changes on my ser.cfg, but I'm getting same erros when I run ser!
0(12525) ERROR: extract_mediaip: no `c=' in SDP
Klaus Darilion wrote:
Hi Fabio!
Just replace your condition in the reply route with my condition.
No, you don't need to any special commands for the rtpproxy.
Yes I have sample cfg - i already postet is ome time ago - search the archive.
regards, klaus
PS: cc to the list
Fabio Silvestri wrote:
Well, where do I need to include that code if { } on my ser.cfg?
Do you have a sample cfg?
How do I need to run rtpproxy, have some special command line?
On Mon, 1 Mar 2004, Klaus Darilion wrote:
Date: Mon, 01 Mar 2004 09:35:12 +0100 From: Klaus Darilion klaus.mailinglists@pernau.at To: Fábio Silvestri fabio@informatec.com.br Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SER and rtpproxy
Fábio Silvestri wrote:
Hi!
After a long search on maillinst, I'm trying to run SER with rtpproxy, for resolve problems with SIP UA (ata186) behind a nat, but I'm still get in trouble.
I have setup ser.cfg to use rtpproxy, like this:
... if (method=="INVITE") { log(1,"INVITE\n"); fix_nated_sdp("1"); record_route(); force_rport(); setflag(1); force_rtp_proxy(); t_on_reply("1"); } ... onreply_route[1] { log(1, ">=====> reply 1\n"); if ((status=~"[12][0-9][0-9]")) { force_rtp_proxy(); } } ...
But I get this error on syslog:
0(5463) ERROR: extract_mediaip: no `c=' in SDP
This will happen when you try to rewrite a response without sdp, e.g. 100 trying, 180 ringing....
I'm unsing: if ( (status=~"200" || status=~"183") ) { force_rtp_proxy();
I'm running rtpproxy, on linux shell without any parameters.
Does anybody knows what this means that message, and how to solve, a ser.cfg for rtpproxy, and others tips will be helpfull...
Regards.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi!
I have a outbound proxy configured and working very well, but I have a little problem, when both clientes are registered on SER and behind a proxy!
The call's don't work, or the phone rings one time only, and in all cases the return voice, can't be listen.
Klaus, i'm using a script I have founded from you!
Regards.
Klaus Darilion wrote:
Hi Fabio!
Just replace your condition in the reply route with my condition.
No, you don't need to any special commands for the rtpproxy.
Yes I have sample cfg - i already postet is ome time ago - search the archive.
regards, klaus
PS: cc to the list
Fabio Silvestri wrote:
Well, where do I need to include that code if { } on my ser.cfg?
Do you have a sample cfg?
How do I need to run rtpproxy, have some special command line?
On Mon, 1 Mar 2004, Klaus Darilion wrote:
Date: Mon, 01 Mar 2004 09:35:12 +0100 From: Klaus Darilion klaus.mailinglists@pernau.at To: Fábio Silvestri fabio@informatec.com.br Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SER and rtpproxy
Fábio Silvestri wrote:
Hi!
After a long search on maillinst, I'm trying to run SER with rtpproxy, for resolve problems with SIP UA (ata186) behind a nat, but I'm still get in trouble.
I have setup ser.cfg to use rtpproxy, like this:
... if (method=="INVITE") { log(1,"INVITE\n"); fix_nated_sdp("1"); record_route(); force_rport(); setflag(1); force_rtp_proxy(); t_on_reply("1"); } ... onreply_route[1] { log(1, ">=====> reply 1\n"); if ((status=~"[12][0-9][0-9]")) { force_rtp_proxy(); } } ...
But I get this error on syslog:
0(5463) ERROR: extract_mediaip: no `c=' in SDP
This will happen when you try to rewrite a response without sdp, e.g. 100 trying, 180 ringing....
I'm unsing: if ( (status=~"200" || status=~"183") ) { force_rtp_proxy();
I'm running rtpproxy, on linux shell without any parameters.
Does anybody knows what this means that message, and how to solve, a ser.cfg for rtpproxy, and others tips will be helpfull...
Regards.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
After cvs update on rtpproxy, now I'm getting this message when running:
# rtpproxy -2f:
rtpproxy: rtpproxy started, pid 1681 rtpproxy: command syntax error rtpproxy: command syntax error rtpproxy: command syntax error rtpproxy: command syntax error rtpproxy: command syntax error
Fábio Silvestri wrote:
Hi!
I have a outbound proxy configured and working very well, but I have a little problem, when both clientes are registered on SER and behind a proxy!
The call's don't work, or the phone rings one time only, and in all cases the return voice, can't be listen.
Klaus, i'm using a script I have founded from you!
Regards.
Klaus Darilion wrote:
Hi Fabio!
Just replace your condition in the reply route with my condition.
No, you don't need to any special commands for the rtpproxy.
Yes I have sample cfg - i already postet is ome time ago - search the archive.
regards, klaus
PS: cc to the list
Fabio Silvestri wrote:
Well, where do I need to include that code if { } on my ser.cfg?
Do you have a sample cfg?
How do I need to run rtpproxy, have some special command line?
On Mon, 1 Mar 2004, Klaus Darilion wrote:
Date: Mon, 01 Mar 2004 09:35:12 +0100 From: Klaus Darilion klaus.mailinglists@pernau.at To: Fábio Silvestri fabio@informatec.com.br Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SER and rtpproxy
Fábio Silvestri wrote:
Hi!
After a long search on maillinst, I'm trying to run SER with rtpproxy, for resolve problems with SIP UA (ata186) behind a nat, but I'm still get in trouble.
I have setup ser.cfg to use rtpproxy, like this:
... if (method=="INVITE") { log(1,"INVITE\n"); fix_nated_sdp("1"); record_route(); force_rport(); setflag(1); force_rtp_proxy(); t_on_reply("1"); } ... onreply_route[1] { log(1, ">=====> reply 1\n"); if ((status=~"[12][0-9][0-9]")) { force_rtp_proxy(); } } ...
But I get this error on syslog:
0(5463) ERROR: extract_mediaip: no `c=' in SDP
This will happen when you try to rewrite a response without sdp, e.g. 100 trying, 180 ringing....
I'm unsing: if ( (status=~"200" || status=~"183") ) { force_rtp_proxy();
I'm running rtpproxy, on linux shell without any parameters.
Does anybody knows what this means that message, and how to solve, a ser.cfg for rtpproxy, and others tips will be helpfull...
Regards.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
You have to use rtpproxy v20040105 if you're working with 0.8.12 stable.
What do you mean with "both clients behind a proxy"? The clients are registered at different proxies? Then only one proxy has to enable the rtpproxy.
klaus
Fábio Silvestri wrote:
After cvs update on rtpproxy, now I'm getting this message when running:
# rtpproxy -2f:
rtpproxy: rtpproxy started, pid 1681 rtpproxy: command syntax error rtpproxy: command syntax error rtpproxy: command syntax error rtpproxy: command syntax error rtpproxy: command syntax error
Fábio Silvestri wrote:
Hi!
I have a outbound proxy configured and working very well, but I have a little problem, when both clientes are registered on SER and behind a proxy!
The call's don't work, or the phone rings one time only, and in all cases the return voice, can't be listen.
Klaus, i'm using a script I have founded from you!
Regards.
Klaus Darilion wrote:
Hi Fabio!
Just replace your condition in the reply route with my condition.
No, you don't need to any special commands for the rtpproxy.
Yes I have sample cfg - i already postet is ome time ago - search the archive.
regards, klaus
PS: cc to the list
Fabio Silvestri wrote:
Well, where do I need to include that code if { } on my ser.cfg?
Do you have a sample cfg?
How do I need to run rtpproxy, have some special command line?
On Mon, 1 Mar 2004, Klaus Darilion wrote:
Date: Mon, 01 Mar 2004 09:35:12 +0100 From: Klaus Darilion klaus.mailinglists@pernau.at To: Fábio Silvestri fabio@informatec.com.br Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SER and rtpproxy
Fábio Silvestri wrote:
Hi!
After a long search on maillinst, I'm trying to run SER with rtpproxy, for resolve problems with SIP UA (ata186) behind a nat, but I'm still get in trouble.
I have setup ser.cfg to use rtpproxy, like this:
... if (method=="INVITE") { log(1,"INVITE\n"); fix_nated_sdp("1"); record_route(); force_rport(); setflag(1); force_rtp_proxy(); t_on_reply("1"); } ... onreply_route[1] { log(1, ">=====> reply 1\n"); if ((status=~"[12][0-9][0-9]")) { force_rtp_proxy(); } } ...
But I get this error on syslog:
0(5463) ERROR: extract_mediaip: no `c=' in SDP
This will happen when you try to rewrite a response without sdp, e.g. 100 trying, 180 ringing....
I'm unsing: if ( (status=~"200" || status=~"183") ) { force_rtp_proxy();
I'm running rtpproxy, on linux shell without any parameters.
Does anybody knows what this means that message, and how to solve, a ser.cfg for rtpproxy, and others tips will be helpfull...
Regards.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
I have this structure!
. One server running SER as REGISTRAR . Another server as Outbound Proxy (running ser and rtpproxy)
Clients are ATA186, registering on first server, and when are inside NAT, using second server as Outbond.
Sometimes, they can't call each other, or the phones rings one time only, or can't rear anything.
Klaus Darilion wrote:
You have to use rtpproxy v20040105 if you're working with 0.8.12 stable.
What do you mean with "both clients behind a proxy"? The clients are registered at different proxies? Then only one proxy has to enable the rtpproxy.
klaus
Fábio Silvestri wrote:
After cvs update on rtpproxy, now I'm getting this message when running:
# rtpproxy -2f:
rtpproxy: rtpproxy started, pid 1681 rtpproxy: command syntax error rtpproxy: command syntax error rtpproxy: command syntax error rtpproxy: command syntax error rtpproxy: command syntax error
Fábio Silvestri wrote:
Hi!
I have a outbound proxy configured and working very well, but I have a little problem, when both clientes are registered on SER and behind a proxy!
The call's don't work, or the phone rings one time only, and in all cases the return voice, can't be listen.
Klaus, i'm using a script I have founded from you!
Regards.
Klaus Darilion wrote:
Hi Fabio!
Just replace your condition in the reply route with my condition.
No, you don't need to any special commands for the rtpproxy.
Yes I have sample cfg - i already postet is ome time ago - search the archive.
regards, klaus
PS: cc to the list
Fabio Silvestri wrote:
Well, where do I need to include that code if { } on my ser.cfg?
Do you have a sample cfg?
How do I need to run rtpproxy, have some special command line?
On Mon, 1 Mar 2004, Klaus Darilion wrote:
Date: Mon, 01 Mar 2004 09:35:12 +0100 From: Klaus Darilion klaus.mailinglists@pernau.at To: Fábio Silvestri fabio@informatec.com.br Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SER and rtpproxy
Fábio Silvestri wrote:
> Hi! > > After a long search on maillinst, I'm trying to run SER with > rtpproxy, for resolve problems with SIP UA (ata186) behind a nat, > but I'm still get in trouble. > > I have setup ser.cfg to use rtpproxy, like this: > > ... > if (method=="INVITE") { > log(1,"INVITE\n"); > fix_nated_sdp("1"); > record_route(); > force_rport(); > setflag(1); > force_rtp_proxy(); > t_on_reply("1"); > } > ... > onreply_route[1] { > log(1, ">=====> reply 1\n"); > if ((status=~"[12][0-9][0-9]")) { > force_rtp_proxy(); > } > } > ... > > But I get this error on syslog: > > 0(5463) ERROR: extract_mediaip: no `c=' in SDP >
This will happen when you try to rewrite a response without sdp, e.g. 100 trying, 180 ringing....
I'm unsing: if ( (status=~"200" || status=~"183") ) { force_rtp_proxy();
> I'm running rtpproxy, on linux shell without any parameters. > > Does anybody knows what this means that message, and how to > solve, a ser.cfg for rtpproxy, and others tips will be helpfull... > > Regards. >
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
watch the packet flow using ngrep. analyze the INVITE and 200 OK messages if the SDP is rewritten properly (to point to the rtpproxy) watch the RTP stream using a packet sniffer (e.g. ethereal)
look into /var/log/messages and look ofr error and warnings produced by ser.
Klaus
Fábio Silvestri wrote:
I have this structure!
. One server running SER as REGISTRAR . Another server as Outbound Proxy (running ser and rtpproxy)
Clients are ATA186, registering on first server, and when are inside NAT, using second server as Outbond.
Sometimes, they can't call each other, or the phones rings one time only, or can't rear anything.
Klaus Darilion wrote:
You have to use rtpproxy v20040105 if you're working with 0.8.12 stable.
What do you mean with "both clients behind a proxy"? The clients are registered at different proxies? Then only one proxy has to enable the rtpproxy.
klaus
Fábio Silvestri wrote:
After cvs update on rtpproxy, now I'm getting this message when running:
# rtpproxy -2f:
rtpproxy: rtpproxy started, pid 1681 rtpproxy: command syntax error rtpproxy: command syntax error rtpproxy: command syntax error rtpproxy: command syntax error rtpproxy: command syntax error
Fábio Silvestri wrote:
Hi!
I have a outbound proxy configured and working very well, but I have a little problem, when both clientes are registered on SER and behind a proxy!
The call's don't work, or the phone rings one time only, and in all cases the return voice, can't be listen.
Klaus, i'm using a script I have founded from you!
Regards.
Klaus Darilion wrote:
Hi Fabio!
Just replace your condition in the reply route with my condition.
No, you don't need to any special commands for the rtpproxy.
Yes I have sample cfg - i already postet is ome time ago - search the archive.
regards, klaus
PS: cc to the list
Fabio Silvestri wrote:
Well, where do I need to include that code if { } on my ser.cfg?
Do you have a sample cfg?
How do I need to run rtpproxy, have some special command line?
On Mon, 1 Mar 2004, Klaus Darilion wrote:
> Date: Mon, 01 Mar 2004 09:35:12 +0100 > From: Klaus Darilion klaus.mailinglists@pernau.at > To: Fábio Silvestri fabio@informatec.com.br > Cc: serusers@lists.iptel.org > Subject: Re: [Serusers] SER and rtpproxy > > > > Fábio Silvestri wrote: > > >> Hi! >> >> After a long search on maillinst, I'm trying to run SER with >> rtpproxy, for resolve problems with SIP UA (ata186) behind a >> nat, but I'm still get in trouble. >> >> I have setup ser.cfg to use rtpproxy, like this: >> >> ... >> if (method=="INVITE") { >> log(1,"INVITE\n"); >> fix_nated_sdp("1"); >> record_route(); >> force_rport(); >> setflag(1); >> force_rtp_proxy(); >> t_on_reply("1"); >> } >> ... >> onreply_route[1] { >> log(1, ">=====> reply 1\n"); >> if ((status=~"[12][0-9][0-9]")) { >> force_rtp_proxy(); >> } >> } >> ... >> >> But I get this error on syslog: >> >> 0(5463) ERROR: extract_mediaip: no `c=' in SDP >> > > This will happen when you try to rewrite a response without sdp, > e.g. 100 trying, 180 ringing.... > > I'm unsing: > if ( (status=~"200" || status=~"183") ) { > force_rtp_proxy(); > > >> I'm running rtpproxy, on linux shell without any parameters. >> >> Does anybody knows what this means that message, and how to >> solve, a ser.cfg for rtpproxy, and others tips will be helpfull... >> >> Regards. >> >
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers