[Asterisk-Users] Setting Caller ID after Dial

Eric Wieling aka ManxPower eric at fnords.org
Wed Jun 29 09:28:58 MST 2005


Chee Foong Chiew wrote:
> I have a PRI with 200 DID numbers and I have set up
> 200 sip extensions that matches the last 4 digit of
> the corresponding DID numbers so that when any of the
> 200 DID number is called, asterisk can pass the call
> to the respective sip extension. Incomming has been
> fine.
> 
> But when making out going calls I want the called
> party to always see the same number (which is one of
> the number selected from the 200 DID numbers). This I
> can be achieved in asterisk by calling SetCallerID
> before Dial command. 
> However in the CDR, the caller id number of the number
> that i set using SetCallerID is always logged and
> there is no trace of which sip extension is making the
> call since the caller is always the same. This has
> become a serious trouble for billing.

Don't use Caller*ID for billing.  Use account codes, which is supported 
pretty much everywhere in Asterisk.

-- 
Eric Wieling * BTEL Consulting * 504-210-3699 x2120



More information about the asterisk-users mailing list