Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Hangup and last_dial_status

#96

Hello,
I have run into the following problem: when the calling party hangs up on a call (not the called party), the last_dial_status and related functions do not work because of a strange parsing bug.
Basically, Ahn receives a code that is "HANGUP200 result=1", looking like two messages are sent at once.
That prevents the variable() function from properly operating.
I fixed it by tweaking get_variable by removing the ^ symbol from the regexp, but it is not a proper fix for sure.
Thansk for looking into it!

Reported by Polysics · June 15th, 2010 @ 09:27 AM

State: resolved
Milestone: 0.8.5
Assigned to: Ben Klang Ben Klang

Activity

  1. Ben Klang
    Ben Klang

    Is the way you pasted it correct? I see "HANGUP(no space)200"? If so, what is the exact version of Asterisk you are running?

    June 15th, 2010 @ 12:14 PM

  2. Ben Klang
    Ben Klang
    • State changed from new to fixcommitted
    • Tag changed from variable dial status hangup to unhandled exception, agi, hangup
    • Milestone order changed from 0 to 0

    I have been able to reproduce this under several conditions. A commit has been made to Git to address this issue. It has resolved the issue for me, please test and let me know whether it solves it for you as well.

    http://github.com/adhearsion/adhearsion/commit/96883175f5a978fa908b...

    July 10th, 2010 @ 02:29 PM

  3. Ben Klang
    Ben Klang
    • Milestone set to 0.8.5
    • Milestone order changed from 3037 to 0

    August 7th, 2010 @ 01:52 PM

  4. Ben Klang
    Ben Klang
    • State changed from fixcommitted to resolved

    August 24th, 2010 @ 01:55 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.