[Asterisk-Users] Background + Dial

Hoa Thai Duy hoathai at vngt.vn
Tue Jun 27 04:58:26 MST 2006


Hi GL

Pls. config MOH and use Dial command with "m" option.
This will allow you execute Dial command while providing Music in the
background.

Hope it help

Hoa Thai Duy

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
gaspard.laurent at tiscali.fr
Sent: Tuesday, June 27, 2006 5:01 PM
To: asterisk-users
Subject: [Asterisk-Users] Background + Dial

Hi everybody,

I try this :

[incoming_from_fxo_card]
exten => s,1,Answer()
exten => s,2,Background(filename)
exten => s,3,Dial($(INTERNAL_SIP_TEL))

But * wait the file is finish before make Dial to SIP channel.


Background(filename)  (from voip-info.org) => Starts playing a given sound
file, but immediately returns, permitting the sound file to play in the
background while the next commands (if any) execute. 

I want to Dial a SIP channel while playing sound and waiting for a digit
from a ZAP channel. In other words, i want to make a interactive MoH while
waiting for the SIP channel answer.
Is it possible?

Thanks a lot and excuse me for my poor english (I'll fix this in few
months).

GL

--------------------- ALICE SECURITE ENFANTS --------------------- Protégez
vos enfants des dangers d'Internet en installant Sécurité Enfants, le
contrôle parental d'Alice.
http://www.aliceadsl.fr/securitepc/default_copa.asp


_______________________________________________
--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





More information about the asterisk-users mailing list