[Freeswitch-dev] building a module
can someone help on this. I'm trying to build the module on trunk and it looks like i can't find 'switch_strlen_zero' function anywhere :P making all mod_rad_auth Compiling utils.c... Compiling mod_rad_auth.c... quiet_libtool: compile: gcc -I/home/tculjaga/freeswitch-trunk/src/include -I/home/tculjaga/freeswitch-trunk/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE -DHAVE_CONFIG_H -c mod_rad_auth.c -fPIC -DPIC -o .libs/mod_rad_auth.o cc1: warnings being treated as errors mod_rad_auth.c: In function ‘rad_auth_function’: mod_rad_auth.c:301: error: implicit declaration of function ‘switch_strlen_zero’ make[4]: *** [mod_rad_auth.lo] Error 1 make[3]: *** [all] Error 1 make[2]: *** [mod_rad_auth-all] Error 1 make[1]: *** [mod_rad_auth] Error 2 on an older revision works well ... [tculjaga@l01sipindir2 freeswitch]$ svn info Path: . URL: http://svn.freeswitch.org/svn/freeswitch/trunk Repository Root: http://svn.freeswitch.org/svn Repository UUID: d0543943-73ff-0310-b7d9-9358b9ac24b2 Revision: 14640 Node Kind: directory Schedule: normal Last Changed Author: intralanman Last Changed Rev: 14640 Last Changed Date: 2009-08-26 17:11:07 +0200 (Wed, 26 Aug 2009) [tculjaga@l01sipindir2 freeswitch]$ [tculjaga@l01sipindir2 freeswitch]$ [tculjaga@l01sipindir2 freeswitch]$ [tculjaga@l01sipindir2 freeswitch]$ sudo make mod_rad_auth making all mod_rad_auth Compiling utils.c... Compiling mod_rad_auth.c... mkdir .libs Compiling mod_rad_auth.c ... Creating mod_rad_auth.so... Can someone please advice? T.
http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=15211 On Oct 28, 2009, at 7:18 PM, Tihomir Culjaga wrote:
can someone help on this.
I'm trying to build the module on trunk and it looks like i can't find 'switch_strlen_zero' function anywhere :P
Mike
thx, it works :P BTW: interested to host this module on FS SVN? T. On Thu, Oct 29, 2009 at 12:30 AM, Michael Jerris <mike@jerris.com> wrote:
http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=15211
On Oct 28, 2009, at 7:18 PM, Tihomir Culjaga wrote:
can someone help on this.
I'm trying to build the module on trunk and it looks like i can't find 'switch_strlen_zero' function anywhere :P
Mike
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
sure, what does it do? On Thu, Oct 29, 2009 at 5:00 AM, Tihomir Culjaga <tculjaga@gmail.com> wrote:
thx, it works :P
BTW: interested to host this module on FS SVN?
T.
On Thu, Oct 29, 2009 at 12:30 AM, Michael Jerris <mike@jerris.com> wrote:
http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=15211
On Oct 28, 2009, at 7:18 PM, Tihomir Culjaga wrote:
can someone help on this.
I'm trying to build the module on trunk and it looks like i can't find 'switch_strlen_zero' function anywhere :P
Mike
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
just a radius authentification (without)... i sow there is no such a thing in FS something like this: <configuration name="radius_auth.conf" description="Radius authentification module"> <settings> <param name="server" value="server"/> <param name="secret" value="secret"/> <!-- timeout in ms --> <param name="auth_timeout" value="2000"/> <!-- number of packets to resend --> <param name="auth_retry" value="2"/> <!-- radiusclient src ip address --> <param name="src_addr" value="$${local_ip_v4}"/> </settings> <standard_attributes> <!-- username --> <param key="PW_CALLING_STATION_ID" value="${ani}"/> <!-- just dummy password - can be whatever --> <param key="PW_USER_PASSWORD" value="password"/> <!-- calling number --> <param key="PW_CALLING_STATION_ID" value="${ani}"/> <!-- called number --> <param key="PW_CALLED_STATION_ID" value="${destination_number}"/> </standard_attributes> <vsas> <vsa name ="highdeal"> <param key="dictionary" value="path/to/my_vsa/dictionary"/> <param key="number" value="12084"/> <!-- call id --> <param key="1" value="${uuid}-12345"/> <!-- connection id --> <param key="2" value="${uuid}-54321"/> <!-- call direction --> <param key="6" value="${direction}"/> <!-- call type --> <param key="7" value="0"/> <!-- fs ip address --> <param key="16" value="$${local_ip_v4}"/> <!-- originating caller --> <param key="24" value="${orig_pfx}${ani}"/> <!-- originating called --> <param key="25" value="${orig_pfx}${destination_number}"/> <!-- terminating caller --> <param key="26" value="${term_pfx}${ani}"/> <!-- terminating called --> <param key="27" value="${term_pfx}${destination_number}"/> <!-- selector tag --> <param key="28" value="selector tag"/> <!-- trunk tag --> <param key="29" value="trunk tag"/> </vsa> <vsa name="test1"> </vsa> <vsa name="test2"> </vsa> </vsas> </configuration> it is not fully working (need some tweaking for dynamic VSA buildup) but it works :) On Thu, Oct 29, 2009 at 1:27 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
sure, what does it do?
On Thu, Oct 29, 2009 at 5:00 AM, Tihomir Culjaga <tculjaga@gmail.com>wrote:
thx, it works :P
BTW: interested to host this module on FS SVN?
T.
On Thu, Oct 29, 2009 at 12:30 AM, Michael Jerris <mike@jerris.com> wrote:
http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=15211
On Oct 28, 2009, at 7:18 PM, Tihomir Culjaga wrote:
can someone help on this.
I'm trying to build the module on trunk and it looks like i can't find 'switch_strlen_zero' function anywhere :P
Mike
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Sure, can you post the code somewhere, I'd like chris parker (who wrote the other radius mods) to take a look at this. Mike On Oct 29, 2009, at 10:44 AM, Tihomir Culjaga wrote:
just a radius authentification (without)... i sow there is no such a thing in FS
something like this:
<configuration name="radius_auth.conf" description="Radius authentification module"> <settings> <param name="server" value="server"/> <param name="secret" value="secret"/> <!-- timeout in ms --> <param name="auth_timeout" value="2000"/> <!-- number of packets to resend --> <param name="auth_retry" value="2"/> <!-- radiusclient src ip address --> <param name="src_addr" value="$${local_ip_v4}"/> </settings> <standard_attributes> <!-- username --> <param key="PW_CALLING_STATION_ID" value="${ani}"/> <!-- just dummy password - can be whatever --> <param key="PW_USER_PASSWORD" value="password"/> <!-- calling number --> <param key="PW_CALLING_STATION_ID" value="${ani}"/> <!-- called number --> <param key="PW_CALLED_STATION_ID" value="${destination_number}"/> </standard_attributes> <vsas> <vsa name ="highdeal"> <param key="dictionary" value="path/to/my_vsa/dictionary"/> <param key="number" value="12084"/> <!-- call id --> <param key="1" value="${uuid}-12345"/> <!-- connection id --> <param key="2" value="${uuid}-54321"/> <!-- call direction --> <param key="6" value="${direction}"/> <!-- call type --> <param key="7" value="0"/> <!-- fs ip address --> <param key="16" value="$${local_ip_v4}"/> <!-- originating caller --> <param key="24" value="${orig_pfx}${ani}"/> <!-- originating called --> <param key="25" value="${orig_pfx}${destination_number}"/> <!-- terminating caller --> <param key="26" value="${term_pfx}${ani}"/> <!-- terminating called --> <param key="27" value="${term_pfx}${destination_number}"/> <!-- selector tag --> <param key="28" value="selector tag"/> <!-- trunk tag --> <param key="29" value="trunk tag"/> </vsa> <vsa name="test1"> </vsa> <vsa name="test2"> </vsa> </vsas> </configuration>
it is not fully working (need some tweaking for dynamic VSA buildup) but it works :)
On Thu, Oct 29, 2009 at 1:27 PM, Anthony Minessale <anthony.minessale@gmail.com
wrote: sure, what does it do?
On Thu, Oct 29, 2009 at 5:00 AM, Tihomir Culjaga <tculjaga@gmail.com> wrote: thx, it works :P
BTW: interested to host this module on FS SVN?
T.
On Thu, Oct 29, 2009 at 12:30 AM, Michael Jerris <mike@jerris.com> wrote: http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=15211
On Oct 28, 2009, at 7:18 PM, Tihomir Culjaga wrote:
can someone help on this.
I'm trying to build the module on trunk and it looks like i can't find 'switch_strlen_zero' function anywhere :P
Mike
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (3)
-
Anthony Minessale
-
Michael Jerris
-
Tihomir Culjaga