[asterisk-dev] i extension does not match on initial context - bug or not?
Klaus Darilion
klaus.mailinglists at pernau.at
Thu Jan 8 07:49:21 CST 2009
Hi!
I just stumbled about an already known problem:
http://www.voip-info.org/wiki/view/Asterisk+i+extension
The i extension does not match in the initial context, e.g:
context fromSipPhone {
11 => {
Answer();
Wait(20);
}
i => {
Playback(pbx-invalid);
}
}
In this example, if the SIP phone dials 22, the i extension is not executed.
But in this example:
context fromSipPhone {
_X. => goto fromSipPhoneWorkaround |${EXTEN}|1;
}
context fromSipPhoneWorkaround {
11 => {
Answer();
Wait(20);
}
i => {
Playback(pbx-invalid);
}
}
Here, if the SIP phone dials 22, the i extension is executed.
IMO this is inconsistent behavior - and I would consider this a bug.
Thus - should I open a bug report or is there a certain reason for the
strange behavior?
thanks
klaus
More information about the asterisk-dev
mailing list