[asterisk-users] Asterisk 1.2.37 + BLF + ParkedCalls + SPA962

2010-01-25 Thread Joel Lansden
Greetings all.

 

First off, thank you for your time on this.  I have spent literally 12
hours searching every forum and article I can find, and I'm going
cross-eyed, so I need to bother everyone with this.

 

I am running * 1.2.37, and I am trying to get the hints working, so I
can turn one of my SPA962's LED's red when someone parks a call.

 

I have used Button #3 on my SPA962 to successfully monitor Zap channels,
SIP channels, trunks.. basically, everything ELSE, so I am pretty sure
my phone is set up properly.  But I CANNOT get this puppy to show me
when someone parks a call, regardless of the fact that call parking also
works perfectly on this system. 

 

I have found so much conflicting information regarding the [parkedcalls]
context, and the hints entry for extensions.conf (to use
"exten=>701,hint,park:7...@parkedcalls" vs.
"exten=>701,hint,Local/7...@parkedcalls"), as well as how to set up
features.conf, I just don't know which end is up.  

 

Does anyone out there know how to make this work with my setup?  When I
type "show hints", earlier is was saying "State:Unavailable", now it
shows "State:Idle" but never does anything when I park a call.  Here's
the files:



Features.conf:

 

[general]

parkext => 700

parkpos => 701-710

context => parkedcalls

parkingtime => 90

 

Extensions.conf (there is more after this, but it's not relevant):

 

[general]

static=yes

writeprotect=no

autofallthrough=yes

clearglobalvars=no

priorityjumping=no

 

[globals]

 

[default]

 

include=>parkedcalls

exten => 701,1,ParkedCall(701)

exten => 701,hint,Local/7...@parkedcalls

 

CLI> show hints:

 

 -= Registered Asterisk Dial Plan Hints =-

   701 : Local/7...@parkedcall  State:Idle
Watchers  1

 

So, there you have it.  I hope somebody can help.

 

THANK YOU!!

~Joel

 

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [asterisk-users] CTI: put on hold a call

2006-12-08 Thread Joel Lansden
One suggestion is to transfer the call to an "on-hold" extension that
plays music, then go pick up the call later...  or get a new SIP phone.
: )

 

~Joel

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gregory
Duchatelet
Sent: Friday, December 08, 2006 9:51 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] CTI: put on hold a call

 

Hi list,

 

I need no control a call via AMI or AGI or whatever. I don't know how to
put a call on hold.

Example: an external call ring, in the dial plan I call "Dial"
application to an internal SIP phone. But my SIP phone does not have the
"on hold" feature, so how to put the callee on hold ?

 

Thanks

Greg

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Re: G.729 operating on outgoing only

2006-10-22 Thread Joel Lansden
That did it!  Thank you very much!!

~Joel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Joseph
Sent: Sunday, October 22, 2006 11:56 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Re: G.729 operating on outgoing only

On 2006-10-22 07:14:46 -0700, "Joel Lansden" <[EMAIL PROTECTED]>
said:

> 
> 
> This is a multi-part message in MIME format.
> 
> Greetings list,
> =20
> 
> I have an older Dell Poweredge server running Asterisk 1.2.13.  I have
> installed 5 licenses for G.729 from Digium.  I have 5 SIP trunks
through
> a US provider.  When my system makes outgoing calls, they go out as
> G.729.  However, when an incoming call comes in, my server does not
> indicate to the provider's server that G.729 is an option, so the
remote
> server sends the call in ULAW.  My sip.conf file has both the remote
> server my calls come from, and the remote server we send calls to
> listed, with disallow=3Dall then allow=3Dg729, but only the outgoing =
> seems
> to be doing what it's supposed to.
> 
> =20
> 
> Any suggestions?

Make sure that your [general] section in SIP.conf includes allow G729.


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] G.729 operating on outgoing only

2006-10-22 Thread Joel Lansden








Greetings list,

 

I have an older Dell Poweredge server running Asterisk
1.2.13.  I have installed 5 licenses for G.729 from Digium.  I have 5 SIP
trunks through a US
provider.  When my system makes outgoing calls, they go out as G.729.  However,
when an incoming call comes in, my server does not indicate to the provider’s
server that G.729 is an option, so the remote server sends the call in ULAW. 
My sip.conf file has both the remote server my calls come from, and the remote server
we send calls to listed, with disallow=all then allow=g729, but only the
outgoing seems to be doing what it’s supposed to.

 

Any suggestions?

 

 


 
  
  Joel Lansden
  Solutions Architect
  [EMAIL PROTECTED]
  tel 205.533.2039
  fax 866.602.9130
   
  
  
   
  digitalparadisesystems
  http://www.digitalparadise.net
  
  
  Could it be any easier?™
  
 


 






___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] WAIT FOR DIGIT not working

2006-09-14 Thread Joel Lansden
I changed things so that the dialplan would answer, THEN launch the script, but 
this made no difference.  The script still won't wait for DTMF tones from the 
caller.

~Joel

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pato Valarezo
Sent: Thursday, September 14, 2006 11:43 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] WAIT FOR DIGIT not working

Joel Lansden wrote:
> Hello all,
> 
> I have been trying to solve this problem for days, with no luck.
> 
> When I run an AGI script from my extensions.conf, it seems no matter 
> what I do, the "WAIT FOR DIGIT" command will not work.  The system just 
> flies past it without waiting a single millisecond, and of course my 
> script crashes because it doesn't have the input it needs.  I have run 3 
> different versions of Asterisk in the hopes of clearing this up, and 
> presently am on 1.2.12.1.
> 
> My script is simple:
> 
> 
> #!/usr/bin/perl
> 
> use POSIX;
> 
> $| = 1;
> 
> sub trim {
> my @out = @_;
> for (@out)
> {
>s/^\s+//;
>s/\s+$//;
> }
> return wantarray ? @out : $out[0];
> }
> 
> while() {
> chomp;
> last unless length($_);
> if (/^agi_(\w+)\:\s+(.*)$/) {
> $AGI{$1} = $2;
> }
> }
> 
> print "EXEC Ringing\n";
> print "EXEC Wait 1\n";
> print "EXEC Answer\n";
> print "EXEC Festival 'Please enter the extension you want to call'\n";
> $target = "";
> 
> print "WAIT FOR DIGIT 5000\n";
> $target .= ;
> print "WAIT FOR DIGIT 5000\n";
> $target .= ;
> print "WAIT FOR DIGIT 5000\n";
> $target .= ;
> 
> print STDERR "Result was $target\n";
> 
> 
> That's all there is to it, but it won't work.
> 
> Can anyone help?
> Thanks!!!
> 
> ~Joel

Hi, are you using SIP? note that you NEED to answer before launch the AGI.



-- 
patoVala
Linux User#280504
Hablando en http://www.elprimoalcahuete.com
"La práctica vale más que la gramática. "
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] WAIT FOR DIGIT not working

2006-09-14 Thread Joel Lansden
Title: WAIT FOR DIGIT not working






Hello all,

I have been trying to solve this problem for days, with no luck.

When I run an AGI script from my extensions.conf, it seems no matter what I do, the "WAIT FOR DIGIT" command will not work.  The system just flies past it without waiting a single millisecond, and of course my script crashes because it doesn't have the input it needs.  I have run 3 different versions of Asterisk in the hopes of clearing this up, and presently am on 1.2.12.1.

My script is simple:


#!/usr/bin/perl

use POSIX;

$| = 1;

sub trim {
    my @out = @_;
    for (@out)
    {
   s/^\s+//;
   s/\s+$//;
    }
    return wantarray ? @out : $out[0];
}

while() {
    chomp;
    last unless length($_);
    if (/^agi_(\w+)\:\s+(.*)$/) {
    $AGI{$1} = $2;
    }
}

print "EXEC Ringing\n";
print "EXEC Wait 1\n";
print "EXEC Answer\n";
print "EXEC Festival 'Please enter the extension you want to call'\n";
$target = "";

print "WAIT FOR DIGIT 5000\n";
$target .= ;
print "WAIT FOR DIGIT 5000\n";
$target .= ;
print "WAIT FOR DIGIT 5000\n";
$target .= ;

print STDERR "Result was $target\n";


That's all there is to it, but it won't work.

Can anyone help?
Thanks!!!

~Joel





___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users