Hello everybody.
Trying to migrate from 1.2.2 version to 1.3.0 version, I discovered there is a lost item in migration guide;
The structure of gw table changes, because in 1.3.0 version, it has an additional column, so this table must be rebuilt.
Best regards.
Sergio Gutiérrez
Hello everybody.
I'm just trying to migrate from 1.2.2 to 1.3.0 and I discovered troubles with acc module parameters.
In 1.2.2 i used modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd")
But 1.3.0 didn't start with followed error
Feb 4 19:59:36 pbx2 /usr/local/sbin/openser[19616]: ERROR:acc:parse_acc_extra: parse failed in <src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd> around position 57
After short test I have discovered that 1.3.0 accept only string up to 38 characters long - this works: modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;dst_us=$rU")
Could someone point me to the solution how to use longer definition in db_extra or tell me what I'm doing wrong?
Thanks a lot, regards
kokoska.rokoska
Hi Kokoska,
Indeed, there is something wrong, but not the len.. If you check, the reported index (57) is out of the string (44 chars). The problem is an internal function for parsing pseudo-variables which seams to overflow ... rather strange design.. I will run some more tests and look for a fix. In the mean while your problem can be solved by adding a simple space char at the end of the string, like:
modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd ")
Thanks and regards, Bogdan
kokoska rokoska wrote:
Hello everybody.
I'm just trying to migrate from 1.2.2 to 1.3.0 and I discovered troubles with acc module parameters.
In 1.2.2 i used modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd")
But 1.3.0 didn't start with followed error
Feb 4 19:59:36 pbx2 /usr/local/sbin/openser[19616]: ERROR:acc:parse_acc_extra: parse failed in <src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd> around position 57
After short test I have discovered that 1.3.0 accept only string up to 38 characters long - this works: modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;dst_us=$rU")
Could someone point me to the solution how to use longer definition in db_extra or tell me what I'm doing wrong?
Thanks a lot, regards
kokoska.rokoska
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Hi Bogdan!
Thank you very much for explanation - I'm not good in counting chars :-)
Regards,
kokoska.rokoska
Bogdan-Andrei Iancu napsal(a):
Hi Kokoska,
Indeed, there is something wrong, but not the len.. If you check, the reported index (57) is out of the string (44 chars). The problem is an internal function for parsing pseudo-variables which seams to overflow ... rather strange design.. I will run some more tests and look for a fix. In the mean while your problem can be solved by adding a simple space char at the end of the string, like:
modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd ")
Thanks and regards, Bogdan
kokoska rokoska wrote:
Hello everybody.
I'm just trying to migrate from 1.2.2 to 1.3.0 and I discovered troubles with acc module parameters.
In 1.2.2 i used modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd")
But 1.3.0 didn't start with followed error
Feb 4 19:59:36 pbx2 /usr/local/sbin/openser[19616]: ERROR:acc:parse_acc_extra: parse failed in <src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd> around position 57
After short test I have discovered that 1.3.0 accept only string up to 38 characters long - this works: modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;dst_us=$rU")
Could someone point me to the solution how to use longer definition in db_extra or tell me what I'm doing wrong?
Thanks a lot, regards
kokoska.rokoska
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Hello,
can you try the attached patch? It is for 1.3 branch. Should fix the case when the PV spec is last in a zero-terminated string. Let me know if it works so I can commit.
Cheers, Daniel
On 02/04/08 21:04, kokoska rokoska wrote:
Hello everybody.
I'm just trying to migrate from 1.2.2 to 1.3.0 and I discovered troubles with acc module parameters.
In 1.2.2 i used modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd")
But 1.3.0 didn't start with followed error
Feb 4 19:59:36 pbx2 /usr/local/sbin/openser[19616]: ERROR:acc:parse_acc_extra: parse failed in <src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd> around position 57
After short test I have discovered that 1.3.0 accept only string up to 38 characters long - this works: modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;dst_us=$rU")
Could someone point me to the solution how to use longer definition in db_extra or tell me what I'm doing wrong?
Thanks a lot, regards
kokoska.rokoska
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Hi Daniel,
your patch fix the bug! At least openser 1.3.0 started and properly routed few calls :-)
Thank you very, very much!
kokoska.rokoska
Daniel-Constantin Mierla napsal(a):
Hello,
can you try the attached patch? It is for 1.3 branch. Should fix the case when the PV spec is last in a zero-terminated string. Let me know if it works so I can commit.
Cheers, Daniel
On 02/04/08 21:04, kokoska rokoska wrote:
Hello everybody.
I'm just trying to migrate from 1.2.2 to 1.3.0 and I discovered troubles with acc module parameters.
In 1.2.2 i used modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd")
But 1.3.0 didn't start with followed error
Feb 4 19:59:36 pbx2 /usr/local/sbin/openser[19616]: ERROR:acc:parse_acc_extra: parse failed in <src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd> around position 57
After short test I have discovered that 1.3.0 accept only string up to 38 characters long - this works: modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;dst_us=$rU")
Could someone point me to the solution how to use longer definition in db_extra or tell me what I'm doing wrong?
Thanks a lot, regards
kokoska.rokoska
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Hello,
On 02/04/08 20:41, Sergio Gutierrez wrote:
Hello everybody.
Trying to migrate from 1.2.2 version to 1.3.0 version, I discovered there is a lost item in migration guide;
The structure of gw table changes, because in 1.3.0 version, it has an additional column, so this table must be rebuilt.
if you found something that is not mentioned at: http://www.openser.org/dokuwiki/doku.php/install:1.2.2-to-1.3.0
please add a note there.
Thank you, Daniel
Best regards.
Sergio Gutiérrez
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Hi Sergio,
were you doing a manual migration or using openserdbctl migrate ? Because the tool should properly migrate all the tables and the contained data.
Regards, Bogdan
Sergio Gutierrez wrote:
Hello everybody.
Trying to migrate from 1.2.2 version to 1.3.0 version, I discovered there is a lost item in migration guide;
The structure of gw table changes, because in 1.3.0 version, it has an additional column, so this table must be rebuilt.
Best regards.
Sergio Gutiérrez
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Hi Bogdan.
I was performing a manual migration, not using the script.
Regards.
Sergio G.
On Feb 4, 2008 4:06 PM, Bogdan-Andrei Iancu bogdan@voice-system.ro wrote:
Hi Sergio,
were you doing a manual migration or using openserdbctl migrate ? Because the tool should properly migrate all the tables and the contained data.
Regards, Bogdan
Sergio Gutierrez wrote:
Hello everybody.
Trying to migrate from 1.2.2 version to 1.3.0 version, I discovered there is a lost item in migration guide;
The structure of gw table changes, because in 1.3.0 version, it has an additional column, so this table must be rebuilt.
Best regards.
Sergio Gutiérrez
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users