[Asterisk-Users] Fax hangup causes incoming ring to be generated

Mark van Kerkwyk mark at vk.net
Thu May 5 18:19:46 MST 2005


Hi, I have an annoying issue whereby when my fax machine hangs up (after 
receiving a fax or any call) when on a FXS interface (I have a TDM400P), 
the default incoming ring kicks in. I guess the voltage drop when the fax 
hangs up is causing asterisk to think there is an incoming call.

Any ideas on stopping this from happening.



exten => s,1,Dial(Zap/1,10)             Wait 10 seconds so everyone 
doesn;t have to poay for an unanswered call
exten => s,2,Answer                     pickup
exten => s,3,Ringing                    keep ringing
exten => s,4,Wait,10

exten => fax,1,Dial(Zap/2,4)            call fax on fxs interface if 
needed.



I have tried all sorts of other varitions too, cli on and off etc . Same 
problem even with one below.
exten => s,1,Dial(Zap/2,4)              call fax on fxs interface



*CLI>     -- Starting simple switch on 'Zap/4-1'
    -- Executing Dial("Zap/4-1", "Zap/1|10") in new stack
    -- Called 1
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Nobody picked up in 10000 ms
    -- Hungup 'Zap/1-1'
    -- Executing Answer("Zap/4-1", "") in new stack
    -- Executing Ringing("Zap/4-1", "") in new stack
    -- Executing Wait("Zap/4-1", "10") in new stack
    -- Redirecting Zap/4-1 to fax extension
  == Spawn extension (pstn, fax, 0) exited non-zero on 'Zap/4-1'
    -- Executing Dial("Zap/4-1", "Zap/2|4") in new stack
    -- Called 2
    -- Zap/2-1 is ringing Zap/2 is FAX FXS interface
    -- 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' HANG UP HERE, BUT Zap/1 starts ringing ???
  == Spawn extension (pstn, fax, 1) exited non-zero on 'Zap/4-1'
    -- Executing Dial("Zap/4-1", "Zap/1/h") in new stack
    -- Called 1/h
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing



More information about the asterisk-users mailing list