I have two pstn lines at home; I connected SPA3102 to one of them. My asterisk server (1.4.22.2) is a co-locate a few km away.

On page 83 of AsteriskTFOT.pdf is this Dialplan:

[incoming]
exten => s,1,Answer
exten => s,2,Playback(hello-world)
exten => s,3,Hangup()

When I make a call into system, I get

Call from 'pstn' to extension '123' rejected because extension not found.

If I change the plan to

[incoming]
exten => _X.,1,Answer
exten => _X.,2,Playback(hello-world)
exten => _X.,3,Hangup()

the first part of "hello world" is cut off.

When I change the plan to

[incoming]
exten => _X.,1,Answer
exten => _X.,2,Wait(1)
exten => _X.,3,Playback(hello-world)
exten => _X.,4,Hangup()

Everything works properly.

Why doesn't "s" extension work as advertised?
Why do I need to add Wait()?
Why do I hear ringy-dingy[*] 5 times before asterisk answers the call?

[*] http://www.youtube.com/watch?v=k9e3dTOJi0o

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to