dial() with :caller_id and :name ignores :name
Reported by Ben Klang | October 29th, 2010 @ 12:14 PM | in 1.0.1
When calling dial() with :caller_id and :name the resulting caller ID has a blank caller ID name.
The problem is that :name => "Foo" triggers an AGI SET
VARIABLE CALLERID(name) Foo
where :caller_id => 1234
triggers SET CALLERID 1234
. The latter resets all
caller ID information, not just the number. Also, Adhearsion
prevents using :caller_id to specify the entire caller ID string as
it is expecting only a number.
We should discuss whether :caller_id should accept a name string, but for now I don't want to change that.
Comments and changes to this ticket
-
Ben Klang October 29th, 2010 @ 12:16 PM
- State changed from new to fixcommitted
I have committed a fix that uses CALLERID(num) instead of SET CALLERID. This should allow both values to be used together.
-
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 ยป