[Serusers] FreeBSD
Barry Murphy
barry at unix.co.nz
Tue Mar 15 08:56:35 CET 2005
Cool, that worked, now back to the end of my message, ohh and this:
Ser.cfg:
# free call destinations ... no authentication needed
if ( is_user_in("Request-URI", "free-pstn") /* free destinations */
| uri=~"sip:[79][0-9][0-9][0-9]@.*" /* local PBX
*/
| uri=~"sip:98[0-9][0-9][0-9][0-9]") {
log("free call");
}
0(20863) find_export: found <mf_process_maxfwd_header> in module
maxfwd_module [/usr/local/lib/ser/modules/maxfwd.so]
0(20863) find_export: found <sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]
0(20863) find_export: found <sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]
0(20863) find_export: found <sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]
0(20863) find_export: <is_user_in> not found
0(20863) find_export: <is_user_in> not found
0(20863) parse error (102,44-45): unknown command, missing loadmodule?
0(20863) find_export: found <record_route> in module rr
[/usr/local/lib/ser/modules/rr.so]
0(20863) find_export: found <loose_route> in module rr
[/usr/local/lib/ser/modules/rr.so]
0(20863) find_export: found <t_relay> in module tm
[/usr/local/lib/ser/modules/tm.so]
0(20863) find_export: found <www_authorize> in module auth_db
[/usr/local/lib/ser/modules/auth_db.so]
0(20863) find_export: found <www_challenge> in module auth
[/usr/local/lib/ser/modules/auth.so]
0(20863) find_export: found <save> in module registrar
[/usr/local/lib/ser/modules/registrar.so]
0(20863) find_export: found <lookup> in module registrar
[/usr/local/lib/ser/modules/registrar.so]
0(20863) find_export: found <sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]
0(20863) find_export: found <t_relay> in module tm
[/usr/local/lib/ser/modules/tm.so]
0(20863) find_export: found <sl_reply_error> in module sl_module
[/usr/local/lib/ser/modules/sl.so]
ERROR: bad config file (1 errors)
0(20863) DEBUG: tm_shutdown : start
0(20863) DEBUG: tm_shutdown : empting hash table
0(20863) DEBUG: tm_shutdown: releasing timers
0(20863) DEBUG: tm_shutdown : removing semaphores
0(20863) DEBUG: tm_shutdown : done
0(20863) shm_mem_destroy
0(20863) destroying the shared memory lock
> -----Original Message-----
> From: Atle Samuelsen [mailto:clona at camaro.no]
> Sent: Tuesday, 15 March 2005 8:51 p.m.
> To: Barry Murphy
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] FreeBSD
>
> Gnumake is your friend..
>
> gmake modules
>
> (pkg_add -r gmake if you dont have it)
>
> -Atle
>
> * Barry Murphy <barry at unix.co.nz> [050315 08:42]:
> > I'm trying to offer a Iptel service within NZ with servers
> located in
> > NZ to save on costly intl bandwidth.
> >
> > I want to install all modules with MySQL support so downloaded the
> > source to install from, however I get this error:
> >
> > root at max:/home/icepick/ser-0.8.14# make modules "Makefile.sources",
> > line 17: Missing dependency operator "Makefile.sources",
> line 19: Need
> > an operator "Makefile", line 52: Missing dependency operator Error
> > expanding embedded variable.
> >
> > So I tried installing from the /freebsd/ folder seeing as it looked
> > like a port.
> >
> > root at max:/home/icepick/ser-0.8.14/freebsd# make Makefile
> error: there
> > is no COMMENT variable defined for this port. Please, rectify this.
> > *** Error code 1
> >
> > Stop in /usr/home/icepick/ser-0.8.14/freebsd.
> >
> > So I took a look at the Makefile where it said .if freebsd >5 or
> > whatever then use the COMMENTt tag, so I uncommented that
> and now get ...
> >
> > root at max:/home/icepick/ser-0.8.14/freebsd# make ===> Vulnerability
> > check disabled => ser-0.8.12_src.tar.gz is not in
> > /usr/home/icepick/ser-0.8.14/freebsd/distinfo.
> > => Either /usr/home/icepick/ser-0.8.14/freebsd/distinfo is out of
> > date, or => ser-0.8.12_src.tar.gz is spelled incorrectly.
> > *** Error code 1
> >
> > Stop in /usr/home/icepick/ser-0.8.14/freebsd.
> >
> > So I tried putting ser-0.8.14_src.tar.gz in every possible
> place, but
> > still get the above error:
> >
> > Next up has anyone got example files to do the following:
> > 1./ Allow users to signup using serweb (which I couldn't get working
> > properly)
> > 2./ Force users to signup with 64 (NZ) prefix infront of
> the number (I
> > managed to edit this regex) 3./ Call eachother freely, so
> some sort of
> > acl to say 64xxxxx calls can be made 4./ Linking to SipPhone 5./
> > Linking to FWD 6./ I'll link to many more, so one example would be
> > good.
> >
> > If someone would like to help with this or possibly provide configs
> > and modified source, It'd be much appreciated.
> >
> > Thanks
> > Barry
> >
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
>
>
More information about the sr-users
mailing list