VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
anomatos at gmail.com Guest
|
Posted: Sat Jan 12, 2008 7:49 am Post subject: [asterisk-users] ISDN channels not properly released after c |
|
|
Hello everyone,
I'm using very simple setup to make and receive external ISDN calls through a
softphone (x-lite version 3.0 - Win32) via an asterisk box.
Hardware setup:
- Dialogic Diva BRI (lspci yields: Network controller: Eicon
Technology Corporation DIVA Server BRI-2M/-2F (rev 01))
- ISDN BRI line
Software setup:
- Redhat 9
- asterisk-1.4.16.2
- chan_capi-1.0.2
Asterisk configuration files are as follows:
/etc/asterisk/capi.conf
[general]
nationalprefix=0
internationalprefix=0030
rxgain=1.0 ;linear receive gain (1.0 = no change)
txgain=1.0 ;linear transmit gain (1.0 = no change)
language=de ;set default language
[ISDN1]
isdnmode=msn ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
incomingmsn=* ;allow incoming calls to this list of MSNs/DIDs, * = any
controller=1 ;capi controller number of this interface/port
group=1 ;dialout group
softdtmf=on ;enable/disable software dtmf detection,
recommended for AVM cards
relaxdtmf=on ;in addition to softdtmf, you can use relaxed
dtmf detection
faxdetect=off ;enable faxdetection and redirection to EXTEN
'fax' for incoming and/or
accountcode= ;PBX accountcode to use in CDRs
context=capi-in ;context for incoming calls
echocancelold=yes;use facility selector 6 instead of correct 8
(necessary for older eicon drivers)
devices=2 ;number of concurrent calls (b-channels) on this controller
/etc/asterisk/extensions.conf
[general]
autofallthrough=yes
[capi-in]
;calls from isdn interface card
exten => 2104999999,1,Answer()
exten => 2104999999,n,Dial(SIP/1000)
exten => 2104999999,n,Hangup()
[internal]
;calls from internal sip phones
exten => _210XXXXXXX,1,Dial(CAPI/ISDN1/${EXTEN})
exten => _210XXXXXXX,n,Congestion()
exten => _210XXXXXXX,n,Hangup()
/etc/asterisk/sip.conf
[1000]
type=friend
context=internal
host=dynamic
For inbound calls, eveything works smoothly; I can receive calls on the
softphone successfully.
For outbound calls(PSTN), the number is called successfully and the phone rings
on the other end:
-- Registered SIP '1000' at 192.168.0.6 port 35884 expires 3600
-- Executing [2104988888 at internal:1] Dial("SIP/1000-081daa48",
"CAPI/ISDN1/2104988888") in new stack
-- Called ISDN1/2104988888
-- CAPI/ISDN1#02/2104988888-0 is proceeding passing it to SIP/1000-081daa48
-- CAPI/ISDN1#02/2104988888-0 is making progress passing it to
SIP/1000-081daa48
-- CAPI/ISDN1#02/2104988888-0 is ringing |
|
Back to top |
|
|
armin at melware.de Guest
|
Posted: Mon Jan 14, 2008 10:05 am Post subject: [asterisk-users] ISDN channels not properly released after c |
|
|
On Sat, 12 Jan 2008, Antonios Tsakiridis wrote:
Quote: | Hello everyone,
I'm using very simple setup to make and receive external ISDN calls through a
softphone (x-lite version 3.0 - Win32) via an asterisk box.
Hardware setup:
- Dialogic Diva BRI (lspci yields: Network controller: Eicon
Technology Corporation DIVA Server BRI-2M/-2F (rev 01))
- ISDN BRI line
Software setup:
- Redhat 9
- asterisk-1.4.16.2
- chan_capi-1.0.2
| ...
Quote: | atlas*CLI> capi show channels
CAPI B-channel information:
Line-Name NTmode state i/o bproto isdnstate ton number
----------------------------------------------------------------
ISDN1#02 no discP O trans *P 0x00 '1000'->'2104988888'
ISDN1#01 no discP O trans * 0x00 '1000'->'2104988888'
Quote: | From there on I cannot make any other calls because there are no
| available channels:
|
What version of the divas driver do you use? And what is the configuration
of the BRI card (protocol)?
It looks like card/isdn is not responding to the hangup command, so can you
please provide a log with
set verbose 5
capi debug
to see what is going on?
Armin |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|