[asterisk-users] adding area code

Chad Wallace cwallace at lodgingcompany.com
Mon Apr 27 18:42:42 CDT 2015


On Mon, 27 Apr 2015 14:30:07 -0700 (PDT)
Steve Edwards <asterisk.org at sedwards.com> wrote:

> On Mon, 27 Apr 2015, Bryant Zimmerman wrote:
> 
> > exten => _9XXXXXXX,n,Set(dialnumber=${l_HomeAreaCode}${EXTEN-1})
> 
> Missing a colon?
> 
>  	${EXTEN:-1}
> 

Does that work?  I've always seen it like this:

	${EXTEN:1}


-- 

C. Chad Wallace, B.Sc.
The Lodging Company
http://www.lodgingcompany.com/
OpenPGP Public Key ID: 0x262208A0




More information about the asterisk-users mailing list