VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
dragisha at m3w.org Guest
|
Posted: Mon Apr 28, 2008 1:09 pm Post subject: [asterisk-users] misdn, no free channels, similar to FAQ one |
|
|
Hi,
Since a week ago I am trying to get chan_misdn working with asterisk
1.4.19, using HFC based ISDN card on Linux 2.6.22.
My setup is done as detailed on wiki and FAQ.
* mISDN and miSDNusers are 1.1.7.2, unpacked, build and installed.
After installation and misdn-init, I have this:
aragorn:root/pts/1: # misdnportinfo
Port 1: TE-mode BRI S/T interface line (for phone lines)
-> Protocol: DSS1 (Euro ISDN)
-> childcnt: 2
--------
mISDN_close: fid(3) isize(131072) inbuf(0x9846060) irp(0x9846060)
iend(0x9846060)
/etc/asterisk/misdn.conf has this group definition:
[extern]
ports=1
context=misdn
msns=*
/etc/asterisk/extensions.conf has these contexts:
[default]
exten => 200,1,Dial(IAX2/duritji,,r)
exten => 201,1,Dial(IAX2/dragisha,,r)
exten => 202,1,misdn_check_l2l1(g:extern|2)
exten => 202,n,Dial(mISDN/g:extern/230210)
[misdn]
exten => _X,1,Dial(IAX2/duritji)
exten => _X,2,Hangup
IAX2 phones are locally configured/connected. Debug for misdn is set to
0x3
When I dial from outside, mu console (lots of -vvvvv's gives:
Asterisk Ready.
*CLI> P[ 0] MGMT: SSTATUS: L1_ACTIVATED
P[ 1] MGMT: SSTATUS: L2_ESTABLISH
*CLI> P[ 1] set_channel: bc->channel:0 channel:1
P[ 1] I IND :NEW_CHANNEL oad:056230210 dad: pid:2 state:none
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan: rnumplan: cpnnumplan:0
P[ 1] --> caps:Audio 3.1k pi:0 keypad: sending_complete:1
P[ 1] Chan not existing at the moment bc->l3id:20003 bc:0x8568aa4
event:NEW_CHANNEL port:1 channel:1
P[ 1] NO USERUESRINFO
P[ 1] !! NO FREE CHAN IN STACK
P[ 1] I IND :SETUP oad:056230210 dad: pid:2 state:none
P[ 1] --> channel:1 mode:TE cause:16 ocause:34 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan: rnumplan: cpnnumplan:0
P[ 1] --> caps:Audio 3.1k pi:3 keypad: sending_complete:1
P[ 1] --> Call Waiting on PMP sending RELEASE_COMPLETE
P[ 1] I SEND:RELEASE_COMPLETE oad:056230210 dad: pid:2
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan: rnumplan: cpnnumplan:0
P[ 1] --> caps:Audio 3.1k pi:3 keypad: sending_complete:1
P[ 1] $$$ CLEANUP CALLED pid:2
P[ 1] GOT IGNORE SETUP
P[ 1] CC_RELEASE_COMPLETE|CONFIRM [TE]
P[ 1] I IND :RELEASE_COMPLETE oad: dad: pid:2 state:none
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] --> no Ch, so we've already released.
P[ 0] Cannot hangup chan, no ch
P[ 1] release_chan: Ch not found!
P[ 1] $$$ CLEANUP CALLED pid:2
P[ 1] $$$ CLEANUP CALLED pid:2
And, after some time:
*CLI> P[ 1] MGMT: SSTATUS: L2_RELEASED
P[ 0] MGMT: SSTATUS: L1_DEACTIVATED
If I dial 202 extension, I get:
*CLI> -- Accepting AUTHENTICATED call from 89.111.228.14:
Quote: | requested format = alaw,
requested prefs = (),
actual format = gsm,
host prefs = (gsm),
priority = mine
| -- Executing [202 at default:1] misdn_check_l2l1("IAX2/dragisha-1",
"g:extern|2") in new stack
P[ 0] Checking Ports in group: extern
P[ 0] trying port 1
P[ 1] Port down PMP
P[ 0] --> port '1'
P[ 0] Waiting for '2' seconds
P[ 0] MGMT: SSTATUS: L1_ACTIVATED
P[ 1] MGMT: SSTATUS: L2_ESTABLISH
-- Executing [202 at default:2] Dial("IAX2/dragisha-1",
"mISDN/g:extern/230210") in new stack
P[ 0] --> Group Call group: extern
P[ 1] Group [extern] Port [1]
P[ 1] There is no free channel on port (1)
[Apr 28 19:19:14] WARNING[18816]: chan_misdn.c:3235 misdn_request: Could
not Dial out on group 'extern'.
Either the L2 and L1 on all of these ports where DOWN (see 'show
application misdn_check_l2l1')
Or there was no free channel on none of the ports
[Apr 28 19:19:14] WARNING[18816]: app_dial.c:1183 dial_exec_full: Unable
to create channel of type 'mISDN' (cause 0 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
== Auto fallthrough, channel 'IAX2/dragisha-1' status is 'CHANUNAVAIL'
-- Hungup 'IAX2/dragisha-1'
*CLI> misdn show stacks
BEGIN STACK_LIST:
* Port 1 Type TE Prot. PMP L2Link UP L1Link:UP Blocked:0 Debug:3
*CLI>
Needless to say, my ISDN line is connected, and works.
What can be my problem here? Any1?
TIA,
dd
--
Dragi?a Duri? <dragisha at m3w.org> |
|
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
|