-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I compiled wanpipe now with compilation mode 6 (freeswitch Default). wanpipe1.conf is now: # WANPIPE1 Configuration File #================================================ # # Date: Wed Dec 6 20:29:03 UTC 2006 # # Note: This file was generated automatically # by /usr/local/sbin/setup-sangoma program. # # If you want to edit this file, it is # recommended that you use wancfg program # to do so. #================================================ # Sangoma Technologies Inc. #================================================ [devices] wanpipe1 = WAN_AFT_TE1, Comment [interfaces] w1g1 = wanpipe1, , TDM_VOICE_API, Comment [wanpipe1] CARD_TYPE = AFT S514CPU = A CommPort = PRI AUTO_PCISLOT = NO PCISLOT = 8 PCIBUS = 2 FE_MEDIA = E1 FE_LCODE = HDB3 FE_FRAME = CRC4 FE_LINE = 1 TE_CLOCK = NORMAL TE_REF_CLOCK = 0 TE_SIG_MODE = CCS TE_HIGHIMPEDANCE = NO LBO = 120OH FE_TXTRISTATE = NO MTU = 1500 UDPPORT = 9000 TTL = 255 IGNORE_FRONT_END = NO TDMV_SPAN = 1 TDMV_DCHAN = 16 TDMV_HW_DTMF = NO [w1g1] ACTIVE_CH = ALL TDMV_ECHO_OFF = NO TDMV_HWEC = NO MTU = 80 openzap.conf.xml is now: <configuration name="openzap.conf" description="OpenZAP Configuration"> ~ <settings> ~ <param name="debug" value="7"/> ~ </settings> ~ <pri_spans> ~ <span id="1"> ~ <param name="mode" value="user"/> ~ <param name="dialect" value="euro"/> ~ <param name="dialplan" value="XML"/> ~ <param name="context" value="default"/> ~ </span> ~ </pri_spans> ~ </configuration> openzap.conf is now: [span wanpipe] trunk_type => e1 b-channel => 1:1-15,1:17-31 d-channel=> 1:16 /dev/zap/ctl and wptdm_* devices were created. I recompiled FS with "make current". FS starts up with no errors. Openzap device were successfully configured. Dialplan is still: <extension name="outgoing-pstn"> ~ <condition field="destination_number" expression="^0([0-9]+)$"> ~ <action application="set" data="dialed_ext=$1"/> ~ <action application="bridge" data="openzap/${dialed_ext}"/> ~ </condition> ~ </extension> Call to 0XXXX leads still to segfault. Program terminated with signal 11, Segmentation fault. #0 0xa3d5c465 in zap_channel_open_any (span_id=123, direction=ZAP_TOP_DOWN, caller_data=0x9f8e2ed8, zchan=0x9f8e2ed4) at src/zap_io.c:721 721 if (globals.spans[span_id].active_count >= globals.spans[span_id].chan_count) { (gdb) bt #0 0xa3d5c465 in zap_channel_open_any (span_id=123, direction=ZAP_TOP_DOWN, caller_data=0x9f8e2ed8, zchan=0x9f8e2ed4) at src/zap_io.c:721 #1 0xa3d576e2 in channel_outgoing_channel (session=0x81c61b8, var_event=0x80e7798, outbound_profile=0x81d2008, new_session=0x9f8e6e24, ~ pool=0x9f8e6e18, flags=SOF_NONE) at mod_openzap.c:906 #2 0xb7e9c083 in switch_core_session_outgoing_channel (session=0x81c61b8, var_event=0x80e7798, endpoint_name=0x81d5ab8 "openzap", ~ caller_profile=0x81d1ee8, new_session=0x9f8e6e24, pool=0x9f8e6e18, flags=SOF_NONE) at src/switch_core_session.c:252 #3 0xb7ebc153 in switch_ivr_originate (session=0x81c61b8, bleg=0x9f8e70f0, cause=0x9f8e70ec, bridgeto=0x81d4c48 "openzap/0123", ~ timelimit_sec=60, table=0x0, cid_name_override=0x0, cid_num_override=0x0, caller_profile_override=0x0, flags=<value optimized out>) ~ at src/switch_ivr_originate.c:824 #4 0xa2cbc0e5 in audio_bridge_function (session=0x81c61b8, data=0x81d4c48 "openzap/0123") at mod_dptools.c:1753 #5 0xb7e99a35 in switch_core_session_exec (session=0x81c61b8, application_interface=0x81244c8, arg=0x81d4c48 "openzap/0123") ~ at src/switch_core_session.c:1045 #6 0xb7e99e8c in switch_core_session_execute_application (session=0x81c61b8, app=0x81d1e20 "bridge", arg=0x81d1e28 "openzap/${dialed_ext}") ~ at src/switch_core_session.c:1003 #7 0xb7e9e0f4 in switch_core_session_run (session=0x81c61b8) at src/switch_core_state_machine.c:144 #8 0xb7e9ae75 in switch_core_session_thread (thread=0x81c58a0, obj=0x81c61b8) at src/switch_core_session.c:734 #9 0xb7ef0b36 in dummy_worker (opaque=0x81c58a0) at threadproc/unix/thread.c:138 #10 0xb7e0b31b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #11 0xb7d5157e in clone () from /lib/tls/i686/cmov/libc.so.6 Any ideas? regards helmut Anthony Minessale schrieb: | I thought I already explained this. | | | You have to choose between setting up wanpipe for ZAPTEL or wanpipe in | standalone mode. | | when you set it up for ZAPTEL then you forget all about wanpipe in OPENZAP | and just treat it like a zaptel span. | | when you set it up in standalone mode, you need to configure wanpipe1.conf | for TDM_VOICE_API and all the proper settings for an E1. | | | You keep doing mixtures of the above when it's one of the other you must | choose. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkg0OrIACgkQ4tZeNddg3dx7jACfcLVuFZ4ruKy6HbOnfD8TFa/n mAoAnjzwYWFJP5UzTWxIt5Y1809B9L59 =AlHg -----END PGP SIGNATURE-----