[asterisk-users] SetAccount in extensions.conf

Matt mistershiny2 at yahoo.com
Wed Jun 6 19:17:14 CDT 2007


I'm using Asterisk 1.4 and I'm wanting to set an
account code for incoming calls.  In the
extensions.conf file I have the following:

exten => s,1,SetAccount(1234)
exten => s,n,Dial(SIP/1234)

Then when I dial the extension the following error
message pops up in the CLI:

[Jun  6 19:12:40] WARNING[28167]: pbx.c:1783
pbx_extension_helper: No application 'SetAccount' for
extension (inbound, XXXXXXXXXX, 1)

I already have the accountcode set up in sip.conf for
that SIP phone and there are no problems with that. 
Does anyone know what the problem is?  On
voip-info.org, another person had the same problem in
the comments section, but seemed to think it was a
syntax difference and that SetAccount() would work for
*1.2.

Any info will be greatly appreciated.
Thank You,
-Matt


 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php


More information about the asterisk-users mailing list