Re: [asterisk-users] set(CALLERID(name) not working

2008-11-12 Thread sean darcy
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

Re: [asterisk-users] set(CALLERID(name) not working

2008-11-12 Thread Doug Lytle
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

Re: [asterisk-users] set(CALLERID(name) not working

2008-11-12 Thread Matt Riddell
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

Re: [asterisk-users] set(CALLERID(name) not working

2008-11-12 Thread sean darcy
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]

Re: [asterisk-users] set(CALLERID(name) not working

2008-11-12 Thread sean darcy
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

Re: [asterisk-users] set(CALLERID(name) not working

2008-11-11 Thread sean darcy
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

Re: [asterisk-users] set(CALLERID(name) not working

2008-11-11 Thread sean darcy
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

Re: [asterisk-users] set(CALLERID(name) not working

2008-11-11 Thread Daniel Lynes
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

Re: [asterisk-users] set(CALLERID(name) not working

2008-11-10 Thread Doug Lytle
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

Re: [asterisk-users] set(CALLERID(name) not working

2008-11-10 Thread C F
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 )

Re: [asterisk-users] set(CALLERID(name) not working

2008-11-09 Thread OCG Technical Support
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

Re: [asterisk-users] set(CALLERID(name) not working

2008-11-09 Thread sean darcy
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

Re: [asterisk-users] set(CALLERID(name) not working

2008-11-09 Thread sean darcy
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:

[asterisk-users] set(CALLERID(name) not working

2008-11-08 Thread sean darcy
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 =

Re: [asterisk-users] set(CALLERID(name) not working

2008-11-08 Thread Trevor Peirce
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: