[asterisk-users] append CID label

2010-06-26 Thread Thomas Perron
I want a call to connect via my DID to my dialplan.
Then, I want to attach a label to the incoming call

call arrives
starts to dive through the dial plan
then rings a trunk/channel via SIP (see below)
Question: before answering my 1212111 endpoint I want to see a
flag CID that correlates to the DID number that was called.  And, then
change it to something like the characters blue
How??? please.

exten = s,1,Answer()
exten = s,n,Dial(SIP/callwithus/1212111,120,A,(test))

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] append CID label

2010-06-26 Thread C F
exten = s,n,Set(CALLERID(name)=label${CALLERID(name)})
put this before the dial command.

On Sat, Jun 26, 2010 at 10:09 PM, Thomas Perron thomas.per...@gmail.com wrote:
 I want a call to connect via my DID to my dialplan.
 Then, I want to attach a label to the incoming call

 call arrives
 starts to dive through the dial plan
 then rings a trunk/channel via SIP (see below)
 Question: before answering my 1212111 endpoint I want to see a
 flag CID that correlates to the DID number that was called.  And, then
 change it to something like the characters blue
 How??? please.

 exten = s,1,Answer()
 exten = s,n,Dial(SIP/callwithus/1212111,120,A,(test))

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] append CID label

2010-06-26 Thread Thomas Perron
ok
thank you
i will try



On Sat, Jun 26, 2010 at 10:31 PM, C F shma...@gmail.com wrote:
 exten = s,n,Set(CALLERID(name)=label${CALLERID(name)})
 put this before the dial command.

 On Sat, Jun 26, 2010 at 10:09 PM, Thomas Perron thomas.per...@gmail.com 
 wrote:
 I want a call to connect via my DID to my dialplan.
 Then, I want to attach a label to the incoming call

 call arrives
 starts to dive through the dial plan
 then rings a trunk/channel via SIP (see below)
 Question: before answering my 1212111 endpoint I want to see a
 flag CID that correlates to the DID number that was called.  And, then
 change it to something like the characters blue
 How??? please.

 exten = s,1,Answer()
 exten = s,n,Dial(SIP/callwithus/1212111,120,A,(test))

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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