Hello,

 

I am rather new to the subject, and i ran into a problem i could not solve
with all the help i found online.

 

My setup is a debian 2.6.16-2-686 with Asterisk 1.2.13 and mISDN 0.3.1-rc26
with a cheap HFC isdn adapter connected via the ISP's NT to the pstn

 

The problem is that I have difficulties handling inbound calls. The phone
rings, and I can pick up and the connection works. But if (for example after
5 seconds of ringing) I want to jump to my next extension, asterisk moves
on, while misdn remains in the same state, ringing. Then after a while, when
asterisk times out, mISDN receives a time out from asterisk.

 

 

asterisk3*CLI> misdn show config

Misdn General-Config:

 -> Version: chan_misdn-0.3.1-rc26

 -> misdn_init: /etc/misdn-init.conf -> debug: 1

 -> tracefile: /var/log/asterisk/misdn.log -> bridging: yes

 -> stop_tone_after_first_digit: yes -> append_digits2exten: yes

 -> dynamic_crypt: no                -> crypt_prefix:

 -> crypt_keys:                      -> ntdebugflags: 0

 -> ntdebugfile: /var/log/misdn-nt.log

 

[PORT 1]

 -> name: intern                     -> allowed_bearers: all

 -> far_alerting: no                 -> rxgain: 0

 -> txgain: 0                        -> te_choose_channel: no

 -> pmp_l1_check: yes                -> reject_cause: 21

 -> block_on_alarm: yes              -> hdlc: no

 -> context: incoming                -> language: en

 -> musicclass: default              -> callerid:

 -> method: standard                 -> dialplan: 0

 -> localdialplan: 0                 -> cpndialplan: 0

 -> nationalprefix: 0                -> internationalprefix: 00

 -> presentation: -1                 -> screen: -1

 -> always_immediate: no             -> nodialtone: no

 -> immediate: no                    -> senddtmf: no

 -> hold_allowed: no                 -> early_bconnect: yes

 -> incoming_early_audio: no         -> echocancel: 0

 -> name: intern                     -> need_more_infos: no

 -> nttimeout: no                    -> jitterbuffer: 4000

 -> jitterbuffer_upper_threshold: 0  -> callgroup:

 -> pickupgroup:                     -> msns: *

 -> ptp: no

 

 

P[ 1] set_channel: bc->channel:0 channel:1

P[ 1] I IND :SETUP oad:34578567 dad:34583934 pid:10 state:none

P[ 1]  --> channel:1 mode:TE cause:16 ocause:16 rad: cad:

P[ 1]  --> info_dad: onumplan:2 dnumplan:2 rnumplan:  cpnnumplan:0

P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:1

P[ 1]  --> Bearer: Speech

P[ 1]  --> Codec: Alaw

P[ 0]  --> * NEW CHANNEL dad:34583934 oad:34578567

P[ 1]  --> CTON: Unknown

P[ 1] EXPORT_PID: pid:10

P[ 1]  --> PRES: Restricted (0)

P[ 1]  --> SCREEN: Unscreened (0)

P[ 1] I SEND:PROCEEDING oad:034578567 dad:034583934 pid:10

P[ 1]  --> bc_state:BCHAN_CLEANED

P[ 1]  --> channel:1 mode:TE cause:16 ocause:16 rad: cad:

P[ 1]  --> info_dad: onumplan:2 dnumplan:2 rnumplan:  cpnnumplan:0

P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:1

P[ 1]  --> TRANSPARENT Mode

P[ 1] bchan: DL_ESTABLISH|CNF

    -- Executing Dial("mISDN/1-1", "SIP/899&IAX2/asterisk1/705|5") in new
stack

    -- Called 899

    -- Called asterisk1/705

    -- Call accepted by 192.168.1.11 (format alaw)

    -- Format for call is alaw

    -- SIP/899-081bcba8 is ringing

P[ 1] * IND : Indication [3] from 034583934

P[ 1]  --> * IND :      ringing pid:10

P[ 1] I SEND:ALERTING oad:034578567 dad:034583934 pid:10

P[ 1]  --> bc_state:BCHAN_ACTIVATED

P[ 1]  --> channel:1 mode:TE cause:16 ocause:16 rad: cad:

P[ 1]  --> info_dad: onumplan:2 dnumplan:2 rnumplan:  cpnnumplan:0

P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:1

P[ 1]  --> * SEND: State Ring pid:10

P[ 1]  --> incoming_early_audio off

    -- IAX2/asterisk1-1 is ringing

    -- Nobody picked up in 5000 ms

P[ 1] * IND : Indication [-1] from 034583934

P[ 1]  --> * IND :      -1! (stop indication) pid:10

P[ 1]  --> None

*       Hungup 'IAX2/asterisk1-1'

 

Now the dialed sip phones stopped ringing (hung up by asterisk), But the
external phone that dials over  ISDN, keeps giving a ringing tone until a
timeout.

When I stop calling this is the rest of the debug:

 

P[ 1] $$$ CLEANUP CALLED pid:10

P[ 1] $$$ Cleaning up bc with stid :10010100 pid:10

P[ 1] ec_disable

P[ 1] Sending Control ECHOCAN_OFF

P[ 1] I IND :RELEASE oad: dad: pid:10 state:ALERTING

P[ 1]  --> channel:0 mode:TE cause:16 ocause:16 rad: cad:

P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0

P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:0

P[ 1] hangup_chan

P[ 1] -> queue_hangup

P[ 1] release_chan: bc with l3id: 20009

P[ 1] * RELEASING CHANNEL pid:10 ctx:incoming dad:034583934 oad:034578567
state: ALERTING

P[ 1]  --> * State Down

P[ 1]  --> Setting AST State to down

P[ 1] I SEND:RELEASE_COMPLETE oad: dad: pid:10

P[ 1]  --> bc_state:BCHAN_CLEANED

P[ 1]  --> channel:0 mode:TE cause:16 ocause:16 rad: cad:

P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0

P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:0

P[ 1] BCHAN: MGR_DELLAYER|CNF pid:10

 

 

 

Did anyone came across this problem before??

 

Thanks in advance!!

 

 

Fred

 

_______________________________________________
Misdn-asterisk mailing list
[email protected]
http://lists.beronet.com/cgi-bin/mailman/listinfo/misdn-asterisk

Reply via email to