Perfect! Thank you.

Mitch

On 10/05/2012 01:07 PM, Ioan Indreias wrote:
Hi Mitch,

Glad that it works for you.

Regarding the CallerID I suggest to set some the variables before the
actual Dial.

Something like:

Action: Originate
Channel: Local/s@callmenow/n
Context: to-customer
Exten: s
Priority: 1
Async: true
Variable: CHANNEL_TO_CUSTOMER=SIP/voipms/customer_number
Variable: OUTBOUND_CALLERID_NUM=777
Variable: OUTBOUND_CALLERID_NAME=Call Me Now
Timeout: 999999

[callmenow]
exten => s,1,NoOp(callmenow: Queue without answer)
   same =>n,Queue(sales,tc)

[dial-to-customer]
exten => s,1,NoOp(to-customer)
   same => n,Set(CALLERID(num)=${__OUTBOUND_CALLERID_NUM})
   same => n,Set(CALLERID(name)=${__OUTBOUND_CALLERID_NAME})
   same => n,Dial(${CHANNEL_TO_CUSTOMER})

Have a nice weekend,
Ioan

--
_____________________________________________________________________
-- 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

Reply via email to