I've turned debugging on to see ISDN message. This is what happen.
I don't know who sends the "TIMEOUT" event after 15 seconds when the
Dial timeout is 120 seconds.
P[ 0] --> Group Call group: card2
P[ 1] Group [card2] Port [1]
P[ 2] Group [card2] Port [2]
P[ 2] portup:1
P[ 0] --> * NEW CHANNEL dad:0341423318 oad:(null)
P[ 2] * Queuing chan 0x82c99e8
P[ 2] read_config: Getting Config
P[ 2] config_jb: Called
P[ 2] --> * CallGrp:1 PickupGrp:1
P[ 2] --> TON: Unknown
P[ 2] --> LTON: Unknown
P[ 2] --> CTON: Unknown
P[ 2] * CALL: g:card2/0341423318
P[ 2] --> * dad:70341423318 tech:mISDN/2-u31 ctx:trunk-2
P[ 2] --> * adding2newbc ext 70341423318
P[ 2] --> * adding2newbc callerid 13
P[ 2] update_config: Getting Config
P[ 2] --> pres: -1 screen: -1
P[ 2] --> pres: 0
P[ 2] --> PRES: Allowed (0x0)
P[ 2] --> SCREEN: Unscreened (0x0)
P[ 2] NO OPTS GIVEN
P[ 2] SENDEVENT: stack->nt:0 stack->uperid:40000204
P[ 2] I SEND:SETUP oad:13 dad:0341423318 pid:20
P[ 2] --> bc_state:BCHAN_CLEANED
P[ 2] --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
P[ 2] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 2] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 2] --> screen:0 --> pres:0
P[ 2] --> addr:0 l3id:9000e b_stid:0 layer_id:50010280
P[ 2] --> facility:Fac_None out_facility:Fac_None
P[ 2] --> urate:0 rate:16 mode:0 user1:0
P[ 2] --> bc:81b6fd8 h:0 sh:0
P[ 2] find_free_chan: req_chan:0
P[ 2] --> found chan: 1
P[ 2] set_chan_in_stack: 1
P[ 2] Idx:0 stack->cchan:0 in_use:1 Chan:1
P[ 2] Idx:1 stack->cchan:0 in_use:0 Chan:2
P[ 2] Idx:2 stack->cchan:0 in_use:0 Chan:3
P[ 2] --> found channel: 1
P[ 2] --> new_l3id 9000f
P[ 2] --> * SEND: State Dialing pid:20
-- Called g:card2/0341423318
P[ 2] Sending msg, prim:30580 addr:41000204 dinfo:9000f
................................
15 second passes
................................
P[ 2] handle_frm: frm->addr:42000203 frm->prim:3ff82
P[ 2] lib Got Prim: Addr 42000203 prim 3ff82 dinfo 90010
P[ 2] I IND :TIMEOUT oad:13 dad:0341423318 pid:21 state:CALLING
P[ 2] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 2] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 2] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 2] --> screen:0 --> pres:0
P[ 2] --> addr:0 l3id:90010 b_stid:0 layer_id:50010280
P[ 2] --> facility:Fac_None out_facility:Fac_None
P[ 2] --> urate:0 rate:16 mode:0 user1:0
P[ 2] --> bc:81b6fd8 h:0 sh:0
P[ 2] --> bc_state:BCHAN_CLEANED
P[ 2] --> state: CALLING
P[ 2] SENDEVENT: stack->nt:0 stack->uperid:40000204
P[ 2] I SEND:DISCONNECT oad:13 dad:0341423318 pid:21
P[ 2] --> bc_state:BCHAN_CLEANED
P[ 2] --> channel:1 mode:TE cause:16 ocause:1 rad: cad:
P[ 2] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 2] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 2] --> screen:0 --> pres:0
P[ 2] --> addr:0 l3id:90010 b_stid:0 layer_id:50010280
P[ 2] --> facility:Fac_None out_facility:Fac_None
P[ 2] --> urate:0 rate:16 mode:0 user1:0
P[ 2] --> bc:81b6fd8 h:0 sh:0
P[ 2] Freeing Msg on prim:3ff82
P[ 2] handle_frm: frm->addr:42000203 frm->prim:3f182
P[ 2] --> lib: RELEASE_CR Ind with l3id:90010
P[ 2] --> lib: CLEANING UP l3id: 90010
P[ 2] I IND :CLEAN_UP oad:13 dad:0341423318 pid:21 state:CALLING
P[ 2] hangup_chan called
P[ 2] --> queue_hangup
P[ 2] release_chan: bc with l3id: 90010
P[ 2] * RELEASING CHANNEL pid:21 ctx:trunk-2 dad:0341423318
oad:70341423318 state: CALLING
P[ 2] --> * State Down
P[ 2] --> Setting AST State to down
P[ 2] $$$ CLEANUP CALLED pid:21
P[ 2] $$$ Already cleaned up bc with stid :0
P[ 2] empty_chan_in_stack: 1
P[ 2] Idx:0 stack->cchan:0 in_use:1 Chan:1
P[ 2] Idx:1 stack->cchan:0 in_use:0 Chan:2
P[ 2] Idx:2 stack->cchan:0 in_use:0 Chan:3
P[ 2] Idx:0 stack->cchan:0 in_use:0 Chan:1
P[ 2] Idx:1 stack->cchan:0 in_use:0 Chan:2
P[ 2] Idx:2 stack->cchan:0 in_use:0 Chan:3
P[ 2] Sending msg, prim:34580 addr:41000204 dinfo:90010
== Everyone is busy/congested at this time (1:0/0/1)
-- AGI Script Executing Application: (Playtones) Options: (dialrecall)
-- AGI Script Executing Application: (Wait) Options: (1)
Extension Changed 13 new state Idle for Notify User 12
Extension Changed 13 new state Idle for Notify User 14
_______________________________________________
Misdn-asterisk mailing list
[email protected]
http://lists.beronet.com/cgi-bin/mailman/listinfo/misdn-asterisk