Hi,
I have a ser system talking with radius. there is no problem with authentication. but what i realized is that, in my radius request packet:
USER-NAME= user1@ip_of_ser
and this radius packet goes to radius for authentication. But i want to change the radius packet.
so that my USER-NAME = user1@ip_of_ser will change to
USER-NAME = user1@ip_of_user1
I need to change the authentication information of the radius packet, before sending it to radius. how can i handle this? do i need avp module or what? please help me? please
---------------------------------
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
Well I am feeling a little embarrassed at this point but it seems that my
data may not have been exactly correct with regard to natpings not working
without username in the TO field of OPTIONS packets.
First my original test scenario was to ngrep for OPTIONS packets generated
from OpenSer and see if I was getting response without Username in the TO
field. Then I would send an OPTIONS using sipsak thru openser and see if I
got a reply. Based on this test it appeared that it was the lack of Username
in the TO field. But then after recording results with my work round in
place which rewrote the received field. I found that I was still not getting
consistent results on replies to OPTIONS packets this lead me to start
looking to see if the OPTIONS packets where ever reaching the dest...
It turns out that the OPTIONS packets were not reaching the dest and it
seems that the reason was that the Cisco router btw OPENSER and the Internet
was dropping a very high percentage of out bound packets under bursty
situations such as hundreds of OPTIONS packets being sent to it at once. I
have resolved this issues and now I am getting consistant results from the
natping OPTIONS packets.
I will follow up with one more test which is to remove my work around
related to the received field and retest the results. However, I will have
to wait until I can test this after hours inorder to make this change.
Thanks and sorry for the bad data but as you can see it wasn't do to lack of
thought :)
FYI: your patch did seem to added the natping FROM field to the TO field
after I retest we can figure out if that is really necessary.
Hello,
I'm trying to forward a SIP message that's been received by UDP, to
$td through TCP. but the following configuration doesn't work:
send_tcp("$td", 5060 );
or
send_tcp($td, 5060 );
or
avp_printf("s:dst", "$td");
send_tcp("s:dst", 5060 );
Could you please help?
--
Ramin
A UA is trying to send NOTIFY:
U 1.2.3.4:56839 -> 5.6.7.8:5060
NOTIFY sip:machine.foo.com SIP/2.0.
Via: SIP/2.0/UDP 1.2.3.4:56839;branch=z9hG4bK-ee80efbb.
From: TPA - PSTN <sip:9876@machine.foo.com>;tag=ddf83b1b7d0b3b06o1.
To: <sip:machine.foo.com>.
Call-ID: e368f273-a2f62b8e(a)192.168.251.10.
CSeq: 31511 NOTIFY.
Max-Forwards: 70.
Event: keep-alive.
User-Agent: Sipura/SPA3000-2.0.13(GWg).
Content-Length: 0.
The reponse is:
U 5.6.7.8:5060 -> 1.2.3.4:56839
SIP/2.0 404 User Not Found - lookup_location.
Via: SIP/2.0/UDP 1.2.3.4:56839;branch=z9hG4bK-ee80efbb.
From: TPA - PSTN <sip:9876@machine.foo.com>;tag=ddf83b1b7d0b3b06o1.
To: <sip:machine.foo.com>;tag=efa044f399b3f75e8ec9d81a905f914f.d18f.
Call-ID: e368f273-a2f62b8e(a)192.168.251.10.
CSeq: 31511 NOTIFY.
Server: Sip EXpress router (0.9.7-pre1 (i386/freebsd)).
Content-Length: 0.
Warning: 392 5.6.7.8:5060 "Noisy feedback tells: pid=15425
req_src_ip=1.2.3.4 req_src_port=56839 in_uri=sip:machine.foo.comout_uri=sip:machine.foo.com via_cnt==1".
>From the logs we see among other things:
Feb 25 08:09:13 machine /usr/local/sbin/ser[15425]: lookup(): '' Not
found in usrloc
Can anyone tell me why the user is not found ?
Any help here is greatly appreciated
-kim
--
w8hdkim(a)gmail.com
Hi,
I'm Newbie with ser. I have ser server works fine on my local network.
I tried to setup serweb without success serweb9.4.
I'm getting
----------------------------------------
Not Found
The requested URL /serweb/html/admin/index.php was not found on this
server.
________________________________________________________________________
Apache/2.0.54 (Fedora) Server at 192.168.1.45 Port 80 fedoratest page
all the time.
---------------------------------------
I follow the installation but still doesn't work. is there any guide to
help me setup the serweb?
is someone has any idea?
Thanks,
Ofer
P.S. i'm using php 5.0.4
mysql 4.1.11
attache are the modified files:
Hi everybody,
is it possible to modify the Contact field inside the SIP header?
E. g. We receive a "Moved Temporarily" (302) message in OpenSER and want
to change the Contact field with a different value.
Regards
Bastian
____________
Virus checked by G DATA AntiVirusKit
Version: AVK 16.5736 from 24.02.2006
Virus news: www.antiviruslab.com
The ser.cfg in use is:
features-callfwd.cfg 15 2005-09-15 17:37:10Z
The portion of the config file with this logic appears to be:
lookup("aliases");
if (uri!=myself) {
route(4);
route(1);
break;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found - lookup_location");
break;
};
route(1);
}
regards
-kim
--
w8hdkim(a)gmail.com