[asterisk-bugs] [JIRA] (ASTERISK-19738) Calendar EWS does not attempt to extract the Body element in a CalendarItem and populate the description event field

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Dec 10 07:19:45 CST 2012


     [ https://issues.asterisk.org/jira/browse/ASTERISK-19738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-19738:
-----------------------------------

    Target Release Version/s: 11.1.0
                              10.11.0-digiumphones
                              10.11.0
                              1.8.19.0
    
> Calendar EWS does not attempt to extract the Body element in a CalendarItem and populate the description event field
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-19738
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19738
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_calendar_ews
>    Affects Versions: 1.8.11.0
>         Environment: Linux r1 2.6.32-131.17.1.el6.x86_64 #1 SMP Wed Oct 5 17:19:54 CDT 2011 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Dmitry Burilov
>            Assignee: Dmitry Burilov
>              Labels: calendar
>      Target Release: 1.8.19.0, 10.11.0, 10.11.0-digiumphones, 11.1.0
>
>         Attachments: calendar_ews_body_2012_10_29.diff, calendar_ews_body.diff
>
>
> Hello,
> I'm trying to retrieve field "Description" from Calendar(ex) EWS through function CALENDAR_QUERY_RESULT and CALENDAR_EVENT in dialplan. When i do the same thing from Google Calendar(ghelix), everything works fine and the log is:
> log query from gmail (successful):
>  Executing [25 at calendar:30] Set("SIP/316-00001007", "id=490f610a36e89c7b43fb220b5b61acb5") in new stack
>  Executing [25 at calendar:31] NoOp("SIP/316-00001007", "getnum=1") in new stack
>  Executing [25 at calendar:32] NoOp("SIP/316-00001007", "summary=rgw") in new stack
>  Executing [25 at calendar:33] NoOp("SIP/316-00001007", "description=wergwergwergwer\ng\nwer\ng\nwerg\nwe\nrg\nwe\nrg\nwer\ngw") in new stack
>  Executing [25 at calendar:34] NoOp("SIP/316-00001007", "organizer=") in new stack
>  Executing [25 at calendar:35] NoOp("SIP/316-00001007", "location=ergwerg") in new stack
>  Executing [25 at calendar:36] NoOp("SIP/316-00001007", "categories=") in new stack
>  Executing [25 at calendar:37] NoOp("SIP/316-00001007", "priority=0") in new stack
>  Executing [25 at calendar:38] NoOp("SIP/316-00001007", "calendar=ghelix") in new stack
>  Executing [25 at calendar:39] NoOp("SIP/316-00001007", "uid=rq1a9bwefwefqergrudj3s at google.com") in new stack
>  Executing [25 at calendar:40] NoOp("SIP/316-00001007", "start=1333709340") in new stack
>  Executing [25 at calendar:41] NoOp("SIP/316-00001007", "end=1333712940") in new stack
>  Executing [25 at calendar:42] NoOp("SIP/316-00001007", "busystate=2") in new stack
> when i'm doing the same thing but from Calendar EWS, i get this:
> log query from exchange (unsuccessful):
>  Executing [25 at calendar:15] Set("SIP/316-00001007", "id=30e4bf842037c9c4093bb2a106c2bbb7") in new stack
>  Executing [25 at calendar:16] NoOp("SIP/316-00001007", "getnum=1") in new stack
>  Executing [25 at calendar:17] NoOp("SIP/316-00001007", "summary=test0.5") in new stack
>  Executing [25 at calendar:18] NoOp("SIP/316-00001007", "description=") in new stack
>  Executing [25 at calendar:19] NoOp("SIP/316-00001007", "organizer=Бурилов Дмитрий Андреевич") in new stack
>  Executing [25 at calendar:20] NoOp("SIP/316-00001007", "location=location 0.5") in new stack
>  Executing [25 at calendar:21] NoOp("SIP/316-00001007", "categories=Anniversary") in new stack
>  Executing [25 at calendar:22] NoOp("SIP/316-00001007", "priority=5") in new stack
>  Executing [25 at calendar:23] NoOp("SIP/316-00001007", "calendar=ex") in new stack
>  Executing [25 at calendar:24] NoOp("SIP/316-00001007", "uid=AAATAGFzc2tlckBzcGIuaGVsaXgucnUARgAAAAAA0PpBZh85k0ao7P9o8ppT/AcAWBJq690AM0aLUB7apKHobQBpgBPSXAAA7uq74+NoH0OyS5xytWfDuwCBT2Bu5gAA") in new stack
>  Executing [25 at calendar:25] NoOp("SIP/316-00001007", "start=1333709340") in new stack
>  Executing [25 at calendar:26] NoOp("SIP/316-00001007", "end=1333712940") in new stack
>  Executing [25 at calendar:27] NoOp("SIP/316-00001007", "busystate=2") in new stack
> Field "description" is empty even though it exists in calendar event.
> Here is a piece of my dialplan configuration:
> same => n,Set(id=${CALENDAR_QUERY(ex,${EPOCH},${EPOCH})})
> same => n,NoOp(getnum=${CALENDAR_QUERY_RESULT(${id},getnum)})
> same => n,NoOp(summary=${CALENDAR_QUERY_RESULT(${id},summary)})
> same => n,NoOp(description=${CALENDAR_QUERY_RESULT(${id},description)})
> same => n,NoOp(organizer=${CALENDAR_QUERY_RESULT(${id},organizer)})
> same => n,NoOp(location=${CALENDAR_QUERY_RESULT(${id},location)})
> same => n,NoOp(categories=${CALENDAR_QUERY_RESULT(${id},categories)})
> same => n,NoOp(priority=${CALENDAR_QUERY_RESULT(${id},priority)})
> same => n,Set(calendar=${CALENDAR_QUERY_RESULT(${id},calendar)})
> same => n,NoOp(uid=${CALENDAR_QUERY_RESULT(${id},uid)})
> same => n,NoOp(start=${CALENDAR_QUERY_RESULT(${id},start)})
> same => n,NoOp(end=${CALENDAR_QUERY_RESULT(${id},end)})
> same => n,NoOp(busystate=${CALENDAR_QUERY_RESULT(${id},busystate)}) ;0=FREE, 1=TENTATIVE, 2=BUSY
> I suppose it is a bug. Is there any patch or way to fix this problem?
> If you need more info, please let me know, i will send you debug information.
> Thanks in advance,
> Dmitry 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list