I apologize, I coppied the wrong code,
here is the code I am using:
; Adding Area code and striping 9 for local numbers
exten => _9XXX,n,Set(CALLERID(all)= <3817383444>)
exten => _9XXX,n,Dial(SIP/intelepeer/1381${EXTEN:1},80)
Thanks,
motty
On 04/28/2015 11:54 AM, Chad Wallace wrote:
O
On Tue, 28 Apr 2015 07:21:12 -0700
Motty Cruz wrote:
> here is what I did and worked for me:
>
> exten => 1381+NXX,1,Set(CALLERID(number)=3817383444)
>
> exten => 1+NXXNXX,2,Dial(SIP/SIP-Provider/${EXTEN:1},80)
I find it hard to believe this is working.
First, you don't have a leading
this code worked for me,
here is what I did and worked for me:
exten => 1381+NXX,1,Set(CALLERID(number)=3817383444)
exten => 1+NXXNXX,2,Dial(SIP/SIP-Provider/${EXTEN:1},80)
Thanks for you help!
On 04/27/2015 02:56 PM, Matt Riddell wrote:
On 27Apr, 2015, at 16:39, Motty Cruz
On Mon, 27 Apr 2015, Chad Wallace wrote:
On Mon, 27 Apr 2015 14:30:07 -0700 (PDT)
Steve Edwards wrote:
On Mon, 27 Apr 2015, Bryant Zimmerman wrote:
exten => _9XXX,n,Set(dialnumber=${l_HomeAreaCode}${EXTEN-1})
Missing a colon?
${EXTEN:-1}
Does that work?
No. I was so focu
On Mon, 27 Apr 2015 14:30:07 -0700 (PDT)
Steve Edwards wrote:
> On Mon, 27 Apr 2015, Bryant Zimmerman wrote:
>
> > exten => _9XXX,n,Set(dialnumber=${l_HomeAreaCode}${EXTEN-1})
>
> Missing a colon?
>
> ${EXTEN:-1}
>
Does that work? I've always seen it like this:
${EXTEN:1}
> On 27Apr, 2015, at 16:39, Motty Cruz wrote:
>
> forgot to mentioned I am running Asterisk 1.8.22.0 on CentOS.
>
> Thanks,
>
>
> On 04/27/2015 02:38 PM, Motty Cruz wrote:
>> here is what I have:
>> exten => _9XXX,1,Set(l_HomeAreaCode=381)
>>
>> exten => _9XXX,n,Set(dialnumber=${l
Tech Inc.)
616-855-1030 Ext. 2003
*From*: "Motty Cruz"
*Sent*: Monday, April 27, 2015 4:33 PM
*To*: asterisk-users@lists.digium.com
*Subject*: [asterisk-users] adding area code
Hello,
I would like to add area code if clients dial 7
ot;
*Sent*: Monday, April 27, 2015 4:33 PM
*To*: asterisk-users@lists.digium.com
*Subject*: [asterisk-users] adding area code
Hello,
I would like to add area code if clients dial 7 digits, it that
possible? currently clients dial prefix 9 plus local number, however my
SIP provider is requiring to
On Mon, 27 Apr 2015, Bryant Zimmerman wrote:
exten => _9XXX,n,Set(dialnumber=${l_HomeAreaCode}${EXTEN-1})
Missing a colon?
${EXTEN:-1}
--
Thanks in advance,
-
Steve Edwards sedwa...@sedwards.com Vo
Thanks for your reply,
[globals]
AREACODE=381
[outbound]
exten => _9XX,1,Dial(SIP/SIP-Provider/1${AREACODE}${EXTEN-1},80)
did not work for me, any ideas?
Thanks,
On 04/27/2015 01:59 PM, Phil Reynolds wrote:
On 27 April 2015 21:32:42 BST, Motty Cruz wrote:
>Hello,
>
>I would like to
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] adding area code
Hello,
I would like to add area code if clients dial 7 digits, it that
possible? currently clients dial prefix 9 plus local number, however my
SIP provider is requiring to dial 10 digits. is it possible to add area
c
Thanks for your reply,
[globals]
AREACODE=381
[outbound]
exten => _NXX,1,Dial(SIP/SIP-Provider/1${AREACODE}${EXTEN},80)
did not work for me, any ideas?
Thanks,
On 04/27/2015 01:59 PM, Phil Reynolds wrote:
On 27 April 2015 21:32:42 BST, Motty Cruz wrote:
>Hello,
>
>I would like to add
On 27 April 2015 21:32:42 BST, Motty Cruz wrote:
>Hello,
>
>I would like to add area code if clients dial 7 digits, it that
>possible? currently clients dial prefix 9 plus local number, however my
>
>SIP provider is requiring to dial 10 digits. is it possible to add area
>
>code?r
Quite simple
Hello,
I would like to add area code if clients dial 7 digits, it that
possible? currently clients dial prefix 9 plus local number, however my
SIP provider is requiring to dial 10 digits. is it possible to add area
code?
Thanks,
Motty
--
_
14 matches
Mail list logo