Displaying 3 results from an estimated 3 matches for "kphone1".
Did you mean:
phone1
2004 Dec 28
0
Two problems with the Perl AGI
Hi,
I have a * 1.0.3 running on a Gentoo box and I installed Perl AGi from
http://asterisk.gnuinter.net/files/asterisk-perl-0.08.tar.gz.
When I write this :
>#!/usr/bin/perl
>use Asterisk::AGI;
>my $AGI = new Asterisk::AGI;
>$AGI->exec ('Dial SIP/kphone1|30|tTr');
>my $duration = $AGI->get_variable('ANSWEREDTIME');
>print STDERR "\n duration : $duration\n";
>exit (0);
I obtain, on the CLI
> *CLI>
> duration :
before the callee takes the call.
I tried this (sorry, it's ugly) :
>#!/usr/bin/perl...
2005 Jan 27
1
Stumped by BroadVoice SIP
...einite=yes
disallow=all
allow=gsm
allow=ulaw
allow=alaw
dtmfmode=inband
qualify=yes
[xlite2]
type=friend
regexten=103
context=sip
username=103
secret=<password>
callerid="Ben's Laptop" <103>
host=dynamic
nat=no
allow=gsm
allow=ulaw
allow=alaw
dtmfmode=inband
quality=yes
[kphone1]
type=friend
username=kphone1
secret=<password>
callerid="Diablo" <102>
host=dynamic
allow=gsm
qualify=yes
[sip.broadvoice.com]
type=peer
host=proxy.dca.broadvoice.com
fromdomain=sip.broadvoice.com
fromuser=2129999999
secret=<password>
context=incoming
canreinvite=no
[...
2005 Jan 27
0
Channel Groups?
...like this...
[foo-incoming]
exten => 2122222222, 1, Goto(ACorp|1000|1)
exten => 2123333333, 1, Goto(BCorp|1000|1)
.
.
.
exten => _NXXNXXXXXX, 1, Goto(GenericCorp|1000|1)
[GenericCorp]
exten => 1000, 1, SetCallerID("Generic Corp")
exten => 1000, 2, Dial(SIP/xlite1&SIP/kphone1&SIP/xlite2,30,tr)
exten => 1000, 3, Voicemail(u10000)
[ACorp]
exten => 1000, 1, SetCallerID("A Corp")
exten => 1000, 2, Dial(SIP/xlite1&SIP/kphone1&SIP/xlite2,30,tr)
exten => 1000, 3, Voicemail(u10000)
[BCorp]
exten => 1000, 1, SetCallerID("B Corp")...