[asterisk-bugs] [JIRA] (ASTERISK-16881) EWS Write Causes Segfault

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Jan 14 14:43:45 CST 2013


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

Matt Jordan closed ASTERISK-16881.
----------------------------------

    Resolution: Not A Bug

I tend to agree with Andrew's analysis. Since this is a bug in the Neon library, I'm closing this out as not a bug (at least with Asterisk).
                
> EWS Write Causes Segfault
> -------------------------
>
>                 Key: ASTERISK-16881
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-16881
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Resources/res_calendar
>            Reporter: Andrew Parisio
>            Severity: Critical
>
> If i try and do a write to the calendar it fails and segfaults.  Also calendar show calendar does not properly show busy state as if it is unable to read from the calendar either.  
> Console will intermittently show connection errors like this but not crash:
> Unable to communicate with Exchange Web Service at 'https://mail.mydomain.com/ews/Exchange.asmx': Could not read status line: connection timed out
> ****** ADDITIONAL INFORMATION ******
> [testcalendar]
> type = ews               ; type of calendar--currently supported: ical, caldav, exchange, or ews
> url = https://mail.mydomain.com/ews/Exchange.asmx ; URL to MS Exchange EWS
> user = andrewp              ; Exchange username
> secret = passwordmasked        ; Exchange password
> refresh = 1             ; refresh calendar every n minutes
> timeframe = 6000           ; number of minutes of calendar data to pull for each refresh period
> extensions.conf:
> exten => 1,1,Set(CALENDAR_WRITE(testcalendar,summary,organizer,start,end,busystate)= "My event","mailto:andrewp at mydomain.com",228383580,228383640,1))
> the only real output in messages
> [Oct 27 07:57:48] DEBUG[20950] pbx.c: Launching 'Set'
> [Oct 27 07:57:48] DEBUG[20950] res_calendar_ews.c: EWS: HTTP request...
> [Oct 27 07:57:48] DEBUG[20950] res_calendar_ews.c: <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><soap:Body><CreateItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" SendMeetingInvitations="SendToNone" ><SavedItemFolderId><t:DistinguishedFolderId Id="calendar"/></SavedItemFolderId><Items><t:CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><Subject> My event</Subject><Body BodyType="Text"></Body><ReminderIsSet>false</ReminderIsSet><Start>1977-03-28T07:53:00Z</Start><End>1977-03-28T07:54:00Z</End><IsAllDayEvent>false</IsAllDayEvent><LegacyFreeBusyStatus>Tentative</LegacyFreeBusyStatus><Location></Location></t:CalendarItem></Items></CreateItem></soap:Body></soap:Envelope>
> console output:
>     -- Executing [1 at from-staff:1] Set("SIP/1500-00000000", "CALENDAR_WRITE(testcalendar,summary,organizer,start,end,busystate)= "My event","mailto:andrewp at mydomain.com",228383580,228383640,1)") in new stack
> [Oct 27 08:03:26] WARNING[20994]: res_calendar_ews.c:530 send_ews_request_and_parse: Unable to communicate with Exchange Web Service at 'https://mail.mydomain.com/ews/Exchange.asmx': Could not read status line: connection timed out
> Segmentation fault (core dumped)

--
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