#55 ✓hold
ronin-9952 (at lighthouseapp)

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

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.

New ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

Pages