[Asterisk-Users] Announcement to caller when called party haspicked up - without initial Answer()?

interna listas_ast at reliable.com.ar
Mon Jan 31 10:01:05 MST 2005


Stefan if I understood what you need, maybe this works...

MSG_FILE=/var/spool/asterisk/....

exten => s,1,Dial(SIP/MyPhone|60|M(playmessage^${MSG_FILE}))

[macro-playmessage]
exten => s,1,Wait(0.5)
exten => s,2,Playback(${ARG1})
exten => s,3,SetVar(MACRO_RESULT=CONTINUE)

I didn´t try it but I think this should work...

pls let me know if it did in fact work... (if u want u can do it off list)

bye,
M.


----- Original Message ----- 
From: "Stefan Gofferje" <stefan at gofferje.homelinux.org>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Monday, January 31, 2005 11:45 AM
Subject: Re: [Asterisk-Users] Announcement to caller when called party
haspicked up - without initial Answer()?


> Remco Barende schrieb:
> > What you want is impossible!
> >
> > How can you expect Asterisk to play a message to the caller without
> > answering the phone?
>
> You got me wrong... Asterisk should answer the call not initially but
> when the called party picked up.
>
> Incoming call
>       |
>       |
> send ring indicator
>       |
>       |
> called party picks up receiver ---> yes ----> answer, announce, bridge
>       |
>       no
>       |
> Congestion on timeout
>
> -- 
>   (o_   Stefan Gofferje          | Linux Systems Specialist
>   //\   Reg'd Linux User #247167 | SuSE Certified Linux Trainer
>   V_/_  Linux is like a Wigwam - No gates, no windows, Apache inside
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list