Hangup and last_dial_status
Reported by Polysics | June 15th, 2010 @ 09:27 AM | in 0.8.5
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!
Comments and changes to this ticket
-
Ben Klang June 15th, 2010 @ 12:14 PM
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?
-
Ben Klang July 10th, 2010 @ 02:29 PM
- 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...
-
Ben Klang August 7th, 2010 @ 01:52 PM
- Milestone set to 0.8.5
- Milestone order changed from 3037 to 0
-
Ben Klang August 24th, 2010 @ 01:55 PM
- State changed from fixcommitted to resolved
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป