adhearsion does not know how to parse agi_xxx: param without value
Reported by ik_5 | November 17th, 2010 @ 10:50 AM | in 1.0.1
call.rb contain a method called
separate_line_into_key_value_pair.
This class method uses regex in order to parse the agi_xxxxx params
from Asterisk, but it does not know how to handle parameters with
no values like so:
"agi_accountcode:"
I'm attaching a patch of the parsing in order to also be able to handle such case.
Comments and changes to this ticket
-
Ben Klang January 11th, 2011 @ 12:24 PM
- Milestone set to 1.0.1
- State changed from new to fixcommitted
- Assigned user set to Ben Klang
- Milestone order changed from 3034 to 0
Patch committed with slight modification to avoid the unnecessary backref.
https://github.com/adhearsion/adhearsion/commit/030d881cdd78685f061...
Thanks!
-
Ben Klang January 11th, 2011 @ 12:25 PM
- Tag set to agi
-
Ben Klang March 4th, 2011 @ 11:08 AM
- 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 ยป