[Asterisk-Users] CAPI, transfering thru a 2nd PBX - keep original CallerID

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Sun Jan 4 10:23:06 MST 2004


Hi!

> I want to have Asterisk as my gateway to the outside world and use 
> another PBX to connect my existing phones.
> 
> exten => ${OUTSIDEMSN},1,Dial,CAPI/${MSN2NDPBX}:${EXTEN}
> 
> How do I transfer the caller Id information initially coming in?

I have strong doubts that this can be done at all. One way would be to 
set your ${MSN2ndPBX} to ${CALLERIDNUM}, but that would require that 
capi.conf has that CALLERIDNUM listed as one of the valid outgoing MSNs. 
Since you won't know in advance who'll call that'll be a problem - also I 
don't think you can reconfigure capi.conf in the midst of processing a 
call...

Besides: I suppose your ISDN PBX (which brand exactly?) supports CLIP (or 
comes with an internal S0 bus) and you have an analog CLIP phone (or ISDN 
phone) connected?

Workaround: See my last posting and other very recent discussions 
concerning a simple tool that shows the current caller ID and name on 
your PC using either Flash, HTML or Java. Or use astman/ gastman. 
As of now I am storing the caller data through AGI in mySQL and display 
that on a web page that the user needs to re-load manually when desired.

Cheers, Philipp





More information about the asterisk-users mailing list