[OpenSIPS-Devel] Dialog module not working

Maqbul Khan - Reform InfoTech maqbul at reforminfotech.com
Tue Jul 1 15:18:37 CEST 2014


Hi,

I have managed to get values for duration, setup time, created fields.  Now I would like to see the from/to party URI as well as how can I see these records in the CP?

mysql> select * from acc order by Id desc limit 0,10;
+------+--------+----------------------------------+----------------------------------+----------------------------------+----------+------------+---------------------+--------+----------+-----------+---------------------+
| id   | method | from_tag                         | to_tag                           | callid                           | sip_code | sip_reason | time                | cdr_id | duration | setuptime | created             |
+------+--------+----------------------------------+----------------------------------+----------------------------------+----------+------------+---------------------+--------+----------+-----------+---------------------+
| 1705 | BYE    | caAP1nQWLr69ppVbHAOzQB3N7tUg6LFe | 9726134b                         | NTw0aWGotkTFiWkbnRVAgWBLpLoHQco6 | 200      | OK         | 2014-07-01 09:15:33 |      0 |        0 |         0 | NULL                |
| 1704 | INVITE | caAP1nQWLr69ppVbHAOzQB3N7tUg6LFe | 9726134b                         | NTw0aWGotkTFiWkbnRVAgWBLpLoHQco6 | 200      | OK         | 2014-07-01 09:15:16 |      0 |       16 |         3 | 2014-07-01 09:15:13 |
| 1703 | BYE    |



Maqbul A Khan

On 01-Jul-2014, at 6:36 pm, Maqbul Khan - Reform InfoTech <maqbul at reforminfotech.com> wrote:

> Hi Miha,
> 
> Yes, path is correct, in fact MI commands are working fine from CLI only on portal it does not show.  My major goal is to make CDR working, while reading manuals, i came to know dialog should be working and I checked on CLI everything is working fine.
> 
> In fact, ACC table is also getting records for each call, but CDR table does not update.  CDR table was not there all these time, I recently created through script available in tools folder for CP.
> 
> Here are ACC table records:
> 
> mysql> select * from acc order by Id desc limit 0,10;
> +------+--------+----------------------------------+----------------------------------+----------------------------------+----------+------------+---------------------+--------+----------+-----------+---------+
> | id   | method | from_tag                         | to_tag                           | callid                           | sip_code | sip_reason | time                | cdr_id | duration | setuptime | created |
> +------+--------+----------------------------------+----------------------------------+----------------------------------+----------+------------+---------------------+--------+----------+-----------+---------+
> | 1695 | BYE    | yWL6.hcBbHQuiCKVmdVZ6GhAZ7w44XVx | PmLWoZFFV1UdYTUw505Pb4yrEJ0r7M8i | mOk1S34qlptLGZdEOpnKJSVFJlTtonmt | 200      | OK         | 2014-07-01 07:57:46 |      0 |        0 |         0 | NULL    |
> | 1694 | INVITE | yWL6.hcBbHQuiCKVmdVZ6GhAZ7w44XVx | PmLWoZFFV1UdYTUw505Pb4yrEJ0r7M8i | mOk1S34qlptLGZdEOpnKJSVFJlTtonmt | 200      | OK         | 2014-07-01 07:57:25 |      0 |        0 |         0 | NULL    |
> | 1693 | BYE    | Ci0RTq8YuHLqMrAXv6EZV2zUTDVvdAI2 | CTIzYMvWKN6.9g71x5qPUY3VUkYnmuxf | b1Dph4-FuxwaAWHyL-FaAPvB9uyNVdvg | 200      | OK         | 2014-07-01 07:57:00 |      0 |        0 |         0 | NULL    |
> | 1692 | INVITE | Ci0RTq8YuHLqMrAXv6EZV2zUTDVvdAI2 | CTIzYMvWKN6.9g71x5qPUY3VUkYnmuxf | b1Dph4-FuxwaAWHyL-FaAPvB9uyNVdvg | 200      | OK         | 2014-07-01 07:56:45 |      0 |        0 |         0 | NULL    |
> | 1691 | BYE    
> 
> cdr_id, duration, setuptime & created all of them are 0 or null.  Any thoughts?
> 
> Maqbul A Khan
> 
> On 30-Jun-2014, at 6:22 pm, Miha <miha at softnet.si> wrote:
> 
>> did you check if the path is right?
>> 
>> 
>> miha
>> 
>> Dne 6/30/2014 2:49 PM, piše Maqbul Khan - Reform InfoTech:
>>> Hello,
>>> 
>>> I have setup opensips in a normal way, but when I check Dialog in OpenSIPS Control Panel, it says Array ( [0] => sorry -- cannot open write fifo )
>>> 
>>> Also, when I try to do tail /tmp/opensips_fifo it does not show anything.  Can anyone help with this? My main goal is to make CDRs working.  I can see CDR fetch query is done fine on the admin portal, but as far as I have read, dialog module should be working for this.
>>> 
>>> Maqbul A Khan
>>> Reform InfoTech
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>> 
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140701/dc2f0b9a/attachment.htm>


More information about the Devel mailing list