[Asterisk-Users] TDM - Analog Trunk - CallerID question

Aldo Bergamini aab.lists at nb-a.com
Fri Feb 10 09:40:01 MST 2006


Hello list.

I have a question about how to read the incoming calls' callerid on an
FXO interface of a TDM 400 analog card; (it's one of those RED modules).

Now -may this is the complexity adding step..- I have a GSM gateway
attached to this FXO thing; incoming calls are processed as they should.
But both when peeking on the CLI, as well as in the phone display I do
not see the caller id.

Here I copy the very simple zapata.conf contents:

************************
;
; Zapata telephony interface
;
; Configuration file
;
; Zapata configuration for Asterisk server "zeta-stargate"
;

[channels]
; edited by aaberga % 10.02.06

;cidsignalling=v23 ; Added for UK CLI detection 
;cidstart=polarity ; Added for UK CLI detection

usecallerid=yes

signalling = fxo_ks
callerid= "" <2302>

context=internal
channel => 1

signalling = fxo_ks
callerid= "" <2105>
context=internal
channel => 2

signalling = fxs_ks

context = gsm_gateway
callerid=asreceived
channel => 4
************************

I made a couple of attempts activating and moving around the two UK CLI
(this unit should work in UK; I thougt those settings might help)
settings. But nothing changed, except for the fact that the calls were
no more answered. ;-)

The usecallerid = yes and the callerid=asreceived have been added and
removed, but with no success.

This is what I see on the CLI when calling the gsm unit:

    -- Starting simple switch on 'Zap/4-1'
Feb 10 16:20:02 NOTICE[7409]: chan_zap.c:5405 ss_thread: Got event 17
(Polarity Reversal)...
Feb 10 16:20:06 NOTICE[7409]: chan_zap.c:5405 ss_thread: Got event 2
(Ring/Answered)...
    -- Executing NoOp("Zap/4-1", "GSM Gateway Call from: ") in new stack
    -- Executing Dial("Zap/4-1", "Zap/1|30") in new stack
 
This is what I have in the relevant context of the dialplan:

************************
[gsm_gateway]

exten => s,1,NoOp(GSM Gateway Call from: ${CALLERID})
exten => s,2,Dial(Zap/1,30)
exten => s,3,Hangup()

exten => t,1,Hangup()
exten => i,1,Hangup()
************************

Can anybody point out what I do in a wrong way?

Thanks in advance..

Aldo





More information about the asterisk-users mailing list