Sorry for the delay. I did not read your reply. Nice solution. I need to check that IOS based pbx can read a custom header. Regards. Antonio.
-----Original Message----- From: users-bounces@lists.opensips.org [mailto:users- bounces@lists.opensips.org] On Behalf Of Iñaki Baz Castillo Sent: Saturday, February 21, 2009 3:42 AM To: users@lists.opensips.org Subject: Re: [OpenSIPS-Users] [OpenSER-Users] [OT] How to handle different DID's in incoming calls for a registered client?
El Viernes, 20 de Febrero de 2009, Antonio Reale escribió:
Hi Iñaki, did you find a way to solve this problem. I have the same problem with devices that can't read the To: value. For customers with 10/100 assigned number I routed the entire root
number
to the customer's IP (loosing auth...), but for users with only one supplementary number it is not practicable. Has someone a suggestion for this problem? Thanks to all. Regards.
In the proxy I add a custom header: P-Called-Number: +34123123123 so the pbx receiving this INVITE can read that header.
-- Iñaki Baz Castillo
Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Does anybody have experience with kamailio for debian build ?
I used debian etch and used this build
kamailio_1.4.1_i386.deb
and it can't work with radius.
I had this proper configuration:
loadmodule "auth_radius.so"
..
modparam("acc", "radius_flag", 1)
modparam("acc", "radius_missed_flag", 2)
but the kamailio complains:
Not starting kamailio: invalid configuration file!
Feb 27 16:08:24 [1636] ERROR:core:set_mod_param_regex: parameter <radius_flag> not found in module <acc> Feb 27 16:08:24 [1636] CRITICAL:core:yyerror: parse error in config file, line 152, column 19-20: Can't set module parameter Feb 27 16:08:24 [1636] ERROR:core:main: bad config file (1 errors)
does any body have a good recommendation for OS and custom build version ?
I am trying to run it in xen 3.0 for debian etch, debian lenny, and I tried opensips 1.4.4 and kamailio 1.4.1, so far I found kamailio 1.4.1 having problem with openradius support, opensips having problem with documentation and hard to find answer. lenny kernel is not stable, some times the whole OS just crashes.
Does any body have good exprience certain OS and kamailio/opensips version combination ?
Jimmy
Hello,
acc module does not compile the radius support by default. Before building the packages, go in the sources and edit:
modules/acc/Makefile
and uncomment line: #ENABLE_RADIUS_ACC=true
Then build again, radius should be enabled in acc. I think you should update dependencies to lib radius client, if you want to be strict in packaging.
Cheers, Daniel
On 02/27/2009 06:17 PM, Jinsong Hu wrote:
Does anybody have experience with kamailio for debian build ?
I used debian etch and used this build
kamailio_1.4.1_i386.deb
and it can't work with radius.
I had this proper configuration:
loadmodule "auth_radius.so"
..
modparam("acc", "radius_flag", 1)
modparam("acc", "radius_missed_flag", 2)
but the kamailio complains:
Not starting kamailio: invalid configuration file!
Feb 27 16:08:24 [1636] ERROR:core:set_mod_param_regex: parameter <radius_flag> not found in module <acc> Feb 27 16:08:24 [1636] CRITICAL:core:yyerror: parse error in config file, line 152, column 19-20: Can't set module parameter Feb 27 16:08:24 [1636] ERROR:core:main: bad config file (1 errors)
does any body have a good recommendation for OS and custom build version ?
I am trying to run it in xen 3.0 for debian etch, debian lenny, and I tried opensips 1.4.4 and kamailio 1.4.1, so far I found kamailio 1.4.1 having problem with openradius support, opensips having problem with documentation and hard to find answer. lenny kernel is not stable, some times the whole OS just crashes.
Does any body have good exprience certain OS and kamailio/opensips version combination ?
Jimmy
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
On Friday 27 February 2009, Jinsong Hu wrote:
Does anybody have experience with kamailio for debian build?
I used debian etch and used this build kamailio_1.4.1_i386.deb
and it can't work with radius.
I had this proper configuration: loadmodule "auth_radius.so" .. modparam("acc", "radius_flag", 1) modparam("acc", "radius_missed_flag", 2)
but the kamailio complains:
Not starting kamailio: invalid configuration file!
Feb 27 16:08:24 [1636] ERROR:core:set_mod_param_regex: parameter <radius_flag> not found in module <acc> Feb 27 16:08:24 [1636] CRITICAL:core:yyerror: parse error in config file, line 152, column 19-20: Can't set module parameter Feb 27 16:08:24 [1636] ERROR:core:main: bad config file (1 errors)
Hi Jinsong,
it seems that the accounting module was not build with the prober RADIUS define. You can either build it from the source yourself, or build your own debian packages. You need to enable some define, take a look to the modules/acc/Makefile file.
does any body have a good recommendation for OS and custom build version ?
Normally it should be just run fine on any recent linux system.
I am trying to run it in xen 3.0 for debian etch, debian lenny, and I tried opensips 1.4.4 and kamailio 1.4.1, so far I found kamailio 1.4.1 having problem with openradius support, opensips having problem with documentation and hard to find answer. lenny kernel is not stable, some times the whole OS just crashes.
This is strange, perhaps something related to the XEN environment?
Does any body have good exprience certain OS and kamailio/opensips version combination ?
We use normal debian and one stable version (still 1.3.x at the moment), but there are many people that uses 1.4.x also successful.
Cheers,
Henning