|
List Info
Thread: 回复: Re: need help for isdn4bsd-asterisk setting!
|
|
| 回复: Re: need help for
isdn4bsd-asterisk setting! |
  China |
2008-03-06 07:57:33 |
|
hello, Sir: i tried to edit the capi.conf and dialplan. the test result is this: new-host# capitest -u 11 -o 13424390742 main.c: capi_send_listen_request: sending listen request for incoming_calls main.c: capi_send_listen_request: sending listen request for incoming_calls main.c: capi_send_listen_request: sending listen request for incoming_calls main.c: capi_send_listen_request: sending listen request for incoming_calls dialing out, 1 / 1 ... main.c: cd_event: disconnected: normal call clearing ************************************************************ the message shows this: CAPI_DISCONNECT_RESP { header { WORD wLen = 0x0000 WORD wApp = 0x0000
WORD wCmd = 0x8473 WORD wNum = 0x0000 DWORD dwCid = 0x0000030b } data { } }
== cd_free:1817:ENTRY=ISDN4:PLCI=0x030b:PBX_CHAN=CAPI/ISDN4/1342439XXX: == > CAPI: Command=DISCONNECT_IND, 0x848c: no call descriptor for PLCI=0x030b, MSGNUM=0x0000: > Data = 'ISDN4/13424390XXX' [Mar 7 02:40:02] ERROR[659]: chan_capi.c:1643 cd_by_pbx_chan: PBX channel has no interface! [Mar 7 02:40:02] ERROR[659]: chan_capi.c:1643 cd_by_pbx_chan: PBX channel has no
interface! -- No one is available to answer at this time (1:0/0/0) -- Executing [100 from-internal:2] Hangup("SIP/600-08733000", "") in new stack == Spawn extension (from-internal, 100, 2) exited non-zero on 'SIP/600-08733000' > Data = 'ISDN4/1342439XXXX' > Out of order update usecou ***************************************************** extensions.conf******************** [from-internal] exten => 100,1,Dial(CAPI/contr11/13424390742,100) exten => 100,2,Hangup i call contr11/134XXXXXX i changed to call-limit=10000. i do not think call-limit to control that. any idea for that? thanks James.zhu
Pim van Stam <pim vanstam-ict.nl> 写道: On Wed, 2008-03-05 at
11:13 +0800, lizhong zhu wrote: > hello, all of users: > i have installed isdn4bsd with Openvox B400P. everything seems ok. but > i can not make calls. i am confusing the isdnconfig setting and > capi.conf for four port card.
It seems that the 4th port is actually connected. In capi.conf you have to name the controller as in isdnconfig. So [ISDN1] controller=8 etc.
Since it seems only controller 11 is connected (4th port) I suggect that in [ISDN1], [ISDN2] and [ISDN3] you state group=2. Only [ISDN4] gets group=1. When lines are added you can change the group to add that line to the dialgroup.
With kind regards,
Pim van Stam WP van Stam ICT
> what i did is run: > ************************************************ > new-host# isdnconfig -u 11 -a -p DRVR_DSS1_TE > new-host# isdnconfig -u 10 -a -p DRVR_DSS1_TE > new-host# isdnconfig -u 9 -a -p
DRVR_DSS1_TE > new-host# isdnconfig -u 8 -a -p DRVR_DSS1_TE > new-host# isdnconfig > controller 8 = { > Layer 1: > description : HFC-4S PCI ISDN adapter > type : passive ISDN (Basic Rate, 2xB) > channels : 0x3 > serial : 0xabd5 > power_save : on > dialtone : enabled > attached : yes > PH-state : F4: Awaiting signal > Layer 2: > driver_type : DRVR_DSS1_TE > } > controller 9 = { > Layer 1: > description : HFC-4S PCI ISDN adapter > type : passive ISDN (Basic Rate, 2xB) > channels : 0x3 > serial : 0xabd6 > power_save : on > dialtone : enabled > attached : yes > PH-state : F3: Deactivated > Layer 2: > driver_type : DRVR_DSS1_TE > } > controller 10 = { > Layer 1: >
description : HFC-4S PCI ISDN adapter > type : passive ISDN (Basic Rate, 2xB) > channels : 0x3 > serial : 0xabd7 > power_save : on > dialtone : enabled > attached : yes > PH-state : F4: Awaiting signal > Layer 2: > driver_type : DRVR_DSS1_TE > } > controller 11 = { > Layer 1: > description : HFC-4S PCI ISDN adapter > type : passive ISDN (Basic Rate, 2xB) > channels : 0x3 > serial : 0xabd8 > power_save : on > dialtone : enabled > attached : yes > PH-state : F7: Activated > Layer 2: > driver_type : DRVR_DSS1_TE > } > ;************************************************** > ; example "capi.conf" > ; > ; FreeBSD: /usr/local/etc/asterisk/capi.conf > ; NetBSD:
/usr/pkg/etc/asterisk/capi.conf > ; Linux: /etc/asterisk/capi.conf > ; > > [general] > ; > ; In countries like Norway, the nationalprefix should > ; just be left empty. > ; > nationalprefix=0 > internationalprefix=00 > rxgain=1.0 > txgain=1.0 | |