Daniel Lynes wrote:
You'll need to lose the double quotation marks in the assignment:
Set(CALLERID(name)=Fred) becomes:
Set(CALLERID(name)=Fred)
If it still doesn't work, then it means that your particular provider
does not support the ability to be able to set the caller ID name, or
sean darcy wrote:
Tried it with and with quotes. Same result - exactly. Works with dummy
variable, doesn't if set in subroutine.
It works fine for me, I use the below:
exten = 3175797960,1,Gosub(get_name,s,1)
[get_name]
;
;* Connect to local
On 13/11/2008 10:23 a.m., sean darcy wrote:
Tried it with and with quotes. Same result - exactly. Works with dummy
variable, doesn't if set in subroutine.
This is incoming. I'm setting the CID(name) based on the incoming
CID(num). Nothing to do with the provider.
Are you maybe seeing
Doug Lytle wrote:
sean darcy wrote:
Tried it with and with quotes. Same result - exactly. Works with dummy
variable, doesn't if set in subroutine.
It works fine for me, I use the below:
exten = 3175797960,1,Gosub(get_name,s,1)
[get_name]
Matt Riddell wrote:
On 13/11/2008 10:23 a.m., sean darcy wrote:
Tried it with and with quotes. Same result - exactly. Works with dummy
variable, doesn't if set in subroutine.
This is incoming. I'm setting the CID(name) based on the incoming
CID(num). Nothing to do with the provider.
Are
C F wrote:
Who you calling? Is it a remote non PSTN phone number? Or a PSTN number?
It's incoming. Both pstn and voip.
sean
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or
sean darcy wrote:
I've tried to create a subroutine that sets callerid name based on number.
extensions.conf:
...
exten = s,1,Answer()
exten = s,n,GoSub(set-callerid-name,0${CALLERID(num)},1)
exten = s,n,Dial(${mainline},60)
...
[set-callerid-name]
exten = 0,1,NoOp( no
You'll need to lose the double quotation marks in the assignment:
Set(CALLERID(name)=Fred) becomes:
Set(CALLERID(name)=Fred)
If it still doesn't work, then it means that your particular provider
does not support the ability to be able to set the caller ID name, or
it's receiving a corrupted
sean darcy wrote:
[set-callerid-name]
exten = 0,1,NoOp( no CALLERID num set)
exten = 02025462677,1,Set(CALLERID(name) = Fred )
Try adding the following to your subroutine:
SetCallerPres(allowed)
I would also suggest that you put the name/number groups in either the
Who you calling? Is it a remote non PSTN phone number? Or a PSTN number?
On Mon, Nov 10, 2008 at 7:21 AM, Doug Lytle [EMAIL PROTECTED] wrote:
sean darcy wrote:
[set-callerid-name]
exten = 0,1,NoOp( no CALLERID num set)
exten = 02025462677,1,Set(CALLERID(name) = Fred )
PROTECTED] On Behalf Of Trevor Peirce
Sent: November 9, 2008 2:30 AM
To: Asterisk Users List
Subject: Re: [asterisk-users] set(CALLERID(name) not working
sean darcy wrote:
[set-callerid-name]
exten = 0,1,NoOp( no CALLERID num set)
exten = 02025462677,1,Set(CALLERID(name) = Fred
OCG Technical Support wrote:
Take a look at smartCID at www.generationd.com
This tool will set callerid based on number in a database. If not listed
there, it will search 411 for reverse lookup etc.
It will also let you flag calls for blocking, etc..
Interesting. It looks like more than
Trevor Peirce wrote:
sean darcy wrote:
[set-callerid-name]
exten = 0,1,NoOp( no CALLERID num set)
exten = 02025462677,1,Set(CALLERID(name) = Fred )
exten = _X.,2,NoOp(CALLERID: ${CALLERID(name)})
exten = _X.,3,Return()
But it doesn't work. CALLERID(name) isn't changed:
I've tried to create a subroutine that sets callerid name based on number.
extensions.conf:
...
exten = s,1,Answer()
exten = s,n,GoSub(set-callerid-name,0${CALLERID(num)},1)
exten = s,n,Dial(${mainline},60)
...
[set-callerid-name]
exten = 0,1,NoOp( no CALLERID num set)
exten =
sean darcy wrote:
[set-callerid-name]
exten = 0,1,NoOp( no CALLERID num set)
exten = 02025462677,1,Set(CALLERID(name) = Fred )
exten = _X.,2,NoOp(CALLERID: ${CALLERID(name)})
exten = _X.,3,Return()
But it doesn't work. CALLERID(name) isn't changed:
Perhaps try this:
15 matches
Mail list logo