Further to Jim's explanation, the easiest way to make the demo play in your scenario is to give it dialable number instead of 's' as an extension. Make 130 or something. Then, when you dial 130, you'll hear the demo.
Incidentally, you don't need it in a demo context, it could just be in the incoming context if you wanted. Dave On 2/22/07, Isafhan Datoo <[EMAIL PROTECTED]> wrote:
I am trying to understand the s extension. I just created 2 sip extensions, 101 and 102. I can dial 101 from 102 and vice-versa. When I dial 123, I get the hello world greeting. But how would I get the demo-congrats to play? extensions.conf: --------------------------- [general] static=yes writeprotect=no autofallthrough=yes clearglobalvars=no [incoming] exten => 101,1,Dial(SIP/id_xlite|30) exten => 102,1,Dial(SIP/id_linksys|30) exten => 123,1,Answer exten => 123,n,Playback(hello-world) exten => 123,n,Hangup() include => demo [demo] exten => s,1,Answer() exten => s,n,Wait(1) exten => s,n,Playback(demo-congrats) exten => s,n,Hangup()
