Try the variable PRI_NETWORK_CID instead of CALLERIDNUM
Peer Oliver Schmidt wrote:
Jens, thanks for the feedback.
>>I've added a ZAPHFC card to my CAPI based system. Calls coming in via
>>ZAPHFC do not forward the caller id to the SIP phones. Calls coming in
>>via CAPI do forward the caller id to the SIP phones.
I think you didn't set usecallerid=yes in your zapata.conf?
Added it, rebooted, no change. (Before, I just had pritrustusercid =
yes, only.)
Another way is to set the callerid in your extensions.conf via exten
=> 807440,2,SetCIDNum(0${CALLERIDNUM}).
Changed it, now the funny part comes:
extensions.conf
exten => 807440,1,Answer
exten => 807440,2,SetCIDNum(0${CALLERIDNUM})
exten => 807440,3,Dial(SIP/26,20,t)
exten => 807440,3,VoiceMail2(su25)
exten => 807440,103,VoiceMail2(sb25)
exten => 807440,104,Hangup
but the log says:
-- Accepting call from '1729731418' to '807440' on channel 0/1, span 1
-- Executing Answer("Zap/1-1", "") in new stack
-- Executing SetCIDNum("Zap/1-1", "0") in new stack
It does not add the callerid it has two lines above ???
I know there have been some changes to the CID structure sometime
within Asterisk. But, this is using the bristuff download and install
script.
The same problem happens using the debian packages (1.0.3) from
marlow.dk.
Any and all help is greatly appreciated.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@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
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@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