Problem with dial in france


#1

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


#2

nobody knows how to send the caller id to a telephone which is plugged in the fxs zap channel ?

Thank you.


#3

Nobody that’s read this forum in the last 30 hours and has time to answer, by the looks of it, no. Keep trying though, someone somewhere probably knows.

In the meantime, have you read through the documentation at

voip-info.org/wiki/view/Asterisk

or the O’Reilly Asterisk book - free to download here:

voip-info.org/wiki/view/Aste … +Telephony

?


#4

thank you for the links but i am searching everywhere since 5 days.

i think that i am not the only one asterisk user who wants to send the caller id to the a,alog phones plugged in the zap fxs channels.

i hope someone will help me.


#5

you try tu put the “f” option ??

f - forces callerid to be set as the extension of the line making/redirecting the outgoing call.

like that :

exten => s,5,Dial(Zap/2&Zap/1&Zap/3,20,f)