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 :)

Unfortunately the SIP phone (a cheapy using the PA168S chip and 1.42 firmware) displays the caller ID of "asterisk" when I do this, and it's clear why:

---
-- outgoing agentcall, to agent '1601', on 'Local/[EMAIL PROTECTED],1'
-- Called Agent/1601
-- Executing Dial("Local/[EMAIL PROTECTED],2", "SIP/1301|20|t") in new stack
We're at 10.0.0.242 port 15334
12 headers, 12 lines
Reliably Transmitting (NAT) to 10.0.0.82:5060:
INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.0.242:5060;branch=z9hG4bK70ccd454;rport
From: "CCUK" <sip:[EMAIL PROTECTED]>;tag=as13d91518
To: <sip:[EMAIL PROTECTED]:5060>
Contact: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Date: Wed, 20 Apr 2005 08:34:53 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 260


If I SetCallerID(12345678) then it is changed to sip:[EMAIL PROTECTED] as I'd expect, but if I use a string value, it stays at 'sip:[EMAIL PROTECTED]'

So my question is, how can I change the sip username from <sip:[EMAIL PROTECTED]> to <sip:[EMAIL PROTECTED]> ?

Am I doing something mind-bogglingly stupid?

Shouldn't be there a quote mark and two values, like:

SetCallerID("Ronald" <123456789>)


bye

Ronald



_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to