Hi all,
I have a question about the CallerID from a call trhough Analog PSTN Line !
How can I get, for example, my GSM Modile’s number on my SIP phone ?
Are you sure you need cidsignalling and cidstart for TDM cards? Does the card catch numbers other than calls from GSM? I skipped all caller ID related parameters in zapata.conf, yet caller ID is delivered correctly.
Need some clarification. So in sip.conf your have “callerid=asreceived” but your SIP phone displays “asterisk”?
To avoid complexity, my zapata.conf and sip.conf are built from scratch with minimum elements.
; Build a poor man's zapata.conf from scratch
[channels]
; Here's the FXO group - we've got only one channel
group = 1
context = pstn
; use fxs signaling on FXO
signalling = fxs_ks
channel => 4
; a poorman's sip.conf
[general]
; srvlookup = yes
bindport=5060
bindaddr=0.0.0.0
context = sip
callerid = My Asterisk
I notice that before I put callerid= in sip.conf, Asterisk automatically assigns “Asterisk” as value, and passes it to bridged calls. But when I specify a callerid (whatever the value), CID from Zap channel gets passed.
ok fine, if I set callerid=Test, i get “Test” on the phone, but what I want is the Mobile’s Number from where the call is coming (FXO) !
i.e :
Mobile Number : 00971507486878 (UAE)
When I call the PSTN in my office, I get the IVR, then I dial 3000 which is my extension, on the SIP Phone, I would like to see : +97107486878 and not Test or My Asterisk !
[quote]
; CallerID can be set to “asreceived” or a specific number if you want to
; override it. Note that “asreceived” only applies to trunk interfaces.[/quote]
It’s an Analog Line, not a trunk-line !
But I don’t understand… From Mobile to Mobile, you get the CallerID.
Asterisk doesn’t support it ???
Looks like the card couldn’t detect CallerID. Two possibilities: line does not deliver, or protocol mismatch. Any way to test the line itself? (Like using a regular callerID phone.) Make sure you load the right zone. There are indeed different ways to deliver caller ID over analogue lines. Listening to chirp using ztmonitor might help determine timing of caller ID delivery.
Another possibility is a faulty card. Because Digium offer installation assistance at basic level, you may try to call them to get some idea. (CallerID could qualify as an installation issue.)