Hello, very new Telegraph user here. How do I detect an incoming caller''s phone number? I tried looking in @params but it has "agi_callerid" => "unknown". I also looked for caller id functionality in call_connection.rb, but it only has a method for setting the outgoing caller id, not detecting the incoming. Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/telegraph-users/attachments/20070820/8c75e8d7/attachment.html
Does it work outside of AGI? CallerID is usually passed to AGI via asterisk. ________________________________ From: telegraph-users-bounces at rubyforge.org [mailto:telegraph-users-bounces at rubyforge.org] On Behalf Of David W. Kirsch Sent: Monday, August 20, 2007 11:08 AM To: telegraph-users at rubyforge.org Subject: [Telegraph-users] incoming caller id Hello, very new Telegraph user here. How do I detect an incoming caller''s phone number? I tried looking in @params but it has "agi_callerid" => "unknown". I also looked for caller id functionality in call_connection.rb, but it only has a method for setting the outgoing caller id, not detecting the incoming. Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/telegraph-users/attachments/20070820/53b46b97/attachment.html
How would I check this? The asterisk console shows the incoming call as "-- Accepting UNAUTHENTICATED call from 81.201.82.27:" -- an ip, not a phone number. In agi debug mode, the asterisk console shows "AGI Tx >> agi_callerid: unknown". Thanks, David On 8/20/07, Patrick Baker <pbaker at adeptra.com> wrote:> > Does it work outside of AGI? CallerID is usually passed to AGI via > asterisk. > > > ------------------------------ > > *From:* telegraph-users-bounces at rubyforge.org [mailto: > telegraph-users-bounces at rubyforge.org] *On Behalf Of *David W. Kirsch > *Sent:* Monday, August 20, 2007 11:08 AM > *To:* telegraph-users at rubyforge.org > *Subject:* [Telegraph-users] incoming caller id > > > > Hello, very new Telegraph user here. > > How do I detect an incoming caller''s phone number? I tried looking in > @params but it has "agi_callerid" => "unknown". I also looked for caller id > functionality in call_connection.rb, but it only has a method for setting > the outgoing caller id, not detecting the incoming. > > Thanks, > David >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/telegraph-users/attachments/20070820/666e67b3/attachment.html
David, Are you using a DID or soft phone? If you have a DID, you may need to turn this on for SIP from your proxy. For example, Teliax has a checkbox for dnis that you need to enable to get the caller ID. Joe On 8/20/07, David W. Kirsch <dwkirsch at gmail.com> wrote:> How would I check this? > > The asterisk console shows the incoming call as "-- Accepting > UNAUTHENTICATED call from 81.201.82.27:" -- an ip, not a phone number. > > In agi debug mode, the asterisk console shows "AGI Tx >> agi_callerid: > unknown". > > Thanks, > David > > > > > On 8/20/07, Patrick Baker <pbaker at adeptra.com> wrote: > > > > > > > > > > Does it work outside of AGI? CallerID is usually passed to AGI via > asterisk. > > > > > > > > ________________________________ > > > > > From: telegraph-users-bounces at rubyforge.org > [mailto:telegraph-users-bounces at rubyforge.org] On Behalf Of > David W. Kirsch > > Sent: Monday, August 20, 2007 11:08 AM > > To: telegraph-users at rubyforge.org > > Subject: [Telegraph-users] incoming caller id > > > > > > > > > > Hello, very new Telegraph user here. > > > > How do I detect an incoming caller''s phone number? I tried looking in > @params but it has "agi_callerid" => "unknown". I also looked for caller id > functionality in call_connection.rb, but it only has a method for setting > the outgoing caller id, not detecting the incoming. > > > > Thanks, > > David > > > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > >