misdn invalid chars(!,}) in oad dad of find_chan

roosit

Neuer User
Mitglied seit
17 Apr 2007
Beiträge
1
Punkte für Reaktionen
0
Punkte
0
When I compile against a 2.6.20 kernel i get '!' and '}' chars in my aod and dad fields. This is probably the reason why asterisk does not work.

With the 2.6.18.6 kernel i had no problems.

Does anyone know how to get rid of this. Is this a problem when compiling under utf-8?

Thanks,


phonenumbers are replaced by: 234567890

P[ 0] MGMT: Short status dinfo 1000001
P[ 0] MGMT: SSTATUS: L1_ACTIVATED
P[ 1] handle_frm: frm->addr:42000103 frm->prim:3f082
P[ 1] --> lib: NEW_CR Ind with l3id:20001 on this port.
P[ 1] --> new_process: New L3Id: 20001
P[ 1] handle_frm: frm->addr:42000103 frm->prim:30582
P[ 1] set_channel: bc->channel:0 channel:0
P[ 1] lib Got Prim: Addr 42000103 prim 30582 dinfo 20001
P[ 1] $$$ find_chan: No channel found for oad:!234567890p¡234567890} dad:¡203458804}
P[ 1] I IND :SETUP oad:!234567890p¡234567890} dad:¡234567890} pid:2 state:none
P[ 1] --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:6 dnumplan:7 rnumplan: cpnnumplan:0
P[ 1] --> caps:Unknown Bearer pi:0 keypad: sending_complete:0
P[ 1] --> screen:0 --> pres:0
P[ 1] --> addr:0 l3id:20001 b_stid:0 layer_id:0
P[ 1] --> facility:Fac_None out_facility:Fac_None
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> bc:81967d8 h:0 sh:0
P[ 1] --> bc_state:BCHAN_CLEANED
 
grml

same problem here. tried everything against 2.6.20 and got this error. now im back on 2.6.17-gentoo-r8, i compiled misdn, misdnuser, asterisk, chan_misdn again(with emerge). but i get the same strange oad's and dad's.

but its only on my TE port. on the NT port is everything fine.
i switched the 2 hfcpci and got the same results.

so misdn seems to be the reason.

here is a log from an incomming call:
Code:
Asterisk 1.2.17-BRIstuffed-0.3.0-PRE-1y-d, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.17-BRIstuffed-0.3.0-PRE-1y-d currently running on router (pid = 23925)
Verbosity is at least 10
P[ 2] MGMT: Short status dinfo 1000001
P[ 2] MGMT: SSTATUS: L1_ACTIVATED
P[ 2] handle_frm: frm->addr:42000203 frm->prim:3f082
P[ 2] handle_frm: frm->addr:42000203 frm->prim:30582
P[ 2] set_channel: bc->channel:0 channel:-1
P[ 2] lib Got Prim: Addr 42000203 prim 30582 dinfo 20003
P[ 2] I IND :SETUP oad:43100812p�91222}�� dad:222}��
P[ 2]  --> mode:TE cause:16 ocause:16 rad: cad:
P[ 2]  --> facility:FAC_NONE out_facility:FAC_NONE
P[ 2]  --> info_dad: onumplan:3 dnumplan:3 rnumplan:  cpnnumplan:0
P[ 2]  --> screen:3 --> pres:1
P[ 2]  --> channel:0 caps:Speech pi:0 keypad:
P[ 2]  --> urate:0 rate:16 mode:0 user1:0
P[ 2]  --> pid:4 addr:0 l3id:20003
P[ 2]  --> b_stid:0 layer_id:0
P[ 2]  --> bc:8019076c h:0 sh:0
P[ 2]  --> bc_state:BCHAN_CLEANED
P[ 2]  --> Bearer: Speech
P[ 2]  --> Codec: Alaw
P[ 0]  --> * NEW CHANNEL dad:222}�� oad:43100812p�91222}��
P[ 2] read_config: Getting Config
P[ 2] config_jb: Called
P[ 2]  --> * CallGrp: PickupGrp:
P[ 2]  --> CTON: Unknown
P[ 2] * Queuing chan 0x8013f848
P[ 2] CONTEXT:from-pstn
May  3 23:22:29 WARNING[23960]: chan_misdn.c:4443 chan_misdn_log: Extension can never match, so disconnecting
P[ 2] Tone Indicate:
P[ 2]  --> Busy
P[ 2] misdn_write: * prods us
P[ 2] I SEND:DISCONNECT oad:43100812p�91222} dad:222}��
P[ 2]  --> bc_state:BCHAN_CLEANED
P[ 2]  --> mode:TE cause:16 ocause:1 rad: cad:
P[ 2]  --> facility:FAC_NONE out_facility:FAC_NONE
P[ 2]  --> info_dad: onumplan:3 dnumplan:3 rnumplan:  cpnnumplan:0
P[ 2]  --> screen:3 --> pres:1
P[ 2]  --> channel:0 caps:Speech pi:0 keypad:
P[ 2]  --> urate:0 rate:16 mode:0 user1:0
P[ 2]  --> pid:4 addr:0 l3id:20003
P[ 2]  --> b_stid:0 layer_id:0
P[ 2]  --> bc:8019076c h:0 sh:0
P[ 2] GOT SETUP OK
P[ 2] Freeing Msg on prim:30582
P[ 2] MGMT: Short status dinfo 2000001
P[ 2] MGMT: SSTATUS: L2_ESTABLISH
P[ 2] MGMT: Short status dinfo 1000001
P[ 2] MGMT: SSTATUS: L1_ACTIVATED
P[ 2] handle_frm: frm->addr:42000203 frm->prim:37d82
P[ 2] lib Got Prim: Addr 42000203 prim 37d82 dinfo 20003
P[ 2] I IND :STATUS oad:43100812p�91222} dad:222}��
P[ 2]  --> mode:TE cause:1 ocause:1 rad: cad:
P[ 2]  --> facility:FAC_NONE out_facility:FAC_NONE
P[ 2]  --> info_dad: onumplan:3 dnumplan:3 rnumplan:  cpnnumplan:0
P[ 2]  --> screen:3 --> pres:1
P[ 2]  --> channel:0 caps:Speech pi:0 keypad:
P[ 2]  --> urate:0 rate:16 mode:0 user1:0
P[ 2]  --> pid:4 addr:0 l3id:20003
P[ 2]  --> b_stid:0 layer_id:0
P[ 2]  --> bc:8019076c h:0 sh:0
P[ 2]  --> bc_state:BCHAN_CLEANED
P[ 2] Freeing Msg on prim:37d82

but after reading your post, i'll try to recompile everything again with 2.6.18.

so long
 
same here.

first i did an emerge -C with all the packages. then i installed sys-kernel/gentoo-sources-2.6.18-r7, reboot an then came an emerge -va with all this packages, in this order:
net-libs/libpri-1.2.4-r2
net-misc/zaptel-1.2.16
net-dialup/misdn-1.1.2
net-dialup/misdnuser-1.1.2
net-misc/asterisk-1.2.17
net-misc/asterisk-chan_misdn-0.3.0


thats it.
now it works again
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.