No external call possible with lcr
| Newsgroups | gmane.linux.isdn.i4l.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I fail to make an external ISDN call using lcr. I assume the most important debug message is create_new_process: no layer2 assigned create_new_process: no layer2 if found for ces ff00 but I have no idea what this means. The error even occurs after a fresh boot. Find attached lcr's debug.log and dmesg. Btw.: incoming calls are signalled, but cannot get answered. Best regards Bodo _______________________________________________ isdn4linux mailing list [email protected] https://www.isdn4linux.de/mailman/listinfo/isdn4linux
debug.log
(text/x-log, 14.3 KB)
DEBUG (in getrulesetbyname() line 1928): ruleset main found.
mISDN kernel version 1.01.29 (git.misdn.eu) found
mISDN user version 1.01.31 found
mISDN library interface version 2 release 5
port0: DL_INFORMATION_IND: chan(0) tei(0)
port0: changing tei: chan(0) old tei(0) new tei(7f)
DEBUG (in mISDNport_open() line 2110): Port has 2 b-channels.
DEBUG (in mISDNport_open() line 2131): using 'mISDN_dsp.o' module
TRACE : 19.03.14 10:17:44.313 CH: PORT (open) port 0 mode terminal channels 2
TRACE : 19.03.14 10:17:44.331 --: LCR 1.14 started, waiting for calls...
TRACE : 19.03.14 10:17:44.332 CH: PH_ACTIVATE INDICATION U<-N port 0
TRACE : 19.03.14 10:17:45.319 --: REMOTE APP registers app name=asterisk
DEBUG (in Port() line 203): new port (1) of type 0x4001, name 'ast-asterisk-in' interface 'ast'
DEBUG (in Premote() line 37): Created new RemotePort(ast-asterisk-in).
DEBUG (in Endpoint() line 48): EPOINT(1): Allocating enpoint 1 and connecting it with: ioport
DEBUG (in portlist_new() line 150): EPOINT(1) allocating port_list, attaching to port 1
DEBUG (in epointlist_new() line 131): PORT(1) allocating epoint_list.
DEBUG (in new_state() line 267): PORT(ast-asterisk-in) new state PORT_STATE_IDLE --> PORT_STATE_IN_SETUP
DEBUG (in _message_put() line 61): message MESSAGE_SETUP written from 1 to 1 (memory 1ebb570 at file remote.cpp, line 222)
DEBUG (in message_get() line 106): message MESSAGE_SETUP reading from 1 to 1 (memory 1ebb570)
DEBUG (in ea_message_port() line 2476): EPOINT(1) incoming call from callerid=876543, dialing=01235599221
TRACE : 19.03.14 10:17:50.731 EP(1): SETUP from CH(1) interface from=ast caller id number=876543 present=allowed caller id2 number=24 present=allowed dialing 01235599221
DEBUG (in port_setup() line 1404): EPOINT(1) incoming call is external or voip
DEBUG (in port_setup() line 1485): EPOINT(1) call from external port
DEBUG (in _message_put() line 61): message MESSAGE_TONE written from 1 to 1 (memory 1ebee30 at file apppbx.cpp, line 586)
TRACE : 19.03.14 10:17:50.731 EP(1): TONE to CH(1) directory default name dialing
DEBUG (in process_dialing() line 2590): EPOINT(1): terminal '' dialing: '01235599221', checking matching rule of ruleset 'main'
DEBUG (in route() line 1978): parsing ruleset 'main'
DEBUG (in route() line 1980): checking rule in line 9
TRACE : 19.03.14 10:17:50.731 EP(1): ACTION (match) action extern line 9
DEBUG (in process_dialing() line 2614): EPOINT(1): a rule with action 'extern' matches.
DEBUG (in process_dialing() line 2651): EPOINT(1): terminal : current action 'extern' has a init function, so we call it...
DEBUG (in action_init_call() line 32): EPOINT(1): Creating new join instance.
DEBUG (in JoinPBX() line 219): creating new join and connecting it to the endpoint.
DEBUG (in joinpbx_debug() line 119): join(1) start (called from JoinPBX::Constructor(new join))
DEBUG (in joinpbx_debug() line 198): *** ep1 ifs=ast-asterisk-in, endpoint=1 on=no type=CALLING channel=HOLD tx_state=ACTIVE rx_state=ACTIVE
DEBUG (in joinpbx_debug() line 202): end
DEBUG (in process_dialing() line 2662): EPOINT(1): terminal '' action: extern (dialing '01235599221')
DEBUG (in process_dialing() line 2665): EPOINT(1): terminal : current action 'extern' has a dialing function, so we call it...
TRACE : 19.03.14 10:17:50.732 EP(1): ACTION extern (calling) number 01235599221
DEBUG (in _message_put() line 61): message MESSAGE_SETUP written from 140733193388033 to 1 (memory 1ec2bd0 at file action.cpp, line 304)
DEBUG (in _message_put() line 61): message MESSAGE_OVERLAP written from 1 to 1 (memory 1ec6490 at file apppbx.cpp, line 1513)
TRACE : 19.03.14 10:17:50.732 EP(1): SETUP ACKNOWLEDGE to CH(1)
DEBUG (in message_get() line 106): message MESSAGE_TONE reading from 1 to 1 (memory 1ebee30)
DEBUG (in message_epoint() line 617): PORT(ast-asterisk-in) setting tone 'dialing' dir ''
DEBUG (in message_get() line 106): message MESSAGE_SETUP reading from 1 to 1 (memory 1ec2bd0)
DEBUG (in joinpbx_debug() line 119): join(1) start (called from Join::message_epoint{all joins before processing})
DEBUG (in joinpbx_debug() line 198): *** ep1 ifs=ast-asterisk-in, endpoint=1 on=yes type=CALLING channel=HOLD tx_state=ACTIVE rx_state=ACTIVE
DEBUG (in joinpbx_debug() line 202): end
DEBUG (in out_setup() line 1015): no endpoint found, so we will create an endpoint and send the setup message we have.
DEBUG (in Endpoint() line 48): EPOINT(2): Allocating enpoint 2 and connecting it with: join
DEBUG (in out_setup() line 1043): setup message sent to ep 2 with number='01235599221' keypad=''.
DEBUG (in _message_put() line 61): message MESSAGE_SETUP written from 1 to 2 (memory 1ec9d50 at file joinpbx.cpp, line 1044)
DEBUG (in message_get() line 106): message MESSAGE_OVERLAP reading from 1 to 1 (memory 1ec6490)
DEBUG (in message_get() line 106): message MESSAGE_SETUP reading from 1 to 2 (memory 1ec9d50)
DEBUG (in ea_message_join() line 3259): EPOINT(2) epoint received setup from terminal='',id='876543' to id='01235599221' (dialing itype=0)
DEBUG (in out_setup() line 1007): EPOINT(2) dialing external: called='01235599221' keypad=''
DEBUG (in out_setup() line 1034): EPOINT(2) calling to number '01235599221' interface 'any interface'
TRACE : 19.03.14 10:17:50.733 EP(2): CHANNEL SELECTION (found external interface) interface Ext
TRACE : 19.03.14 10:17:50.733 EP(2): CHANNEL SELECTION (found external interface) interface Ext
TRACE : 19.03.14 10:17:50.733 EP(2): CHANNEL SELECTION (using 'any' channel) port 0 position 0
DEBUG (in Port() line 203): new port (2) of type 0x1122, name 'Ext-0-out' interface 'Ext'
DEBUG (in PmISDN() line 194): Created new mISDNPort(Ext-0-out). Currently 1 objects use, port #0
DEBUG (in Pdss1() line 45): Created new mISDNPort(Ext-0-out). Currently 1 objects use, TE port #0
DEBUG (in out_setup() line 1115): EPOINT(2) created port Ext-0-out
DEBUG (in portlist_new() line 150): EPOINT(2) allocating port_list, attaching to port 2
DEBUG (in apply_callerid_restriction() line 330): id='876543' ntype=1 present=1 screen=0 extension='' name='Bodo'
DEBUG (in apply_callerid_restriction() line 330): id='24' ntype=1 present=1 screen=0 extension='' name='Bodo'
DEBUG (in apply_callerid_restriction() line 330): id='' ntype=0 present=0 screen=-1 extension='' name='NULL'
DEBUG (in apply_callerid_display() line 369): EPOINT(2) id='876543' itype=0 ntype=1 present=1 screen=0 extension='' name='Bodo'
DEBUG (in _message_put() line 61): message MESSAGE_SETUP written from 2 to 2 (memory 1ec4b40 at file apppbx.cpp, line 1146)
TRACE : 19.03.14 10:17:50.733 EP(2): SETUP to CH(2) interface from=ast caller id number=876543 present=allowed caller id2 number=24 present=allowed dialing 01235599221
DEBUG (in message_get() line 106): message MESSAGE_SETUP reading from 2 to 2 (memory 1ec4b40)
DEBUG (in epointlist_new() line 131): PORT(2) allocating epoint_list.
create_new_process: no layer2 assigned
create_new_process: no layer2 if found for ces ff00
TRACE : 19.03.14 10:17:50.734 CH(2): MT_NEW_L3ID REQUEST port 0 callref 'no free id'
DEBUG (in _message_put() line 61): message MESSAGE_RELEASE written from 2 to 2 (memory 1ec8400 at file dss1.cpp, line 2067)
DEBUG (in new_state() line 267): PORT(Ext-0-out) new state PORT_STATE_IDLE --> PORT_STATE_RELEASE
DEBUG (in message_get() line 106): message MESSAGE_RELEASE reading from 2 to 2 (memory 1ec8400)
DEBUG (in ea_message_port() line 2572): EPOINT(2) release with cause=47 location=1 (terminal '', caller id '876543')
TRACE : 19.03.14 10:17:50.734 EP(2): RELEASE from CH(2) cause value=47 location=1-Local-PBX
DEBUG (in port_disconnect_release() line 2068): EPOINT(2) current multipoint cause 0 location 0, received cause 47 location 1.
DEBUG (in port_disconnect_release() line 2070): EPOINT(2) new multipoint cause 47 location 1.
DEBUG (in process_hangup() line 2710): EPOINT(2): terminal ''
DEBUG (in port_disconnect_release() line 2154): EPOINT(2) the port has no patterns.
DEBUG (in free_portlist() line 189): EPOINT(2) removed port 2 from port_list of endpoint
DEBUG (in release() line 222): EPOINT(2): do pending release (joincause 47 location 1)
DEBUG (in _message_put() line 61): message MESSAGE_RELEASE written from 2 to 1 (memory 1ec4b40 at file apppbx.cpp, line 227)
DEBUG (in release() line 240): EPOINT(2) do pending release (portcause 16 portlocation)
DEBUG (in release() line 319): EPOINT(2) do pending release of epoint itself.
DEBUG (in message_get() line 106): message MESSAGE_RELEASE reading from 2 to 1 (memory 1ec4b40)
DEBUG (in joinpbx_debug() line 119): join(1) start (called from Join::message_epoint{all joins before processing})
DEBUG (in joinpbx_debug() line 198): *** ep1 ifs=ast-asterisk-in, endpoint=1 on=yes type=CALLING channel=HOLD tx_state=ACTIVE rx_state=ACTIVE
DEBUG (in joinpbx_debug() line 198): *** ep2 ifs= endpoint=2 on=no type=SETUP channel=HOLD tx_state=ACTIVE rx_state=ACTIVE
DEBUG (in joinpbx_debug() line 202): end
DEBUG (in release() line 556): join has one relation left, so we send it a release with the given cause 47.
DEBUG (in _message_put() line 61): message MESSAGE_RELEASE written from 1 to 1 (memory 1ec8400 at file joinpbx.cpp, line 560)
DEBUG (in release() line 564): join completely removed!
DEBUG (in release() line 573): join_release(): ended.
DEBUG (in message_get() line 106): message MESSAGE_RELEASE reading from 1 to 1 (memory 1ec8400)
DEBUG (in ea_message_join() line 3253): EPOINT(1) epoint with terminal '' (caller id '876543') received release with cause 47 location 1
DEBUG (in join_disconnect_release() line 2936): EPOINT(1) we have own cause or we have no patterns. (own_cause=0 pattern=0)
DEBUG (in _message_put() line 61): message MESSAGE_TONE written from 140733193388033 to 1 (memory 1ec4b40 at file apppbx.cpp, line 586)
TRACE : 19.03.14 10:17:50.736 EP(1): TONE to CH(1) directory default name cause_2f
DEBUG (in _message_put() line 61): message MESSAGE_DISCONNECT written from 1 to 1 (memory 1ed0ee0 at file apppbx.cpp, line 4767)
TRACE : 19.03.14 10:17:50.737 EP(1): DISCONNECT to CH(1) cause value=47 location=1-Local-PBX
DEBUG (in message_get() line 106): message MESSAGE_TONE reading from 1 to 1 (memory 1ec4b40)
DEBUG (in message_epoint() line 617): PORT(ast-asterisk-in) setting tone 'cause_2f' dir ''
DEBUG (in message_get() line 106): message MESSAGE_DISCONNECT reading from 1 to 1 (memory 1ed0ee0)
DEBUG (in new_state() line 267): PORT(ast-asterisk-in) new state PORT_STATE_IN_SETUP --> PORT_STATE_OUT_DISCONNECT
DEBUG (in ~Endpoint() line 138): removed endpoint 2.
DEBUG (in _message_put() line 61): message MESSAGE_ENABLEKEYPAD written from 1 to 1 (memory 1ec8410 at file remote.cpp, line 222)
DEBUG (in message_get() line 106): message MESSAGE_ENABLEKEYPAD reading from 1 to 1 (memory 1ec8410)
DEBUG (in ea_message_port() line 2620): EPOINT(1) epoint with terminal '' (caller id '876543') requests DTMF/KEYPAD.
ERROR (in logmessage() line 4739): EPOINT(1) message not of correct type (3)
DEBUG (in _message_put() line 55): message MESSAGE_ENABLEKEYPAD not written, because destination is 0.
DEBUG (in _message_put() line 61): message MESSAGE_AUDIOPATH written from 1 to 1 (memory 1eaeb00 at file remote.cpp, line 222)
DEBUG (in message_get() line 106): message MESSAGE_AUDIOPATH reading from 1 to 1 (memory 1eaeb00)
DEBUG (in ea_message_port() line 2631): EPOINT(1) epoint with terminal '' (caller id '876543') received a wrong message: 19
DEBUG (in new_state() line 267): PORT(ast-asterisk-in) new state PORT_STATE_OUT_DISCONNECT --> PORT_STATE_RELEASE
DEBUG (in _message_put() line 61): message MESSAGE_RELEASE written from 1 to 1 (memory 1ebb570 at file remote.cpp, line 222)
DEBUG (in new_state() line 267): PORT(ast-asterisk-in) new state PORT_STATE_RELEASE --> PORT_STATE_RELEASE
DEBUG (in ~Premote() line 46): Destroyed Remote process(ast-asterisk-in).
DEBUG (in ~Port() line 215): removing port (1) of type 0x4001, name 'ast-asterisk-in' interface 'ast'
DEBUG (in _message_put() line 61): message MESSAGE_RELEASE written from 1 to 1 (memory 1eaeb00 at file port.cpp, line 233)
DEBUG (in free_epointlist() line 87): PORT(1) removed epoint from port
DEBUG (in message_get() line 106): message MESSAGE_RELEASE reading from 1 to 1 (memory 1ebb570)
DEBUG (in ea_message_port() line 2572): EPOINT(1) release with cause=47 location=1 (terminal '', caller id '876543')
TRACE : 19.03.14 10:17:50.750 EP(1): RELEASE from CH(1) cause value=47 location=1-Local-PBX
DEBUG (in port_disconnect_release() line 2068): EPOINT(1) current multipoint cause 0 location 0, received cause 47 location 1.
DEBUG (in port_disconnect_release() line 2070): EPOINT(1) new multipoint cause 47 location 1.
DEBUG (in process_hangup() line 2710): EPOINT(1): terminal ''
DEBUG (in process_hangup() line 2790): EPOINT(1): terminal : current action 'extern' has a hangup function, so we call it...
TRACE : 19.03.14 10:17:50.750 EP(1): ACTION hangup
DEBUG (in free_portlist() line 189): EPOINT(1) removed port 1 from port_list of endpoint
DEBUG (in release() line 222): EPOINT(1): do pending release (joincause 47 location 1)
DEBUG (in release() line 240): EPOINT(1) do pending release (portcause 16 portlocation)
DEBUG (in release() line 319): EPOINT(1) do pending release of epoint itself.
DEBUG (in message_get() line 106): message MESSAGE_RELEASE reading from 1 to 1 (memory 1eaeb00)
DEBUG (in ea_message_port() line 2446): EPOINT(1) warning: port is not related to this endpoint. This may happen, if port has been released after the message was created.
DEBUG (in ~Endpoint() line 138): removed endpoint 1.
DEBUG (in sighandler() line 151): Signal received: 2
DEBUG (in sighandler() line 151): Signal received: 2
TRACE : 19.03.14 10:17:55.298 --: LCR terminated signal 2
--------------------- 2014.03.19 10:17:55 000001
DEBUG (in ~PmISDN() line 214): destroy mISDNPort(Ext-0-out). endpoint still exists, releaseing.
DEBUG (in _message_put() line 61): message MESSAGE_RELEASE written from 2 to 2 (memory 1ead720 at file mISDN.cpp, line 218)
DEBUG (in free_epointlist() line 87): PORT(2) removed epoint from port
DEBUG (in ~PmISDN() line 225): destroyed mISDNPort(Ext-0-out). Currently 0 objects
DEBUG (in ~Port() line 215): removing port (2) of type 0x1122, name 'Ext-0-out' interface 'Ext'
--------------------- 2014.03.19 10:17:55 000002
DEBUG (in join_free() line 99): no more pending join(s), done!
TRACE : 19.03.14 10:17:55.299 CH: PORT (close) port 0
--------------------- 2014.03.19 10:17:55 000003
DEBUG (in message_get() line 106): message MESSAGE_RELEASE reading from 2 to 2 (memory 1ead720)
DEBUG (in main() line 567): freed 1 pending messages
TRACE : 19.03.14 10:17:55.300 --: REMOTE APP release app name=asterisk
dmesg
(text/plain, 1.1 KB)
[1040836.375811] Modular ISDN core version 1.1.29 (git.misdn.eu) [1040836.378125] NET: Registered protocol family 34 [1040836.380529] DSP module 2.0 [1040836.380544] mISDN_dsp: DSP clocks every 64 samples. This equals 2 jiffies. [1040841.002571] mISDN_hfcpci: found adapter CCD/Billion/Asuscom 2BD0 at 0000:03:07.0 [1040841.002584] mISDN: HFC-PCI driver 2.0 [1040841.002670] HFC-PCI: defined at mem 0xffffc90010e8cc00 fifo 0xffff8800911f0000(0x911f0000) IRQ 21 HZ 250 [1040841.002981] HFC 1 cards installed [1040881.534231] base_sock_release(ffff880222cdca00) sk=ffff88001bc33c00 [1040881.534272] init_card: entered [1040881.534301] reset_hfcpci: entered [1040881.534307] HFC_PCI: resetting HFC ChipId(30) [1040881.534318] HFC-PCI status(16) before reset [1040881.536022] HFC-PCI status(2) after reset [1040881.536022] HFC-PCI status(4) after 5us [1040881.536022] inithfcpci: entered [1040881.624040] HFC PCI: IRQ 21 count 35 [1040881.624059] create_l2entity: ret 1 0 [1040881.624076] create_l2entity: ret 2 0 [1040892.611897] base_sock_release(ffff880222cde580) sk=ffff88001bc32c00