call_into_context doesn't accept async
Reported by ronin-9952 (at lighthouseapp) | January 17th, 2009 @ 05:07 PM
def call_into_context(channel, context, options={})
deprecation_warning
args = {:channel => channel, :context => context}
args[:priority] = options[:priority] || 1
args[:extension] = options[:extension] if options[:extension]
args[:caller_id] = options[:caller_id] if options[:caller_id]
if options[:variables] && options[:variables].kind_of?(Hash)
args[:variable] = options[:variables].map {|pair| pair.join('=')}.join('|')
end
originate args
end
Locally I just added
args[:async] = options[:async] if options[:async]
But I don't know the implications of doing so.
Comments and changes to this ticket
-
jsgoecke January 29th, 2009 @ 10:00 PM
Would you mind cloning on Github, patching and then doing a pull request back to Jay/Adhearsion? We definitely welcome the community patches!
-
Jay Phillips March 24th, 2009 @ 06:44 PM
- State changed from new to open
-
Jay Phillips March 24th, 2009 @ 06:44 PM
- Milestone cleared.
- Title changed from call_into_originate doesn't accept async to call_into_context doesn't accept async
-
Ben Langfeld September 21st, 2011 @ 04:10 PM
- State changed from open to hold
- Milestone order changed from 0 to 0
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 ยป