Hallo,
ich hab mal wieder ein Problem. Ich schaffe es zwar mit nach draussen zu Telefonieren aber eingehende anrufe kann ich einfach nicht zu unserer Telefonanlage durchstellen.
konfiguration:
asterisk version:
Asterisk SVN-branch-1.4-r87069
misdn:
mISDN 1.2.0
NTBA <==>mISDN_TEports<=>asterisk<=>mISDN_NTports<==>Telefonanlage
Eingehende Anrufe zu Sip telefonen am Asterisk sind kein Problem nur eingehende auf die Anlage funktionieren nicht.
Raustelefonieren funktioniert allerdings mit allen Endgeräten auch mit denen an der Telefonanlage.
Hier mal die Fehlermeldungen in der CLI:
Der betreffende teil der extensions.conf sieht so aus:
Die /asterisk/misdn.conf
und die /etc/mISDN.conf
ich hab mal wieder ein Problem. Ich schaffe es zwar mit nach draussen zu Telefonieren aber eingehende anrufe kann ich einfach nicht zu unserer Telefonanlage durchstellen.
konfiguration:
asterisk version:
Asterisk SVN-branch-1.4-r87069
misdn:
mISDN 1.2.0
NTBA <==>mISDN_TEports<=>asterisk<=>mISDN_NTports<==>Telefonanlage
Eingehende Anrufe zu Sip telefonen am Asterisk sind kein Problem nur eingehende auf die Anlage funktionieren nicht.
Raustelefonieren funktioniert allerdings mit allen Endgeräten auch mit denen an der Telefonanlage.
Hier mal die Fehlermeldungen in der CLI:
Code:
Fri Oct 26 13:55:57 2007: P[ 6] handle_frm: frm->addr:42000603 frm->prim:3f082
Fri Oct 26 13:55:57 2007: P[ 6] handle_frm: frm->addr:42000603 frm->prim:30582
Fri Oct 26 13:55:57 2007: P[ 6] set_channel: bc->channel:0 channel:1
Fri Oct 26 13:55:57 2007: P[ 6] I IND :NEW_CHANNEL oad:6254940232 dad:30832 pid:12 state:none
Fri Oct 26 13:55:57 2007: P[ 6] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
Fri Oct 26 13:55:57 2007: P[ 6] --> info_dad: onumplan:2 dnumplan:4 rnumplan: cpnnumplan:0
Fri Oct 26 13:55:57 2007: P[ 6] --> caps:Audio 3.1k pi:0 keypad: sending_complete:0
Fri Oct 26 13:55:57 2007: P[ 6] --> screen:0 --> pres:0
Fri Oct 26 13:55:57 2007: P[ 6] --> addr:0 l3id:80004 b_stid:0 layer_id:0
Fri Oct 26 13:55:57 2007: P[ 6] --> facility:Fac_None out_facility:Fac_None
Fri Oct 26 13:55:57 2007: P[ 6] --> bc_state:BCHAN_CLEANED
Fri Oct 26 13:55:57 2007: P[ 6] Chan not existing at the moment bc->l3id:80004 bc:0x81ff460 event:NEW_CHANNEL port:6 channel:1
Fri Oct 26 13:55:57 2007: P[ 6] NO USERUESRINFO
Fri Oct 26 13:55:57 2007: P[ 6] --> found chan (preselected): 1
Fri Oct 26 13:55:57 2007: P[ 6] set_chan_in_stack: 1
Fri Oct 26 13:55:57 2007: P[ 6] setup_bc: with dsp
Fri Oct 26 13:55:57 2007: P[ 6] --> Channel is 1
Fri Oct 26 13:55:57 2007: P[ 6] --> TRANSPARENT Mode
Fri Oct 26 13:55:57 2007: P[ 6] I IND :SETUP oad:6254940232 dad:30832 pid:12 state:none
Fri Oct 26 13:55:57 2007: P[ 6] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
Fri Oct 26 13:55:57 2007: P[ 6] --> info_dad: onumplan:2 dnumplan:4 rnumplan: cpnnumplan:0
Fri Oct 26 13:55:57 2007: P[ 6] --> caps:Audio 3.1k pi:3 keypad: sending_complete:0
Fri Oct 26 13:55:57 2007: P[ 6] --> screen:0 --> pres:0
Fri Oct 26 13:55:57 2007: P[ 6] --> addr:50010602 l3id:80004 b_stid:10010600 layer_id:50010680
Fri Oct 26 13:55:57 2007: P[ 6] --> facility:Fac_None out_facility:Fac_None
Fri Oct 26 13:55:57 2007: P[ 6] --> bc_state:BCHAN_ACTIVATED
Fri Oct 26 13:55:57 2007: P[ 6] --> Bearer: Audio 3.1k
Fri Oct 26 13:55:57 2007: P[ 6] --> Codec: Alaw
Fri Oct 26 13:55:57 2007: P[ 6] --> Bearer: Audio 3.1k
Fri Oct 26 13:55:57 2007: P[ 6] --> Codec: Alaw
Fri Oct 26 13:55:57 2007: P[ 0] --> * NEW CHANNEL dad:30832 oad:6254940232
Fri Oct 26 13:55:57 2007: P[ 6] read_config: Getting Config
Fri Oct 26 13:55:57 2007: P[ 6] --> CTON: Unknown
Fri Oct 26 13:55:57 2007: P[ 6] --> EXPORT_PID: pid:12
Fri Oct 26 13:55:57 2007: P[ 6] --> PRES: Restricted (0)
Fri Oct 26 13:55:57 2007: P[ 6] --> SCREEN: Unscreened (0)
Fri Oct 26 13:55:57 2007: P[ 6] * Queuing chan 0x822afe0
Fri Oct 26 13:55:57 2007: P[ 6] I SEND:SETUP_ACKNOWLEDGE oad:6254940232 dad:30832 pid:12
Fri Oct 26 13:55:57 2007: P[ 6] --> bc_state:BCHAN_ACTIVATED
Fri Oct 26 13:55:57 2007: P[ 6] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
Fri Oct 26 13:55:57 2007: P[ 6] --> info_dad: onumplan:2 dnumplan:4 rnumplan: cpnnumplan:0
Fri Oct 26 13:55:57 2007: P[ 6] --> caps:Audio 3.1k pi:3 keypad: sending_complete:0
Fri Oct 26 13:55:57 2007: P[ 6] --> screen:0 --> pres:0
Fri Oct 26 13:55:57 2007: P[ 6] --> addr:50010602 l3id:80004 b_stid:10010600 layer_id:50010680
Fri Oct 26 13:55:57 2007: P[ 6] --> facility:Fac_None out_facility:Fac_None
Fri Oct 26 13:55:57 2007: P[ 6] GOT SETUP OK
Fri Oct 26 13:55:57 2007: P[ 6] BCHAN: bchan ACT Confirm pid:12
Fri Oct 26 13:55:57 2007: P[ 0] Waking up misdn_tasks thread
Fri Oct 26 13:55:57 2007: P[ 6] Sending msg, prim:30d80 addr:41000604 dinfo:80004
Fri Oct 26 13:55:57 2007: P[ 6] overlap dial task, chan_state: 1
Fri Oct 26 13:55:57 2007: P[ 6] handle_frm: frm->addr:42000603 frm->prim:37b82
Fri Oct 26 13:55:57 2007: P[ 6] I IND :INFORMATION oad:6254940232 dad:30832 pid:12 state:WAITING4DIGS
Fri Oct 26 13:55:57 2007: P[ 6] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
Fri Oct 26 13:55:57 2007: P[ 6] --> info_dad:1 onumplan:2 dnumplan:4 rnumplan: cpnnumplan:0
Fri Oct 26 13:55:57 2007: P[ 6] --> caps:Audio 3.1k pi:3 keypad: sending_complete:0
Fri Oct 26 13:55:57 2007: P[ 6] --> screen:0 --> pres:0
Fri Oct 26 13:55:57 2007: P[ 6] --> addr:50010602 l3id:80004 b_stid:10010600 layer_id:50010680
Fri Oct 26 13:55:57 2007: P[ 6] --> facility:Fac_None out_facility:Fac_None
Fri Oct 26 13:55:57 2007: P[ 6] --> bc_state:BCHAN_ACTIVATED
Fri Oct 26 13:55:57 2007: P[ 6] --> None
Fri Oct 26 13:56:01 2007: P[ 6] overlap dial task, chan_state: 1
Fri Oct 26 13:56:01 2007: P[ 6] overlap dial task, chan_state: 1
Fri Oct 26 13:56:01 2007: P[ 6] --> None
Fri Oct 26 13:56:01 2007: P[ 0] --> Group Call group: octobriNTports
Fri Oct 26 13:56:01 2007: P[ 1] Group [octobriNTports] Port [1]
Fri Oct 26 13:56:01 2007: P[ 1] portup:1
Fri Oct 26 13:56:01 2007: P[ 0] --> * NEW CHANNEL dad:308321 oad:(null)
Fri Oct 26 13:56:01 2007: P[ 1] * Queuing chan 0x8234198
Fri Oct 26 13:56:01 2007: P[ 1] read_config: Getting Config
Fri Oct 26 13:56:01 2007: P[ 1] --> TON: Unknown
Fri Oct 26 13:56:01 2007: P[ 1] --> LTON: Unknown
Fri Oct 26 13:56:01 2007: P[ 1] --> CTON: Unknown
Fri Oct 26 13:56:01 2007: P[ 1] * CALL: g:octobriNTports/308321
Fri Oct 26 13:56:01 2007: P[ 1] --> * dad:308321 tech:mISDN/0-u19 ctx:octobriTOpbx
Fri Oct 26 13:56:01 2007: P[ 1] --> * adding2newbc ext 308321
Fri Oct 26 13:56:01 2007: P[ 1] --> * adding2newbc callerid 6254940232
Fri Oct 26 13:56:01 2007: P[ 1] --> pres: -1 screen: -1
Fri Oct 26 13:56:01 2007: P[ 1] --> pres: 0
Fri Oct 26 13:56:01 2007: P[ 1] --> PRES: Allowed (0x0)
Fri Oct 26 13:56:01 2007: P[ 1] --> SCREEN: Unscreened (0x0)
Fri Oct 26 13:56:01 2007: P[ 1] --> IMPORT_PID: importing pid:12
Fri Oct 26 13:56:01 2007: P[ 1] NO OPTS GIVEN
Fri Oct 26 13:56:01 2007: P[ 1] Disabling EC (aka Pipeline) on both Sides
Fri Oct 26 13:56:01 2007: P[ 1] I SEND:SETUP oad:6254940232 dad:308321 pid:13
Fri Oct 26 13:56:01 2007: P[ 1] --> bc_state:BCHAN_CLEANED
Fri Oct 26 13:56:01 2007: P[ 1] --> channel:0 mode:NT cause:16 ocause:16 rad: cad:
Fri Oct 26 13:56:01 2007: P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
Fri Oct 26 13:56:01 2007: P[ 1] --> caps:Audio 3.1k pi:0 keypad: sending_complete:0
Fri Oct 26 13:56:01 2007: P[ 1] --> screen:0 --> pres:0
Fri Oct 26 13:56:01 2007: P[ 1] --> addr:0 l3id:8003ff00 b_stid:0 layer_id:0
Fri Oct 26 13:56:01 2007: P[ 1] --> facility:Fac_None out_facility:Fac_None
Fri Oct 26 13:56:01 2007: P[ 1] --> found chan: 1
Fri Oct 26 13:56:01 2007: P[ 1] set_chan_in_stack: 1
Fri Oct 26 13:56:01 2007: P[ 1] --> found channel: 1
Fri Oct 26 13:56:01 2007: P[ 1] --> new_l3id ff00
Fri Oct 26 13:56:01 2007: P[ 1] --> * SEND: State Dialing pid:13
Fri Oct 26 13:56:01 2007
P[ 1] --> lib: Event_ind:SETUP CONFIRM [NT] : new L3ID is 8004ff00
Fri Oct 26 13:56:01 2007: P[ 6] * IND : ringing pid:12
Fri Oct 26 13:56:01 2007: P[ 1] I IND :CC_SETUP|CONFIRM: old l3id:ff00 new l3id:8004ff00
Fri Oct 26 13:56:01 2007: P[ 6] --> * IND : ringing pid:12
Fri Oct 26 13:56:01 2007: P[ 1] I IND :NEW_L3ID oad:6254940232 dad:308321 pid:13 state:CALLING
Fri Oct 26 13:56:01 2007: P[ 6] I SEND:ALERTING oad:6254940232 dad:308321 pid:12
Fri Oct 26 13:56:01 2007
P[ 6] --> bc_state:BCHAN_ACTIVATED
Fri Oct 26 13:56:01 2007: P[ 1] --> channel:1 mode:NT cause:16 ocause:16 rad: cad:
Fri Oct 26 13:56:01 2007: P[ 6] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
Fri Oct 26 13:56:01 2007: P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
Fri Oct 26 13:56:01 2007: P[ 6] --> info_dad:1 onumplan:2 dnumplan:4 rnumplan: cpnnumplan:0
Fri Oct 26 13:56:01 2007: P[ 1] --> caps:Audio 3.1k pi:0 keypad: sending_complete:0
Fri Oct 26 13:56:01 2007: P[ 6] --> caps:Audio 3.1k pi:3 keypad: sending_complete:0
Fri Oct 26 13:56:01 2007
P[ 1] --> screen:0 --> pres:0
Fri Oct 26 13:56:01 2007: P[ 6] --> screen:0 --> pres:0
Fri Oct 26 13:56:01 2007: P[ 1] --> addr:0 l3id:8004ff00 b_stid:0 layer_id:0
Fri Oct 26 13:56:01 2007: P[ 6] --> addr:50010602 l3id:80004 b_stid:10010600 layer_id:50010680
Fri Oct 26 13:56:01 2007
P[ 1] --> facility:Fac_None out_facility:Fac_None
Fri Oct 26 13:56:01 2007: P[ 6] --> facility:Fac_None out_facility:Fac_None
Fri Oct 26 13:56:01 2007: P[ 1] --> bc_state:BCHAN_CLEANED
Fri Oct 26 13:56:01 2007: P[ 6] --> * SEND: State Ring pid:12
Fri Oct 26 13:56:01 2007: P[ 6] --> incoming_early_audio off
Fri Oct 26 13:56:01 2007: P[ 6] Sending msg, prim:30180 addr:41000604 dinfo:80004
Fri Oct 26 13:56:05 2007: P[ 1] $$$ CLEANUP CALLED pid:13
Fri Oct 26 13:56:05 2007: P[ 1] empty_chan_in_stack: 1
Fri Oct 26 13:56:05 2007: P[ 1] I IND :RELEASE_COMPLETE oad: dad: pid:13 state:CALLING
Fri Oct 26 13:56:05 2007: P[ 1] --> channel:0 mode:NT cause:44 ocause:16 rad: cad:
Fri Oct 26 13:56:05 2007: P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
Fri Oct 26 13:56:05 2007: P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
Fri Oct 26 13:56:05 2007: P[ 1] --> screen:0 --> pres:0
Fri Oct 26 13:56:05 2007: P[ 1] --> addr:0 l3id:8004ff00 b_stid:0 layer_id:0
Fri Oct 26 13:56:05 2007: P[ 1] --> facility:Fac_None out_facility:Fac_None
Fri Oct 26 13:56:05 2007: P[ 1] --> bc_state:BCHAN_CLEANED
@ri Oct 26 13:56:05 2007: P[ 1] --> queue_hangup
Fri Oct 26 13:56:05 2007: P[ 1] * IND : HANGUP pid:13 ctx:octobriTOpbx dad:308321 oad:308321 State:CALLING
Fri Oct 26 13:56:05 2007: P[ 1] --> l3id:8004ff00
Fri Oct 26 13:56:05 2007: P[ 1] --> Faking Realease_cr for 41000101
Fri Oct 26 13:56:05 2007: P[ 1] --> cause:44
Fri Oct 26 13:56:05 2007: P[ 1] --> Removing Process Id:0 on this port.
Fri Oct 26 13:56:05 2007: P[ 1] --> out_cause:44
Fri Oct 26 13:56:05 2007: P[ 1] --> lib: RELEASE_CR Ind with l3id:8004ff00
Fri Oct 26 13:56:05 2007: P[ 1] --> state:CLEANING
Fri Oct 26 13:56:05 2007: P[ 1] --> lib: CLEANING UP l3id: 8004ff00
Fri Oct 26 13:56:05 2007: P[ 1] --> Channel: mISDN/0-u19 hanguped new state:CLEANING
Fri Oct 26 13:56:05 2007: P[ 1] $$$ CLEANUP CALLED pid:13
Fri Oct 26 13:56:05 2007: P[ 6] --> * IND : -1! (stop indication) pid:12
Fri Oct 26 13:56:05 2007: P[ 6] --> None
Fri Oct 26 13:56:05 2007: P[ 6] * IND : HANGUP pid:12 ctx:octobriincomming dad:308321 oad:6254940232 State:ALERTING
Fri Oct 26 13:56:05 2007: P[ 6] --> l3id:80004
Fri Oct 26 13:56:05 2007: P[ 6] --> cause:16
Fri Oct 26 13:56:05 2007: P[ 6] --> out_cause:44
Fri Oct 26 13:56:05 2007: P[ 6] --> state:ALERTING
Fri Oct 26 13:56:05 2007: P[ 6] ph_control: c1:2310 c2:12
Fri Oct 26 13:56:05 2007: P[ 6] I SEND:DISCONNECT oad:6254940232 dad:308321 pid:12
Fri Oct 26 13:56:05 2007: P[ 6] --> bc_state:BCHAN_ACTIVATED
Fri Oct 26 13:56:05 2007: P[ 6] --> channel:1 mode:TE cause:16 ocause:44 rad: cad:
Fri Oct 26 13:56:05 2007: P[ 6] --> info_dad:1 onumplan:2 dnumplan:4 rnumplan: cpnnumplan:0
Fri Oct 26 13:56:05 2007: P[ 6] --> caps:Audio 3.1k pi:3 keypad: sending_complete:0
Fri Oct 26 13:56:05 2007: P[ 6] --> screen:0 --> pres:0
Fri Oct 26 13:56:05 2007: P[ 6] --> addr:50010602 l3id:80004 b_stid:10010600 layer_id:50010680
Fri Oct 26 13:56:05 2007: P[ 6] --> facility:Fac_None out_facility:Fac_None
Fri Oct 26 13:56:05 2007: P[ 6] --> Channel: mISDN/11-u18 hanguped new state:CLEANING
Fri Oct 26 13:56:05 2007: P[ 6] Sending msg, prim:34580 addr:41000604 dinfo:80004
Fri Oct 26 13:56:05 2007: P[ 6] handle_frm: frm->addr:42000603 frm->prim:34d82
Fri Oct 26 13:56:05 2007: P[ 6] I IND :RELEASE oad:6254940232 dad:308321 pid:12 state:CLEANING
Fri Oct 26 13:56:05 2007: P[ 6] --> channel:1 mode:TE cause:16 ocause:44 rad: cad:
Fri Oct 26 13:56:05 2007: P[ 6] --> info_dad:1 onumplan:2 dnumplan:4 rnumplan: cpnnumplan:0
Fri Oct 26 13:56:05 2007: P[ 6] --> caps:Audio 3.1k pi:3 keypad: sending_complete:0
Fri Oct 26 13:56:05 2007: P[ 6] --> screen:0 --> pres:0
Fri Oct 26 13:56:05 2007: P[ 6] --> addr:50010602 l3id:80004 b_stid:10010600 layer_id:50010680
Fri Oct 26 13:56:05 2007: P[ 6] --> facility:Fac_None out_facility:Fac_None
Fri Oct 26 13:56:05 2007: P[ 6] --> bc_state:BCHAN_ACTIVATED
Fri Oct 26 13:56:05 2007: P[ 6] ast_hangup already called, so we have no ast ptr anymore in event(RELEASE)
Fri Oct 26 13:56:05 2007: P[ 6] --> No need to queue hangup
Fri Oct 26 13:56:05 2007: P[ 6] Cannot hangup chan, no ast
Fri Oct 26 13:56:05 2007: P[ 6] handle_frm: frm->addr:42000603 frm->prim:3f182
Fri Oct 26 13:56:05 2007: P[ 6] --> lib: RELEASE_CR Ind with l3id:80004
Fri Oct 26 13:56:05 2007: P[ 6] --> lib: CLEANING UP l3id: 80004
Fri Oct 26 13:56:05 2007: P[ 6] $$$ CLEANUP CALLED pid:12
Fri Oct 26 13:56:05 2007: P[ 6] $$$ Cleaning up bc with stid :10010600 pid:12
Fri Oct 26 13:56:05 2007: P[ 6] --> ec_disable
Fri Oct 26 13:56:05 2007: P[ 6] empty_chan_in_stack: 1
Fri Oct 26 13:56:05 2007: P[ 6] BCHAN: DeACT Conf pid:12
Fri Oct 26 13:56:05 2007: P[ 6] BCHAN: MGR_DELLAYER|CNF pid:12
Der betreffende teil der extensions.conf sieht so aus:
Code:
exten => _3083XX,1,NoOp(Incomming Call)
exten => _3083XX,n,Dial(mISDN/g:octobriNTports/${EXTEN}||r)
exten => _3083XX,n,HangUp
Die /asterisk/misdn.conf
Code:
[general]
debug=4
;misdn_init=/etc/mISDN.conf
;method=standard
append_digits2exten=yes
bridging=yes ;changed
ntdebugflags=4
ntdebugfile=/var/log/asterisk/misdn-nt.log
stop_tone_after_first_digit=no
[default]
context=misdn
language=de
nationalprefix=
internationalprefix=
rxgain=0
txgain=0
dialplan=0
localdialplan=0
cpndialplan=0
presentation=-1
screen=-1
need_more_infos=yes
far_alerting=yes
; neu:
senddtmf=yes
;nationalprefix=0
;internationalprefix=00
overlapdial=no
[octobriTEports]
ports=3ptp,4ptp,5ptp,6ptp
;msns=*
context=octobriincomming
overlapdial=yes
immediate=no
[octobriNTports]
ports=1ptp,2ptp,7ptp,8ptp
context=octobriTOpbx
;msns=*
overlapdial=yes
immediate=no
und die /etc/mISDN.conf
Code:
<mISDNconf>
<module poll="128" debug="0" timer="no">hfcmulti</module>
<module debug="0" options="0">mISDN_dsp</module>
<module>mISDN_dsp_mec2</module>
<module>mISDN_dsp_mg2ec</module>
<module>mISDN_dsp_kb1ec</module>
<devnode user="root" group="root" mode="644">mISDN</devnode>
<card type="BN8S0">
<port mode="nt" link="ptp">1</port>
<port mode="nt" link="ptp">2</port>
<port mode="te" link="ptp" master-clock="yes" >3</port>
<port mode="te" link="ptp">4</port>
<port mode="te" link="ptp">5</port>
<port mode="te" link="ptp">6</port>
<port mode="nt" link="ptp">7</port>
<port mode="nt" link="ptp">8</port>
</card>
</mISDNconf>