[Asterisk-Users] *, BeroNet BN4S0 and misdn - problems

Andreas Czerniak cognac at amcs.net
Fri Feb 4 09:29:38 MST 2005


Hi,

i use an BN4S0 with misdn an asterisk on Linux 2.6.9. The hfcmulti module 
is loaded with option:

 type=0x04 protocol=0x2,0x2,0x22,0x2 layermask=0xf,0xf,0xf,0xf

and the fourth port is connected to an ISDN PTMP (MSN) port.

Call to #72 from S0 (BN port 4) are not accepted from asterisk but why ?
Can anyone give me a hint ??



misdn debug messages follows:

lib: NEW_CR Ind with l3id:80001
new_process: New L3Id: 80001
I IND :SETUP    pid:0   mode:TE addr:0  port:4
 --> dad: 72 oad 177xxxxxxx channel 1 port 4
Locking Config Mutex
UnLocking Config Mutex
Locking Config Mutex
UnLocking Config Mutex
 --> Bearer: Audio
* NEW CHANNEL dad:72 oad:177xxxxxxx ctx:bat-outside-isdn
* Queuing chan 0x81a406
* List is empty so new chan is Listroot
I SEND:SETUP_ACKNOWLEDGE        port:4  pid:0   mode:TE addr:0
 --> dad: 72 oad 177xxxxxxx channel 1 port 4
$$$ Setting up bc with stid :10000104
--> Got Adr 51400104
--> Channel is 1
* Starting Ast ctx:bat-outside-isdn dad:72 oad:177xxxxxxx
GOT SETUP OK: port 4
    -- Executing Wait("mISDN/4/177xxxxxxx", "1") in new stack
I IND :RELEASE  pid:0   mode:TE addr:51400104   port:4
 --> dad: 72 oad 177xxxxxxx channel 1 port 4
--> cause 101
* RELEASING CHANNEL pid:0 ctx:bat-outside-isdn dad:72 oad:177xxxxxxx state: 
DIALING
* --> State Down
* --> In State Calling|Dialing
* --> Queue Hangup
* Dequeuing chan 0x81a4060 from List 0x40da687c
* Its the first Chan
lib: RELEASE_CR Ind with l3id:80001
lib: CLEANING UP l3id: 80001
empty chan 1
Idx: 0 stack->cchan: 0 Chan 1
Idx: 1 stack->cchan: 0 Chan 2
Feb  4 17:00:55 DEBUG[30462]: chan_sip.c:831 __sip_ack: Stopping 
retransmission on '6a003895563e6c4544fe6860242fbe72 at 194.173.125.94' of 
Request 102: Found
$$$ Cleaning up bc with stid :10000104
Duming again:
Idx: 0 stack->cchan: 0 Chan 1
Idx: 1 stack->cchan: 0 Chan 2
Dumped
I IND :CLEAN_UP pid:0   mode:TE addr:51400104   port:4
 --> dad:  oad  channel 0 port 4
$$$ find_chan: No channel found for oad: dad:
$$$ MGMT FRAME: prim f2481 addr 50400104 dinfo 0
  == Spawn extension (bat-outside-isdn, 72, 1) exited non-zero on 
'mISDN/4/177xxxxxxx'
    -- Executing Hangup("mISDN/4/177xxxxxxx", "") in new stack
  == Spawn extension (bat-outside-isdn, h, 1) exited non-zero on 
'mISDN/4/177xxxxxxx'


part of misdn.conf:

[batports]
ports=4
language=de
context=bat-outside-isdn
msns=72


part of extensions.conf:

[bat-outside-isdn]
  exten => 72,1,Wait(1)
  exten => 72,2,Dial(SIP/72,30,t)


Regards,	
		Andreas.





More information about the asterisk-users mailing list