Hi All.
Is it possible to use radius accounting with a stateless proxy?
For example:
if (uri=~"^sip:0001@test.org") {
acc_rad_request ("Start");
rewritehostport("127.0.0.1");
forward (uri:host);
}
When I use this code, the radius request appears without
Sip-Translated-Request-URI, why?
Changing the above code for this, it works fine (include
Sip-Translated-Request-URI):
if (uri=~"^sip:0001@test.org") {
rewritehostport("127.0.0.1");
t_relay();
}
Thanks,
Tourinho
Hi Andrew,
On 2/20/07, "Andrew Nowrot" <andrew.nowrot(a)gmail.com> wrote:
>
> Hi
>
> [...]
> I have two sip phones both on public IP and both registered to openser (on
> public IP). I am able to ring between this two phones (so I guess that the
> sip signalization works OK), but I can't hear any voice. For testing
> purposes I disabled the firewall on openser so I am sure that all ports are
> "free". My openser.cfg looks like this:
>
I faced a similar problem some time ago. Here are some tips based on what I
have tried to solve this:
- Capture the sip messages using ngrep: 'ngrep -qt -d eth0 -W byline port 5060'
(of course, replace eth0 with your real iface)
- Check the sdp part to see what media IP adress is advertised by each
party ('c=IN
IP4' line in the INVITE request and OK response.) You may have private IPs
here if your sip phones are behind a NAT.
- Sniff udp traffic in the port range where the RTP traffic is likely to be
(I use '-s0 -X' options on tcpdump to get the payload in hex.)
- If you don't see any incoming our outgoing packet then, there ay be a
firewall drop issue.
Hope this will help.
--
Regards,
-vma
.
Hello
For each voice session I need to know the used codec (for bandwith
calculation). For that I need to parse the SIP message body.
I didn't find in OpenSER such a functionality.
Is there a module that doing that?
Or maybe someone is working on it?
A suggestion for an open source?
Thanks.
Regards,
Michel.
Hi
What does "noisy feedback" mean?
Quite often we see it in sip traces:
SIP/2.0 200 OK
To: "Andy
Abraham"<sip:2036367@lon-sip-1.gradwell.net>;tag=20c56ba31bbe85b9bc9d0e0
9f876aff7.93cb
From: "Andy Abraham"<sip:2036367@lon-sip-1.gradwell.net>;tag=wgu8z0auky
Via: SIP/2.0/UDP 192.168.153.100:2085;branch=z9hG4bK-shuf9rjbthup
Call-ID: 3c26700aecd1-45fzt2ryqvy3@snom190
CSeq: 2 REGISTER
Contact: <sip:2036367@192.168.153.100:2085;line=oru1hcdy>;q=1;expires=25
Server: OpenSer (1.2.0-pre5-notls (i386/linux))
Warning: 392 193.111.201.74:5060 "Noisy feedback tells: pid=6112
req_src_ip=193.111.200.11 req_src_port=5082
in_uri=sip:lon-sip-1.gradwell.netout_uri=sip:lon-sip-1.gradwell.net
via_cnt==1"
Content-Length: 0
Cheers
peter
--
peter gradwell. gradwell dot com Ltd. http://www.gradwell.com/
-- engineering & hosting services for email, web and voip --
-- http://www.peter.me.uk/ -- http://www.voip.org.uk/ --
i am trying to configure radius with SER and I have succeeded in doing authentication and accounting for SER using Radius. Now my question is there any way that we can get/load the address of the next gateway and route our call to that. i mean i dont want to use the LCR module instead i would like to use some other LCR code that communicates via radius.
thanks in advance
regards
Zeeshan Awan
---------------------------------
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
Hi all.
I am running xlite and ser server (172.16.4.208)on a
computer and another xlite phone on the other
computer(172.16.4.118).
the xlite on 172.16.4.118 could call to the
172.16.4.208 but xlite on 172.16.4.208 can't initiall
a call to 172.16.4.118.
I had set the proxy and domain address:172.16.4.208.
and the xlite on 172.16.4.118 register as:
1001(a)172.16.4.208.is it true?what is the wrong?
____________________________________________________________________________________
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
i noticed that if i try to add in openser.cfg file a
direction=active
sdp line using fix_nated_sdp("1") just before i call t_write_unix to
send the request to sems, sems does not get that added line.
is it so that currently there is no way to add sdp lines in the same
openser.cfg that calls t_write_sems and that adding sdp lines needs to
be done in earlier openser instance?
-- juha
In the SER issue tracker, someone raised the question of implementing
check_from & check_to for radius
(http://tracker.iptel.org/browse/SER-35).
The issue was closed saying that selects could be used to achieve this.
Does anyone want to clue me in as to how you would do this?
I can't for the life of me figure this out from the documentation.
Thanks.
-- Bruce