[Asterisk-Users] Caller ID for auto outgoing calls

Colin Anderson ColinA at landmarkmasterbuilder.com
Thu Sep 15 14:27:52 MST 2005


I did this for our website (to be released RSN), it has a contact form that
the customer plugs in their phone number. When they do, Asterisk calls them
and dumps them to an IVR. Pressing 1 in the IVR takes them to a salesperson.
My working config is:

In the .call file:

CallerID: 18888988884 (our 800 number)
SetVar: CALLINGPARTY=(caller ID of guy)

In extensions.conf:

[website-caller]

exten => 1,1,SetCallerID(Web Caller: ${CALLINGPARTY}) (I set the caller ID
that way so the salesperson knows that the caller is calling from the
website)

In your case, the variable you have set happens to be the same name as a
global Asterisk variable, so I'm sure that's the root of the problem. Set
the variable to a different name, try CALLINGPARTY like I did


hth
-----Original Message-----
From: Jim Gottlieb [mailto:jimmy at nccom.com]
Sent: Thursday, September 15, 2005 3:03 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Caller ID for auto outgoing calls


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/16193644799 at outtrunk
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 at 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



More information about the asterisk-users mailing list