Im not sure what the problem is. However, it's not just the uri.so you
have to change to uri_db.so, when migrating from 0.8.x to 0.9.x. There
are more things like:
1. vm.so module does not exist in 0.8.x anymore. Been moved to tm.so
2. All the operands such as "&" or "|" must be changed to
"&&" and
"||" respectively
3. Negation such as in if( ! value1=value2) will now be if
(value1 != value2)
4. pa.so module has no effect in 0.9.x, because it will always NOTIFY
with status "closed" for anyone who subscribes to SER.
5. There might be more, but I dont remember now.
If you've sent your ser.cfg file, maybe someone could help, because
sometimes it's difficult to see the error w/o seeing config file.
Andrey.
On 7/24/06, Asep Saifudin <aseps2000(a)gmail.com> wrote:
Andrey,
I have try ser.cfg on
Onsip.org but not meet with my plan.
Btw, I have running SER 0.8.14 on my Linux machine and then the ser.cfg file
I copy & paste to my new SER 0.9.6 (and I have change uri to uri_db) machine
and then when I type ser -c I got message error in /var/log/messages like
this :
Jul 24 21:17:17 sangbintang kernel: pid 51240 (ser), uid 0: exited on signal
11 (core dumped).
And then I type serctl start, I got message like these :
Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]: Maxfwd module-
initializing
Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]: db_url=0x82091a0
Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]: db_url=
mysql://ser:heslo@localhost/ser
Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]: db_url.len=31
Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]:
pa_domain=sip.handhelds.org
Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]: pa_mod: use_db=1
db_url.s=mysql://ser:heslo@localhost/ser pa_domain=sip.hand
helds.org
Jul 24 21:17:46 sangbintang /usr/local/sbin/ser[51248]: pa_mod_init done
Jul 24 21:17:59 sangbintang kernel: Limiting closed port RST response from
253 to 200 packets/sec
Jul 24 21:18:01 sangbintang kernel: Limiting closed port RST response from
233 to 200 packets/sec
Jul 24 21:18:02 sangbintang kernel: Limiting closed port RST response from
262 to 200 packets/sec
Jul 24 21:18:04 sangbintang kernel: Limiting closed port RST response from
283 to 200 packets/sec
Jul 24 21:18:24 sangbintang kernel: Limiting closed port RST response from
253 to 200 packets/sec
Jul 24 21:18:25 sangbintang kernel: Limiting closed port RST response from
233 to 200 packets/sec
Jul 24 21:18:27 sangbintang kernel: Limiting closed port RST response from
262 to 200 packets/sec
Jul 24 21:18:28 sangbintang kernel: Limiting closed port RST response from
283 to 200 packets/sec
Jul 24 21:19:04 sangbintang /usr/local/sbin/ser[51250]: TESTING TO SEE IF IT
IS FROM LOCAL NAT.
Jul 24 21:19:04 sangbintang /usr/local/sbin/ser[51250]: REPLYING DOMAIN NOT
SERVED HERE.
What's the meaning of them cos I still got registration problem ? (it's hard
for me as a newbie in SER) :((
2006/7/24, Andrey Kouprianov <andrey.kouprianov(a)gmail.com>om>:
The sample conf file for PSTN gateway can be
found with getting
started document on
onsip.org ftp site. Plz, check.
On 7/24/06, Asep Saifudin <aseps2000(a)gmail.com> wrote:
>
> Hi Andrey,
> I have install SER 0.9.6.x in my FreeBSD 6.0 and my configuration until
now
> still failed (core dumped and my Xten
won't register to SER even I have
> account in subscriber table.
> Do you have (or anybody have) sample running configuratin of ser.cfg for
SER
> 0.9.6.x which I can try/use on my SER server
? my scheme is simple, my
SER
> can call inter SER-account and call to
PSTN/Mobile via my quintum
gateway.
> Hopefully you have sample running ser.cfg
file
>
> ~Asep
>
> 2006/7/24, Andrey Kouprianov <andrey.kouprianov(a)gmail.com>om>:
> >
> Thing is, 0.8.14 doesnt have uri_db.so module (only uri.so), which was
> introduced in version 0.9.x. That's why it would not work.
>
> On 7/24/06, Giuseppe Parlato <gparlato(a)tnet.it> wrote:
> > If I unload uri.so and but I load uri_db.so I get the following error:
> > bind_dbmod: Module sql does not export db_use_table function
> > ERROR: mod_init(): Can't bind database module
> > init_mod(): Error while initializing module usrloc
> > WARNING:fm_free: free(0) called
> >
> > However I dont get error no more on this line:
> > modparam("auth_db|domain|group|uri|usrloc", "db_url",
> > " sql://serro:psw@xxx.xxx.xxx.xxx/ser")
> >
> > ???
> >
> >
> > Giuseppe
> >
> > ----- Original Message -----
> > From: "Giuseppe Parlato" < gparlato(a)tnet.it>
> > To: "Andrey Kouprianov" <andrey.kouprianov(a)gmail.com>
> > Cc: < serusers(a)iptel.org >
> > Sent: Sunday, July 23, 2006 8:11 PM
> > Subject: Re: [Serusers] error configuration file
> >
> >
> > > Before (0.8.14) in conf file uri_db.so was not loaded but everything
> > > worked the same.
> > > In my conf file I had:
> modparam("auth_db|domain|group|uri|usrloc",
> > > "db_url", "sql://serro:psw@xxx.xxx.xxx.xxx/ser"), but
if I upgrade
to
> > > 0.9.6 I get an error on this
line.
> > >
> > >
> > > ..I'm using freeradius
> > >
> > > thanks
> > > Giuseppe
> > >
> > > ----- Original Message -----
> > > From: "Andrey Kouprianov" < andrey.kouprianov(a)gmail.com>
> > > To: < serusers(a)iptel.org>
> > > Sent: Saturday, July 22, 2006 12:02 PM
> > > Subject: Re: [Serusers] error configuration file
> > >
> > >
> > >>I think it's the check_from() that gives the error. Check if
you've
> > >> loaded uri_db.so module...
> > >>
> > >> On 7/21/06, Klaus Darilion < klaus.mailinglists(a)pernau.at>
wrote:
> > >>> maybe && instead of & ?????
> > >>>
> > >>> this error message also happens if you forget to close all if
blocks
> > >>> (watch out for missing
'}' )
> > >>>
> > >>> regards
> > >>> klaus
> > >>>
> > >>> Giuseppe Parlato wrote:
> > >>> > Hi.. I got the following error when I try to start ser:
> > >>> >
> > >>> > parse error (329,55-56): unknown command, missing
loadmodule?
> > >>> > ERROR: bad config file (1 errors)
> > >>> > ser startup failed
> > >>> >
> > >>> > so on my configuration file the problem is this here:
> > >>> > } else if ((method=="INVITE") & !check_from())
{
> > >>> >
> > >>> > I was using ser 0.8.14 then upgraded to 0.9.6, but
configuration
> file
> > >>> > has not been changed. The same file worked on 0.8.14
version.
> > >>> >
> > >>> >
> > >>> > help please
> > >>> > Giuseppe
> > >>> > _______________________________________________
> > >>> > Serusers mailing list
> > >>> > Serusers(a)lists.iptel.org
> > >>> >
http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>> _______________________________________________
>>> Serusers mailing list
>>> Serusers(a)lists.iptel.org
>>>
http://lists.iptel.org/mailman/listinfo/serusers
>>>
>> _______________________________________________
>> Serusers mailing list
>> Serusers(a)lists.iptel.org
>>
http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date:
>> 21/07/2006
>>
>>
>
> _______________________________________________
> Serusers mailing list
> Serusers(a)lists.iptel.org
>
http://lists.iptel.org/mailman/listinfo/serusers
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date:
21/07/2006
>
>
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers