Trying to test SetAccount with Asterisk 1.4.1, and simply adding the following line before the Dial:
exten => _1NXXNXXXXXX,n,SetAccount(1122)
When dialing out, I get a "Call failed: denied" on the SIP client,
and the following on the asterisk console:
WARNING: pbx.c:1779 pbx_extension_helper: No application 'SetAccount' for extension (siplogin, 18002553700, 4)
Do the accounts need to be pre-declared somewhere, or has the SetAccount syntax changed with v1.4.1 ?