[Serusers] SER & MYSQL data couple of emty fields

Iqbal iqbal at gigo.co.uk
Thu May 19 02:59:10 CEST 2005


try adding

modparam("acc", "log_fmt", "cdfimorstup")

 c = Call-Id
     * d = To tag (Dst)
     * f = From
     * i = Inbound Request-URI
     * m = Method
     * o = Outbound Request-URI
     * r = fRom
     * s = Status
     * t = To
     * u = digest Username
     * p = username Part of inbound Request-URI

If the value is empty u get a n/a


also i dont think acc_db_request("Missed Call", "missed_calls");
is correct, it does "manual" accounting try using

modparam("acc", "db_missed_flag", 1)

Also the n/a could be because the entity has not been verified
Iqbal


On 5/18/2005, "Mr Greg Plater" <gplater at da-bratz.com> wrote:

>Brain strain please help!!!!!
>
>I have this SER - MYSQL -SERWEB
>
>When I place setflag(3) or setflag(1)
>
>Example:
>
>setflag(3);
>acc_db_request("Missed Call", "missed_calls");
>
>I note when I place a call to a user that is not online the missed_calls
>table is populated with:
>
>| "8838212361" <sip:8838212361@***.***.***.***>;tag=SxCH3s2YXJCUGNdq |
>"8838212349" <sip:8838212349@***.***.***.***>                | Missed Call
>| INVITE     | sip:8838212349@***.***.***.***|
>sip:8838212349@***.***.***.***| sip:8838212361@***.***.***.***|
>sip:8838212349@***.***.***.***| waLKvXL2KBr8oAuS@***.***.***.***     | n/a
>| n/a    | SxCH3s2YXJCUGNdq | n/a        | 2005-05-18 07:06:08 | 2005-05-18
>17:06:08 |
>
>The two n/a are columns username & domain . When I log in as the user in ser
>web the missed the call the data does not display. I figure this is because
>of the fields n/a.  Anyone have any ideas on what I have done wrong
>
>I have checked the table in mysql and noted the fields are set to "not
>null" this should mean that the fields are never empty, were does the n/a
>come from and why did the fields not populate with the correct data?
>
>




More information about the sr-users mailing list