Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

in dial command :caller_id must be numeric?

#75

Hi,

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+$/

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

State: duplicate
Milestone: none
Assigned to: Ben Klang Ben Klang

Activity

  1. Ben Klang
    Ben Klang
    • 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.

    March 4th, 2011 @ 11:10 AM

  2. dilshodm
    dilshodm

    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.

    March 4th, 2011 @ 11:23 AM

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.