Reputation: 10075
I have
[from-pstn]
exten => s,1,Playback(demo-thanks)
as the first line in the context of a dialplan. It does not work.
However, when it is replaced by this:
[from-pstn]
exten => _X.,1,Playback(demo-thanks)
It works. Is the "s" extension not the start extension?
This is the dialplan on a PRI line. When the caller calls in, the first line in the [from-pstn] context is triggered. The "front-pstn" context is referenced in dahdi.conf. That is not the source of the problem as it would not have worked with the _X. extension.
I am just starting to write Asterisk dialplans.
Upvotes: 1
Views: 2914
Reputation: 15259
s-extensions is empty extension.
I.e it used when no number
Very likly you have number, so it go as number and match regexp X. in your dialplan.
For more info connect to asterisk console, enable verbose output and see what happens while calling
asterisk -r
core set verbose 5
Upvotes: 1