[OpenSIPS-Users] Dialog start event over EVI
DanB
danb.lists at gmail.com
Sun May 17 13:58:15 CEST 2015
Hey Bogdan,
Thanks for this.
I can confirm that the hash_entry and hash_id are now attached to the event:
"""
#
U 2015/05/17 13:55:45.632615 127.0.0.1:60380 -> 127.0.0.1:2020
E_DLG_STATE_CHANGED
hash_entry::1593
hash_id::82596694
old_state::4
new_state::5
""""
As inquired in the ticket also, will it be possible here to add some
$avp or dialog variables maybe? From the billing perspective we will
need to know at least user and destination called to make use of
dialog_start event.
Ta,
DanB
On 15.05.2015 17:02, Bogdan-Andrei Iancu wrote:
> Hi Dan,
>
> Could you check the patch I did (see commit e461b65) to provide the
> hash_entry and hash_id for the event ? if ok, I will backport to 2.1 too
>
> Regards,
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
> On 11.05.2015 15:08, Bogdan-Andrei Iancu wrote:
>> Right good one :D..... We will patch it to include the DID too.
>>
>> Regards,
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>> On 11.05.2015 14:54, DanB wrote:
>>> Hi Bogdan,
>>>
>>> That is a useful variable indeed (works perfect with Accounting).
>>> Unfortunately have no clue how to include/attach it to the
>>> E_DLG_STATE_CHANGED event.
>>>
>>> Thanks,
>>> DanB
>>>
>>> On 11.05.2015 13:52, Bogdan-Andrei Iancu wrote:
>>>> Hi Dan,
>>>>
>>>> Try the $DLG_did variable :
>>>> http://www.opensips.org/html/docs/modules/1.11.x/dialog.html#id297237
>>>>
>>>> Regards,
>>>> Bogdan-Andrei Iancu
>>>> OpenSIPS Founder and Developer
>>>> http://www.opensips-solutions.com
>>>> On 09.05.2015 12:23, DanB wrote:
>>>>> Hey Bogdan,
>>>>>
>>>>> Thank you for the tip. I am trying now to use as advised
>>>>> E_DLG_STATE_CHANGED.
>>>>>
>>>>> I get the following information in the event:
>>>>> """
>>>>> U 2015/05/09 11:19:59.018404 127.0.0.1:40817 -> 127.0.0.1:2020
>>>>> E_DLG_STATE_CHANGED
>>>>> old_state::1
>>>>> new_state::5
>>>>> """
>>>>>
>>>>> Can you advise me how to add some useful information inthere? I
>>>>> would need to know at least h_entry and h_id for the dialog (so I
>>>>> can kill it from outside) and some other $avps I need for prepaid
>>>>> at the start of the call.
>>>>>
>>>>> Thanks again!
>>>>> DanB
>>>>>
>>>>> On 07.05.2015 18:42, Bogdan-Andrei Iancu wrote:
>>>>>> Hi Dan,
>>>>>>
>>>>>> As in ACC you cannot do START/STOP and CDRs in the same time, I
>>>>>> suggest to use the CDR event for accounting purposes and for
>>>>>> monitoring the dialog status take a look at the
>>>>>> E_DLG_STATE_CHANGED event:
>>>>>> http://www.opensips.org/html/docs/modules/2.1.x/dialog.html#id297207
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Bogdan-Andrei Iancu
>>>>>> OpenSIPS Founder and Developer
>>>>>> http://www.opensips-solutions.com
>>>>>>
>>>>>> On 06.05.2015 13:39, DanB wrote:
>>>>>>> Hey Guys,
>>>>>>>
>>>>>>> I am using EVI to generate CDRs out of OpenSIPS. The result is
>>>>>>> that I get one CDR record at the end of the dialog as E_ACC_CDR
>>>>>>> event.
>>>>>>>
>>>>>>> Now I would need to know also when dialog starts (eg: after
>>>>>>> INVITE is being OKed).
>>>>>>>
>>>>>>> What is the most recommended way to achieve that? I tried
>>>>>>> setting evi_flag but it appears that works only if I do not set
>>>>>>> cdr_flag. Am I right in that assumption? Are both evi_flag and
>>>>>>> evi_missed_flag options suppressed by cdr_flag?
>>>>>>>
>>>>>>> Thanks in advance for your feedback!
>>>>>>> DanB
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Users mailing list
>>>>>>> Users at lists.opensips.org
>>>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150517/ccbbb11f/attachment.htm>
More information about the Users
mailing list