For Callback, what exactly are you trying to do? I have implemented a
callback that is triggered by a web page request. Using the Astlinux user
interface "Actionlist" feature, I can setup a number of callback scenarios.
I have a web page (runs on the Astlinux box) that parses the Actionlist and
presents users with a list of options. Can generate a callback to one
person and when they answer, dial another number and bridge the call. My
web page is mobile-friendly so works on small form factor displays.
I have not implemented a callback that is triggered by a phone call, but it
wouldn't be hard to do.
The web page uses the Asterisk Manager API to "originate" a call to the
callback number in a [click-to-call] context. When the callback answers the
call is processed by this context. In the example below, they will first
hear ringing tone for 2 seconds, then the call is answered, then they hear a
message asking them to wait while the call is connected, then the
destination number (which could be internal extension or another external
trunk number) is handled by branching to the DLPN_DefaultDialPlan with the
target number (in variable ${TO} that was set by the web page script)
Here is my asterisk context. If you want the PHP source to the web page let
me know.
[click-to-call] exten = s,1,NoOp(click-to-call) exten = s,n,Ringing() exten
= s,n,Wait(2) exten = s,n,Answer() exten = s,n,Set(CDR(userfield)=${LOGTXT})
exten = s,n,Set(CALLERID(num)=${FROM}) exten =
s,n,Set(CALLERID(name)=Click-to-Call) exten =
s,n,Playback(pls-wait-connect-call) exten = s,n,Ringing() exten =
s,n,Goto(DLPN_DefaultDialPlan,${TO},1) exten = 100,1,Playback(pbx-invalid)
exten = 100,n,Playback(call-terminated&goodbye)
exten = 100,n,Hangup
On Mon, Dec 14, 2009 at 2:23 PM, Ionel Chila <[email protected]> wrote:
> Anyone with few good configuration examples to setup callback and DISA with
> an Astlinux box?
> Tried several times and something is not working right....
>
> Thanks.....
>
>
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> [email protected].
>
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
[email protected].