Hi all
What is the best OS to install SER on.
and its very stable for Prepaid and Post paid
Iam trying to install on FC5 or RHEL 4.0
Expert coments will be apprciated
Ram
Bill Zhang wrote:
> Bogdan,
>
> Thanks for the reminder, this is a question that I don't know the answer, as
> I'm struggling to understand the whole configuration. I will try to find
> out why it is called:).
>
> BTW, I always want to see if I can make SER a powerful server with following
> configuration:
>
> 1. Check if SIP end point(base on the SIP message, like Register, Invite)
> is behind the NAT, if it is with private IP, then use SER NAThelper for SIP
> Message and RTP Proxy for RTP.
> 2. If it is with public IP, check if its IP and Source port is as claimed
> in the SIP Message(Invite, Register, etc), if yes, then proceed to treat
> this SIP end point with public IP.
> 3. If 2 is not true, then this end point may use STUN with wrong detection
> result, then we treat it as in 1.
>
> I wonder if there is any sample configurations for reference?
>
> Best Regards,
> Bill Zhang
> Tel: 626-956-0260 ext 601
> Cell: 626-354-0967
> web: www.grandstream.com
> email: wzhang(a)grandstream.com
>
>
Bill,
nathelper.so has all of that functionality:
http://www.openser.org/docs/modules/1.1.x/nathelper.html
1) nat_uac_test & fix_nated_* can do everything you are looking for.
Make sure to look at the flags for nat_uac_test. They should probably
be >= 19.
2) nat_uac_test only returns true if it detects nat based on your
flags. Therefore, you can use logic like this:
#--------REGISTER section----------------------
if (!search("^Contact:[ ]*\*") && nat_uac_test("23")) {
setflag(6);
fix_nated_register();
force_rport();
};
#-----INVITE SECTION--------
#(in INVITE message handler)
if (nat_uac_test("23")) {
setflag(6);
}
#--------Extra Routes--------------
route[4] {
# NAT Traversal Section
if (isflagset(6)) {
xlog("Fixing NAT in section 4\n");
force_rport();
fix_nated_contact();
force_rtp_proxy();
}
}
Now you can just call route(4) BEFORE you call your other route(s).
3) I'm not sure that I really follow you on this one...
P.S. - You'll also want to run RTPProxy to proxy the media streams for
clients that are behind nats.
--
Kristian Kielhofner
Hi all
What is the best OS to install Open SER on.
and its very stable for Prepaid and Post paid
Iam trying to install on FC5 or RHEL 4.0
Expert coments will be apprciated
Ram
Hello everybody,
does anybody have a sample config - file for this scenario :
(no authentication, mysql or whatever needed. SER should just relay the call)
UA(privateIP) <-> (privateIP)SER(publicIP) <-> UA-(VoIP - Provider, pubicIP)
I already tried the onsip configfiles and many other files :) but I still see no way to get this SER - Router working.
I already tested this enviroment with siproxd and all worked well. So the problem must be with my config file.
Any help would be very appreciated :-)
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
trying to setup radius and set to work together.
sems have a strange problem....
ser recives " 0(5447) ERROR:auth_radius:radius_authorize_sterman: rc_auth failed"
but freeradius reply is "Sending Access-Accept of id 172 to 127.0.0.1 port 56137
Reply-Message = "Authenticated"
Sip-RPId = "88123321139"
Finished request 0
"
Please tell me what is a problem?
--
Pavel D.Kuzin
System Administrator
Nodex ISP
St. Petersburg, Russia
pk(a)nodex.ru
http://nodex.ru
Hi Guys...
I need to integrate php and raadius...
Actually i want to create the own user interface on OPENSER.....
That on PHP 5 is having the radis integration .
So i need it...
Now , I'm using the Radius in openser for " AAA " purpose only...
Now I need to develop web interface for my application with radius...
plz help me.... on this.............
--
Thanks and Regards with cheers
Sunkara Ravi Prakash (Voip Developer)
Hyperion Technology
Kondapur, Hi-tech city,
Hyderabad.
www.hyperion-tech.com
+91-9985077535
Hi Bill,
you should you call force_rtp_proxy() for a REGISTER?
regards,
bogdan
Bill Zhang wrote:
>The issue is, this is a SIP Registration message, it certainly does NOT
>contain SDP, in fact there are other SIP messages that does NOT contain SDP
>message but still need nathelper to recognize it behind a NAT so that
>OPENSER can send response back to the client correctly.
>
>In summary, nathelper should be able to base on the SIP message to handle it
>correctly.
>
>Best Regards,
>Bill Zhang
>-----Original Message-----
>From: Marc Haisenko [mailto:haisenko@comdasys.com]
>Sent: Thursday, August 03, 2006 12:09 AM
>To: users(a)openser.org
>Cc: Bill Zhang
>Subject: Re: [Users] Can not register to OPENSER
>
>On Thursday 03 August 2006 00:46, Bill Zhang wrote:
>
>
>>Anyone knows why I keep getting following error message?
>>
>>
>>
>>Aug 2 13:10:26 localhost openser[30695]: ERROR: extract_body: message
>>
>>
>body
>
>
>>has length zero
>>
>>Aug 2 13:10:26 localhost openser[30695]: ERROR: force_rtp_proxy2: can't
>>extract body from the message
>>
>>
>
>The message says it, and your SIP message proves it: the SIP message has no
>body.
>
>nathelper operates on the SDP body, it mangles them (together with rtpproxy)
>
>so that the SDP body sent to the receiver contains the address of your
>machine running OpenSER instead of the real phone. This is so that the
>machine can act as RTP proxy on network edges.
>
>Since your SIP message has no SDP body there is nothing nathelper can do :-)
>C'ya,
> Marc
>
>
>
>
Hi all,
This is abhishek Kaushik from delhi , i am not using record route in my proxy , but still the ACk/Bye passes through my proxy ,can somebody please explain,
thanks and regards
abhishek kaushik
____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!
Of coarse I found this out after upgrading my test box from mysql
5.0.19 to 5.0.22. The lcr module runs the following query...
SELECT gw.ip_addr, gw.port, gw.uri_scheme, gw.transport, gw.strip,
gw.prefix FROM gw, lcr WHERE ''<sip:12345678910@eastern.mynoc.net>''
LIKE lcr.from_uri AND '15184782222' LIKE CONCAT(lcr.prefix, '%') AND
lcr.grp_id = gw.grp_id ORDER BY CHAR_LENGTH(lcr.prefix), lcr.priority
DESC, RAND()
which returns
ERROR 1064 (42000): You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right
syntax to use near ':12345678910@eastern.mynoc.net>'' LIKE
lcr.from_uri AND '15184782222' LIKE CONCA' at line 1
the correct query would be ...
SELECT gw.ip_addr, gw.port, gw.uri_scheme, gw.transport, gw.strip,
gw.prefix FROM gw, lcr WHERE '<sip:12345678910@eastern.mynoc.net>'
LIKE lcr.from_uri AND '15184782222' LIKE CONCAT(lcr.prefix, '%') AND
lcr.grp_id = gw.grp_id ORDER BY CHAR_LENGTH(lcr.prefix), lcr.priority
DESC, RAND();
Notice that I removed the double single quotes around <sip:
12345678910(a)eastern.mynoc.net> which is the from uri. This appears to
be broken in current cvs as well.