[Serusers] A Question

Alexandru Deac andu at shaw.ca
Sun Oct 26 18:29:27 CET 2003


On Sunday 26 October 2003 04:39, you wrote:
> Hello,
>
> On 10/26/2003 7:12 AM, Alexandru Deac wrote:
> >Hi,
> >
> >I've been testing ser for the past few days and I ran into a little
> > problem with search_append() and replace().
> >I have a string let's say: some_text
> >If I do search_append("some_", "more_"); I get some_more_text which is
> > great. However if I try to do a replace("some_more_text", "no_text'); it
> > fails. Is this a known issue? Are there any workarounds?
>
> these two functions operate only on the original message -- so if you
> call first search_append("some_", "more_") and then you want to replace
> the previous built texts using replace("some_more_text", "no_text') that
> is not possible yet. These functions create some diffs to the original
> message and are applied when the message is wired again.

Thanks that explains quite a few things now.

> >I have tried to verify the problem with the current CVS but I couldn't get
> > it to start because all the modules that depend on a db fail to
> > initialize.
>
> Have you compiled the mysql module? It is not compiled by default -- try
> using 'make modules modules=modules/mysql' from sip_router directory,
> and then 'make install-modules include_modules="mysql"'.

Yes I have enabled the module in the Makefile and it built without errors.
The problems seems to be with the bind_dbmod() which fails during mod_init()
Also the pdt module is mising the new db_url argument for bind_dbmod(). 

Alex.

> Best regards,
> }Daniel
>




More information about the sr-users mailing list