Hello.
I have a big problem
my extension.conf worked perfectly before i had caller id on my line.
But i don’t think the problem has a link with caller id.
Someont can help me ?
i have a tdm400p card with one fxo (zap4) and 3 fxs (zap 1 zap 2 zap3)
when i receive a call on the fxo… asterisk receive the callerid (i tested with a noop(${CALLERID}) )
my phones plugged on the fxs supports the french caller id.
But with my extension.conf, when it dial on the zap1 zap2 or zap3, it does not send the callerid to the local phones.
What can i do that the local phones show the callerid on there screens ?
Thank you.
extension.conf :
exten => s,1,Answer()
exten => s,2,noop(${CALLERID})
exten => s,3,Set(TIMEOUT(response)=20)
exten => s,4,Background(pro14)
exten => s,5,Dial(Zap/2&Zap/1&Zap/3,20)
;exten => s,3,Dial(Zap/2-1,20)
exten => s,6,GoTo(personnedispo,s,1)
exten => s,106,GoTo(tousoccupe,s,1)
i tried with exten => s,5,Dial(Zap/2|${CALLERID},20)
i have the same problem.
cli (in this example, i don’t see the callerid number on the screen of the phone plugged in zap2) but if i plug directly the phone to the pstn, i have the number on the screen :
-- Starting simple switch on 'Zap/4-1'
-- Executing Answer("Zap/4-1", "") in new stack
-- Executing NoOp("Zap/4-1", "0675204584") in new stack
-- Executing Set("Zap/4-1", "TIMEOUT(response)=20") in new stack
-- Response timeout set to 20
-- Executing BackGround("Zap/4-1", "pro14") in new stack
-- Playing 'pro14' (language 'fr')
== CDR updated on Zap/4-1
– Executing Dial(“Zap/4-1”, “Zap/2|20”) in new stack
– Called 2
– Zap/2-1 is ringing
– Zap/2-1 is ringing
– Zap/2-1 is ringing
– Zap/2-1 is ringing
– Zap/2-1 is ringing
– Nobody picked up in 20000 ms
– Hungup ‘Zap/2-1’
thank you very very much for your help