[Asterisk-Users] Setting SIP username for CallerID

2005-04-20 Thread Gavin Hamill
Hi :) When I send an incoming call to a queue, I'm doing this: exten = 6608140,1,SetCallerID(CCUK) exten = 6608140,2,SetCIDName(CCUK) exten = 6608140,3,Queue(ccuk,r) I want the phone to say 'CCUK' - the queue name is more important to know than the incoming Caller ID :) Unfortunately the SIP

Re: [Asterisk-Users] Setting SIP username for CallerID

2005-04-20 Thread Ronald Wiplinger
Gavin Hamill wrote: Hi :) When I send an incoming call to a queue, I'm doing this: exten = 6608140,1,SetCallerID(CCUK) exten = 6608140,2,SetCIDName(CCUK) exten = 6608140,3,Queue(ccuk,r) I want the phone to say 'CCUK' - the queue name is more important to know than the incoming Caller ID :)

Re: [Asterisk-Users] Setting SIP username for CallerID

2005-04-20 Thread Gavin Hamill
On Wednesday 20 April 2005 10:32, Ronald Wiplinger wrote: So my question is, how can I change the sip username from sip:[EMAIL PROTECTED] to sip:[EMAIL PROTECTED] ? Shouldn't be there a quote mark and two values, like: SetCallerID(Ronald 123456789) Just tried a few combinations of that,

Re: [Asterisk-Users] Setting SIP username for CallerID

2005-04-20 Thread Arunachala
Try using SetCIDNum(CCUK) -Arun On 4/20/05, Gavin Hamill [EMAIL PROTECTED] wrote: On Wednesday 20 April 2005 10:32, Ronald Wiplinger wrote: So my question is, how can I change the sip username from sip:[EMAIL PROTECTED] to sip:[EMAIL PROTECTED] ? Shouldn't be there a quote mark and

Re: [Asterisk-Users] Setting SIP username for CallerID

2005-04-20 Thread Gavin Hamill
On Wednesday 20 April 2005 11:15, Arunachala wrote: Try using SetCIDNum(CCUK) Nope, the most I can ever extract from any combination of the three 'CID' commands is this in the SIP messages :( From: CCUK sip:[EMAIL PROTECTED] Cheers, Gavin. ___

Re: [Asterisk-Users] Setting SIP username for CallerID

2005-04-20 Thread Gavin Hamill
On Wednesday 20 April 2005 11:55, Arunachala wrote: Hi Gavin, Just went through the code. There is a check in the code to check whether the CIDNum is a phone number (0-9,#,*) or no. If it is not a phone number, it is replaced with the default CIDNum asterisk. Hm, really smart :) If the SIP

Re: [Asterisk-Users] Setting SIP username for CallerID

2005-04-20 Thread Joel Newkirk
Gavin Hamill wrote: Hi :) When I send an incoming call to a queue, I'm doing this: exten = 6608140,1,SetCallerID(CCUK) exten = 6608140,2,SetCIDName(CCUK) exten = 6608140,3,Queue(ccuk,r) I want the phone to say 'CCUK' - the queue name is more important to know than the incoming Caller ID :)