[Asterisk-Users] Background + Dial

gaspard.laurent@tiscali.fr gaspard.laurent at tiscali.fr
Tue Jun 27 03:01:02 MST 2006


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





More information about the asterisk-users mailing list