Re: [SR-Users] decimal fraction problem

2011-03-13 Thread
is the default value Q_UNSPECFIED=-1) I find a function set_ruri_q() in dset.c but I don't know how to call it in the configure file. 2011/2/23 Daniel-Constantin Mierla : > Hello, > > On 2/21/11 10:28 AM, 侯旭光 wrote: > > Hello > I need to add q value while using function a

Re: [SR-Users] set_dlg_profile() in failure_route

2011-03-04 Thread
-------# Is anything wrong? 2011/3/3 Timo Reimann : > Hi, > > > On 03.03.2011 14:47, 侯旭光 wrote: >> set_dlg_profile() function carshed in failure_route when I need do the >> call-forwarding. >> >>

[SR-Users] set_dlg_profile() in failure_route

2011-03-03 Thread
Hello set_dlg_profile() function carshed in failure_route when I need do the call-forwarding. When in busy-call-forward or no-answer-forward mode ,it'll run into the failure_route.But at the time , the route_type of the dialog is FAILURE_ROUTE and the get_current_dialog() return NULL, then the s

[SR-Users] kamctl db exec

2011-02-24 Thread
Hello How to use "kamctl db exec " function? My SQL_ENGINE is MySQL How to write the command line when I want to do the query "select * from acc" with kamctl db tool? thanks ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

Re: [SR-Users] get_profile_size() function help (Alex Balashov)

2011-02-23 Thread
e > issue still persists. > > Cheers, > Daniel > > On 2/22/11 6:38 PM, Henning Westerholt wrote: >> On Tuesday 22 February 2011, 侯旭光 wrote: >>> On 02/21/2011 04:50 AM, ??? wrote: >>>> ALTER: [main.c 722] : child process 29651 exited by sinal 11 &g

Re: [SR-Users] get_profile_size() function help (Alex Balashov)

2011-02-21 Thread
On 02/21/2011 04:50 AM, ??? wrote: > ALTER: [main.c 722] : child process 29651 exited by sinal 11 > ALTER: [main.c 725] : core was generated > INFO : [main.c 737] : terminating due to SIGCHILD This is a crash. It's a bug. Then how to get the number of dialogs belonging to a profile? _

[SR-Users] decimal fraction problem

2011-02-21 Thread
Hello I need to add q value while using function append_branch(),but the function only takes decimal fraction as the parameter. What if I want to use pv to add q value? The $var and $avp just have string and integer type. Thanks a lot! ___ SIP Express R

[SR-Users] get_profile_size() function help

2011-02-21 Thread
Hello bother again what's the problem with the function get_profile_size() My script modparam("dialog", "enable_stats", 1) modparam("dialog", "dlg_flag", 4) modparam("dialog", "dlg_mode", 1) modparam("dialog", "db_url", "mysql://openser:openserrw@localhost/openser") modparam("dialog", "profiles

[SR-Users] decimal fraction problem

2011-02-21 Thread
Hello I need to add q value while using function append_branch(),but the function only takes decimal fraction as the parameter. What if I want to use pv to add q value? The $var and $avp just have string and integer type. Thanks a lot! ___ SIP Express R

[SR-Users] avp_db_query() question

2011-01-19 Thread
Hello avp_db_query(query[,dest]) can get a database query and store the results in the avps. But what if the results returns many rows,and how can I get all the results? How to set the [dest] parameter ? I've tried the method describered inhttp://www.kamailio.org/docs/avp_db_query.html,but it do