#75 ✓duplicate

in dial command :caller_id must be numeric?

Reported by dilshodm | June 12th, 2009 @ 08:24 AM


I want to send :caller_id => "Restricted" in dial command, but it raises exception "Caller ID must be numerical"
In asterisk it's available to put non-numeric callerid.
Is it possible to send non-numeric strings to caller_id?

raise ArgumentError, "Caller ID must be numerical" if caller_id.to_s !~ /^\d+$/

Comments and changes to this ticket

  • Ben Klang

    Ben Klang March 4th, 2011 @ 11:10 AM

    • Tag set to callerid
    • State changed from “new” to “duplicate”
    • Assigned user changed from “Jay Phillips” to “Ben Klang”
    • Milestone order changed from “0” to “0”

    use :name instead of :caller_id.

  • dilshodm

    dilshodm March 4th, 2011 @ 11:23 AM

    Thank you for the reply.
    I'm not sure, if it's legal from telephony's point of view to send caller id as: "+44123456789", i.e. with "+" sign?
    If yes, then callerid method should accept +, otherwise everything is correct.

    Regards, Dilshod.

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

People watching this ticket