[Asterisk-Users] In France asterisk never detect hang up. Why ?

asterisk user dupont astermail at gmail.com
Fri Nov 18 05:32:43 MST 2005


Hello.

I am sorry my english is not good at all.

When i have a call from a fxo port of a tdm400p, asterisk waits one
minute before detecting that the caller has hang up his phone.

I have in my extension conf :
answer
background  (the prompt is 40 second long)
dial (on fxs port)  confgured for 30 seconds ringing.

if the caller hang up at the begining of the background prompt,
asterisk waits until he make ring the phone on the dial command for
the all 30 secondes before detecting the hang up.

Do you know if there is a way to repair that ?

here is what i see on asterisk when the caller hang up IMMEDITALY
after the test prompt begins :

*CLI>     -- Starting simple switch on 'Zap/4-1'
    -- Executing Answer("Zap/4-1", "") in new stack
    -- Executing NoOp("Zap/4-1", "0675458745") in new stack
    -- Executing Set("Zap/4-1", "TIMEOUT(response)=20") in new stack
    -- Response timeout set to 20
    -- Executing BackGround("Zap/4-1", "barge") in new stack
    -- Playing 'test' (language 'fr')
    -- Executing Dial("Zap/4-1", "Zap/2|0675458745|30") 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 answered Zap/4-1
    -- Attempting native bridge of Zap/4-1 and Zap/2-1
    -- Hungup 'Zap/2-1'
  == Spawn extension (reseau, s, 5) exited non-zero on 'Zap/4-1'
    -- Executing Hangup("Zap/4-1", "") in new stack
  == Spawn extension (reseau, h, 1) exited non-zero on 'Zap/4-1'
    -- Hungup 'Zap/4-1'


In my zapata.conf i have :

language=fr
default=fr
relaxdtmf=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
cidsignalling=v23
usecallerid=yes
group => 1
context=reseau
signalling=fxs_ks
callprogress=yes
busydetect=yes
callerid=asreceived
busycount=5
pulse=yes

In my zaptel.conf i have :

loadzone=fr
defaultzone=fr
fxoks=1-3
fxsks=4


If anyone can see what is wrong he will really help me.

thank you.



More information about the asterisk-users mailing list