[Asterisk-Users] callback script

Darren Wiebe darren at aleph-com.net
Fri Dec 2 20:51:48 MST 2005


You can leave the stuff in callback.agi the way it is.

[enhanced-outgoing]
exten => _1XXXXXXXXXX,1,Dial(SIP/000.000.000.000/${EXTEN})
exten => _1XXXXXXXXXX,2,Dial(IAX2/user at provider/${EXTEN})
exten => _1XXXXXXXXXX,3,Dial(IAX2/user at provider/${EXTEN})
exten => _1XXXXXXXXXX,4,Dial(IAX2/user at provider/${EXTEN})
exten => _011.,1,Dial(IAX2/user at provider/${EXTEN})
exten => _011.,2,Dial(IAX2/user at provider/${EXTEN})
exten => _011.,3,Dial(IAX2/user at provider/${EXTEN})

[meetme]
exten => 9928,1,setaccount(customer)
exten => 9928,2,Playback(you-are-being-connected-broadcast)
exten => 9928,3,AbsoluteTimeout(12600)
exten => 9928,4,Conference(conference1/M/1)

exten => 9929,1,SetGroup(customer)
exten => 9929,2,setaccount(customer)
exten => 9929,3,Playback(you-are-being-connected-to-the-service)
exten => 9929,4,AbsoluteTimeout(12600)
exten => 9929,5,Conference(conference1/L/1)

That is what I have. You would want to replace the meetme stuff with 
whatever you want the other end to connect to.

Darren



wassim darwish wrote:

>Hi:
>Once i have seen the post of Darren Wiebe of
>suggestion of a callback configuration in
>extensions.conf and it was like this:
>[callback]
>exten => 
>_.,1,AGI(callback.agi,LAKEVIEW,1234567890,9998,9999,meetme,enhanced-outgoing)
>
>But i didnt know what to add in meetme and
>enhanced-outgoing contexts.
>
>if any body knows about this configuration ,just show
>me what to put in the meetme and enhanced-outgoing
>contexts and what to edit in this part of callback.agi
>script:
>
>$outgoingclid = "";
>$channel = "";
>$context = "";
>$church = "";
>
>Regards;
>wassim
>
>
>
>		
>__________________________________________ 
>Yahoo! DSL – Something to write home about. 
>Just $16.99/mo. or less. 
>dsl.yahoo.com 
>
>_______________________________________________
>--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
>  
>


-- 
Darren Wiebe
darren at aleph-com.net
Aleph Communications
ASTPP - Open Source Voip Billing & Calling Cards
www.aleph-com.net/astpp




More information about the asterisk-users mailing list