Can you automatically call extensions? If so, the immediate workaround would be to define extensions that set caller id and then place the call. You could probably write a macro to do the extension definition if you have more than a few.

Jim Gottlieb wrote:

Hi.  I'm using /var/spool/asterisk/outgoing files to place automatic
calls, but I'm having trouble setting the Caller ID for the second half
of the call.

In other words, when we call the first number, we want the Caller ID
set to our number, but then when we connect them to the second number,
we want _their_ number to be the Caller ID.

I've tried the following (and various approximations):

Channel: Local/[EMAIL PROTECTED]
Callerid: 6193647100
MaxRetries: 5
RetryTime: 60
WaitTime: 60
Context: outtrunk
Extension: 16193647100
Priority: 1
SetVar: CALLERIDNUM=6193644799

When it calls 6193644799, it properly shows a Caller ID of 6193647100.
But then when it dials 6193647100, it still shows Caller ID of
6193647100 instead of 6193644799.

What am I doing wrong?  How do I get the Caller ID set correctly for
the second half of the call?  I've tried various other variables but I
haven't been able to get anything to work.

Thanks.
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

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

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

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