[Asterisk-Users] Cisco 7960 and AutoAnswer.

Richard Hamnett r.hamnett at gmail.com
Thu Feb 10 11:41:52 MST 2005


sub send_cisco_keys {
  my @keys = ("test open", "test key spkr");
  chomp;
    
  my $t = new Net::Telnet (Timeout => 10, Prompt => '/> $/');
  $t->open(CISCO_IP);
  $t->cmd(CISCO_PASS);
  $t->cmd("test open");
  foreach(@keys) {
    $t->cmd($_);
    sleep 1;
  }
  $t->cmd("test close");
  
  $t->close;
  return 1;
  
} 


On Thu, 10 Feb 2005 09:20:37 -0600, Chris Wade <clwade at sparco.com> wrote:
> Chris Wade wrote:
> > C F wrote:
> >
> >> On a Cisco 7960 Auto Answer is only configurable using the phone (not
> >> via TFTP), does anybody know if it is possible using sip notify or any
> >> other way but walking over to the phone?
> >
> >
> > I've got a script that logs into the phone and sets this using the 'test
> > key' functionality of the telnet CLI on the phone.  This is the only
> > other way I am aware of at this time.  I'll post this on the wiki later
> > this week.
> >
> > -Chris
> >
> 
> My apologies for not getting this posted yet.  I've got several pieces
> of my setup here that I want to clean up to reflect recent changes in
> HEAD before I post them.  I've also got to sanitize everything for
> posting to the community - a lot of this stuff is really specific to our
> implementation here.  On top of this, I've also got some deadlines I'm
> trying to meet right now.  Things will clear up for me around the 20th,
> so for anybody needing this stuff, just hold on until then.
> 
> -Chris
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list