Hi All,
I'm having a problem with mysql accounting, I tested a call to my mobile, after 20 secs I ended the call. But when I looked at mysql, there was no BYE, but I'm pretty sure that I got a BYE because I was looking at "ngrep 5060" from start up to end of the call.
------------------------------------------------------------------------ | sip_method | time | +----------------------------------+ | ACK | 2004-05-06 16:40:51 | | INVITE | 2004-05-06 16:40:51 | +----------------------------------+
What could be wrong? Why is it that the BYE was not inserted to the database?
TIA
Ronald
Do you record route?
- Atle
* Ronald Ramos ron@silverbackasp.com [040506 14:51]:
Hi All,
I'm having a problem with mysql accounting, I tested a call to my mobile, after 20 secs I ended the call. But when I looked at mysql, there was no BYE, but I'm pretty sure that I got a BYE because I was looking at "ngrep 5060" from start up to end of the call.
| sip_method | time | +----------------------------------+ | ACK | 2004-05-06 16:40:51 | | INVITE | 2004-05-06 16:40:51 | +----------------------------------+
What could be wrong? Why is it that the BYE was not inserted to the database?
TIA
Ronald
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Do you set the accounting flag for the BYE requests? Often the y are handled in the loose_route block, so use setflag() also in the loose_route block.
klaus
Ronald Ramos wrote:
Hi All,
I’m having a problem with mysql accounting, I tested a call to my mobile, after 20 secs I ended the call. But when I looked at mysql,
there was no BYE, but I’m pretty sure that I got a BYE because I was looking at “ngrep 5060” from start up to end of the call.
| sip_method | time |
+----------------------------------+
| ACK | 2004-05-06 16:40:51 |
| INVITE | 2004-05-06 16:40:51 |
+----------------------------------+
What could be wrong? Why is it that the BYE was not inserted to the database?
TIA
Ronald
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers