[Asterisk-Users] Final status of the call

Jose Maria Guisasola var at cmsi2002.com
Sat Sep 11 11:44:52 MST 2004


Hello to all:

When I make a call of extension (FXS) to extension (FXS) (TDM40B) status of the 
call is the following one:

#### Case call answered

--------------------------------------------------- Log init
-- Starting simple switch on 'Zap/4-1'
    -- Executing Macro("Zap/4-1", "stdexten|103|Zap/2") in new stack
    -- Executing Dial("Zap/4-1", "Zap/2|30|Ttr") in new stack
    -- Called 2
    -- 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'
------------------------------------------------------ Log fin

===== Final asigned status ANSWERED

##### Case call bussy

--------------------------------------------------- Log init
-- Starting simple switch on 'Zap/4-1'
    -- Executing Macro("Zap/4-1", "stdexten|103|Zap/2") in new stack
    -- Executing Dial("Zap/4-1", "Zap/2|30|Ttr") in new stack
    -- Called 2
    -- Zap/2-busy-1297481828 is busy
    -- Hungup 'Zap/2-busy-1297481828'
------------------------------------------------------ Log fin

===== Final asigned status ANSWERED

When the call is external (through one of the X100P) appears with estatus of 
answered as soon as the X100P attends the call 

--------------------------------------------------- Log init
 -- Starting simple switch on 'Zap/4-1'
    -- Executing Dial("Zap/4-1", "Zap/g1/985171034||T") in new stack
    -- Called g1/985171034
    -- Zap/5-1 answered Zap/4-1   <<<< ============== ATT. ANSWERED 
    -- Attempting native bridge of Zap/4-1 and Zap/5-1
    -- Starting simple switch on 'Zap/7-1'
    -- Executing Wait("Zap/7-1", "3") in new stack
------------------------------------------------------ Log fin

======== Final asigned status ANSWERED

But in fact this is not estatus final of the call then can be:

- answered , bussy or not answered


but asterisk allways assigns final status of 'ANSWERED'

I understand that the news channels answers but this deceives in the draft 
registration point and prevents to send other applications me single in case 
that they answer the call.

I am making something bad or simply it is thus.

Thanks in advance and sorry for my bad English.



-- 
Jose Mª Guisasola
Consultor Técnico
CMSI 2002 S.L.



More information about the asterisk-users mailing list