[Freeswitch-dev] OpenZap crash on startup ....

comments at freecle.com comments at freecle.com
Tue Jun 3 20:55:23 EDT 2008


unfortunately, zaptel-1.4.2 won't compile on centos 5.1.  Does anyone know
what is happening here?

  CC [M] 
/zaptel_download/zaptel-1.4.2/wct4xxp/../oct612x/apilib/largmath/octapi_largmath.o
  CC [M] 
/zaptel_download/zaptel-1.4.2/wct4xxp/../oct612x/apilib/llman/octapi_llman.o
  LD [M]  /zaptel_download/zaptel-1.4.2/wct4xxp/wct4xxp.o
  CC [M]  /zaptel_download/zaptel-1.4.2/wctc4xxp/base.o
  LD [M]  /zaptel_download/zaptel-1.4.2/wctc4xxp/wctc4xxp.o
Compile xpp (version trunk-r3495)
  CC [M]  /zaptel_download/zaptel-1.4.2/xpp/card_fxo.o
  CC [M]  /zaptel_download/zaptel-1.4.2/xpp/card_fxs.o
  CC [M]  /zaptel_download/zaptel-1.4.2/xpp/xbus-core.o
/zaptel_download/zaptel-1.4.2/xpp/xbus-core.c: In function ‘debugfs_open’:
/zaptel_download/zaptel-1.4.2/xpp/xbus-core.c:171: error: ‘struct inode’
has no member named ‘u’
make[4]: *** [/zaptel_download/zaptel-1.4.2/xpp/xbus-core.o] Error 1
make[3]: *** [/zaptel_download/zaptel-1.4.2/xpp] Error 2
make[2]: *** [_module_/zaptel_download/zaptel-1.4.2] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-53.el5-xen-i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/zaptel_download/zaptel-1.4.2'
make: *** [all] Error 2
[root at localhost zaptel-1.4.2]#





> I tested with zaptel-1.4.2 that showed as per what wiki says(Channels
> configured). But I tested randomly picking zaptel-1.4.9 and zaptel-1.4.11
> that showed the behaviour which you mentioned here(Channels to configure).
> I
> am not sure if it's really making calls to go mad coz FS configures the
> channels properly on running.
>
> BR,
> Irshad.
>
> On Tue, Jun 3, 2008 at 11:10 AM, <comments at freecle.com> wrote:
>
>>
>> Further note --
>>
>> This problem was reported on an asterisk board last February.  The
>> reported fix was to run the "setup-pstn" program, which is apparently an
>> asterisk thing.  However, I can't seem to find it, even after installing
>> asterisk and poking around digium.com.  Can someone tell me what this
>> does
>> and where I can get it?  Thanks.
>>
>> edward
>>
>>
>>
>> >
>> >
>> > Apart from freeswitch, my install of the zaptel drivers may be the
>> > problem.
>> > When doing ztcfg -vv, I get the message "4 channels to be configured"
>> or
>> > words to that effect ....   however, the TDM400  wiki shows the
>> message
>> as
>> > "4 channels configured" ... not "to be configured" ...
>> >
>> > can someone explain why ztcgf might be saying "to be" in this case?
>> >
>> >
>> >
>> >> yeah...
>> >>
>> >> On Mon, Jun 2, 2008 at 4:17 PM, David Bowerman
>> >> <david.bowerman at gmail.com>
>> >> wrote:
>> >>
>> >>> from fs-1.0.0?
>> >>>
>> >>>
>> >>> On Mon, Jun 2, 2008 at 8:43 PM, Irshad Ahamed
>> >>> <irshad.fswitch at gmail.com>
>> >>> wrote:
>> >>>
>> >>>> Can you pastebin the Freeswitch logs for the outbound and inbound
>> >>>> calls?
>> >>>>
>> >>>> BR,
>> >>>> Irshad.
>> >>>>
>> >>>>
>> >>>> On Mon, Jun 2, 2008 at 10:42 AM, David Bowerman
>> >>>> <david.bowerman at gmail.com>
>> >>>> wrote:
>> >>>>
>> >>>>> thanks Mike,
>> >>>>> it looks like zaptel-1.4.11 is ok, however on dialing out on
>> tdm400p
>> >>>>> fxo
>> >>>>> channels i see :-
>> >>>>>
>> >>>>> 2008-06-02 15:07:31 [WARNING] zap_analog.c:52
>> >>>>> analog_fxo_outgoing_call()
>> >>>>> VETO Changing state on 1:1 from DOWN to DIALING
>> >>>>>
>> >>>>> the call nevers happens, i assume because i havent adjusted the
>> tones
>> >>>>> in
>> >>>>> openzap/tones.conf for australian pstn, but i dont understand what
>> >>>>> the
>> >>>>> VETO
>> >>>>> warning is...
>> >>>>>
>> >>>>> regards
>> >>>>>
>> >>>>> dave
>> >>>>>
>> >>>>> On Mon, Jun 2, 2008 at 1:08 PM, Michael Jerris <mike at jerris.com>
>> >>>>> wrote:
>> >>>>>
>> >>>>>>
>> >>>>>> On Jun 1, 2008, at 9:29 PM, David Bowerman wrote:
>> >>>>>>
>> >>>>>> OpenZAP is giving me grief too.
>> >>>>>> I'm on the verge of shifting all my asterisk stuff to freeswitch,
>> >>>>>> but
>> >>>>>> i
>> >>>>>> need my TDM400P to work.
>> >>>>>>
>> >>>>>> does anyone know :-
>> >>>>>>
>> >>>>>> * which openzap should be used? the one bundled with fs 1.0, or
>> the
>> >>>>>> one
>> >>>>>> in trunk?
>> >>>>>>
>> >>>>>>
>> >>>>>> It builds automatically when you build mod_openzap.  Just
>> uncomment
>> >>>>>> the
>> >>>>>> module in your modules.conf in your source.
>> >>>>>>
>> >>>>>> * is it dependant on a particular version of zaptel. Im using the
>> >>>>>> latest, but the wiki refers to 1.4.2
>> >>>>>>
>> >>>>>>
>> >>>>>> We have tested it with 1.4.2.  I t should work with other
>> versions
>> >>>>>> as
>> >>>>>> long as they are not changing the interface in a non backwards
>> >>>>>> compatible
>> >>>>>> way, which i doubt has been done.  It will almost definitely need
>> a
>> >>>>>> new
>> >>>>>> interface to handle the new dahdi that will be replacing zaptel.
>> >>>>>>
>> >>>>>> There should be enough info for you to get it setup at:
>> >>>>>> http://wiki.freeswitch.org/wiki/OpenZAP
>> >>>>>>
>> >>>>>>
>> >>>>>> Mike
>> >>>>>>
>> >>>>>>
>> >>>>>> regards
>> >>>>>>
>> >>>>>> Dave.
>> >>>>>>
>> >>>>>> On Mon, Jun 2, 2008 at 11:19 AM, Michael Jerris <mike at jerris.com>
>> >>>>>> wrote:
>> >>>>>>
>> >>>>>>> Those errors would indicate that the openzap configuration is
>> not
>> >>>>>>> in
>> >>>>>>> place.  There are some example configurations on the wiki at
>> >>>>>>> http://wiki.freeswitch.org/wiki/OpenZAP
>> >>>>>>>
>> >>>>>>> Mike
>> >>>>>>>
>> >>>>>>> On Jun 1, 2008, at 4:46 PM, comments at freecle.com wrote:
>> >>>>>>>
>> >>>>>>> >
>> >>>>>>> > sorry ... use of "crash" was melodramatic .... it is failure
>> to
>> >>>>>>> load
>> >>>>>>> >
>> >>>>>>> > It is working fine with x-lite and a sip provider...
>> >>>>>>> >
>> >>>>>>> > edward
>> >>>>>>> >
>> >>>>>>> >
>> >>>>>>> >> Does it actually crash, or does it just fail to load because
>> its
>> >>>>>>> not
>> >>>>>>> >> configured?
>> >>>>>>> >>
>> >>>>>>> >> Mike
>> >>>>>>> >> On Jun 1, 2008, at 3:53 AM, comments at freecle.com wrote:
>> >>>>>>> >>
>> >>>>>>> >>> Phoenix runs fine before openzap and TDM400P x 4 FXO
>> >>>>>>> >>> installation ....
>> >>>>>>> >>> then....
>> >>>>>>> >>>
>> >>>>>>> >>> 2008-05-31 12:39:05 [ERR] zap_io.c:2082
>> process_module_config()
>> >>>>>>> >>> Cannot ope
>> >>>>>>> >>> n wanpipe.conf
>> >>>>>>> >>> 2008-05-31 12:39:05 [ERR] zap_io.c:2082
>> process_module_config()
>> >>>>>>> >>> Cannot ope
>> >>>>>>> >>> n zt.conf
>> >>>>>>> >>> 2008-05-31 12:39:05 [ERR] zap_io.c:2155 zap_global_init() No
>> >>>>>>> modules
>> >>>>>>> >>> confi
>> >>>>>>> >>> gured!
>> >>>>>>> >>> 2008-05-31 12:39:05 [ERR] mod_openzap.c:1861
>> mod_openzap_load()
>> >>>>>>> >>> Error load
>> >>>>>>> >>> ing OpenZAP
>> >>>>>>> >>> 2008-05-31 12:39:05 [CRIT] switch_loadable_module.c:734
>> >>>>>>> >>> switch_loadable_mo
>> >>>>>>> >>> dule_load_file() Error Loading module
>> >>>>>>> >>> /usr/local/freeswitch/mod/mod_openzap.so
>> >>>>>>> >>> **Module load routine returned an error**
>> >>>>>>> >>>
>> >>>>>>> >>> I thought I followed the Wiki configuration for openzap.
>> Any
>> >>>>>>> >>> suggestions?
>> >>>>>>> >>> Thanks.
>> >>>>>>> >>>
>> >>>>>>> >>> Edward
>> >>>>>>> >>> Seattle
>> >>>>>>> >>>
>> >>>>>>> >>>
>> >>>>>>> >>> _______________________________________________
>> >>>>>>> >>> Freeswitch-dev mailing list
>> >>>>>>> >>> Freeswitch-dev at lists.freeswitch.org
>> >>>>>>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> >>>>>>> >>> UNSUBSCRIBE:
>> >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> >>>>>>> >>> http://www.freeswitch.org
>> >>>>>>> >>
>> >>>>>>> >>
>> >>>>>>> >> _______________________________________________
>> >>>>>>> >> Freeswitch-dev mailing list
>> >>>>>>> >> Freeswitch-dev at lists.freeswitch.org
>> >>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> >>>>>>> >> UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-
>> >>>>>>> >> dev
>> >>>>>>> >> http://www.freeswitch.org
>> >>>>>>> >>
>> >>>>>>> >
>> >>>>>>> >
>> >>>>>>> >
>> >>>>>>> > _______________________________________________
>> >>>>>>> > Freeswitch-dev mailing list
>> >>>>>>> > Freeswitch-dev at lists.freeswitch.org
>> >>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> >>>>>>> > UNSUBSCRIBE:
>> >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> >>>>>>> > http://www.freeswitch.org
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> _______________________________________________
>> >>>>>>> Freeswitch-dev mailing list
>> >>>>>>> Freeswitch-dev at lists.freeswitch.org
>> >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> >>>>>>> UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> >>>>>>> http://www.freeswitch.org
>> >>>>>>>
>> >>>>>>
>> >>>>>> _______________________________________________
>> >>>>>> Freeswitch-dev mailing list
>> >>>>>> Freeswitch-dev at lists.freeswitch.org
>> >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> >>>>>> UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> >>>>>> http://www.freeswitch.org
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> _______________________________________________
>> >>>>>> Freeswitch-dev mailing list
>> >>>>>> Freeswitch-dev at lists.freeswitch.org
>> >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> >>>>>> UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> >>>>>> http://www.freeswitch.org
>> >>>>>>
>> >>>>>>
>> >>>>>
>> >>>>> _______________________________________________
>> >>>>> Freeswitch-dev mailing list
>> >>>>> Freeswitch-dev at lists.freeswitch.org
>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> >>>>> UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> >>>>> http://www.freeswitch.org
>> >>>>>
>> >>>>>
>> >>>>
>> >>>> _______________________________________________
>> >>>> Freeswitch-dev mailing list
>> >>>> Freeswitch-dev at lists.freeswitch.org
>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> >>>> UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> >>>> http://www.freeswitch.org
>> >>>>
>> >>>>
>> >>>
>> >>> _______________________________________________
>> >>> Freeswitch-dev mailing list
>> >>> Freeswitch-dev at lists.freeswitch.org
>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> >>> http://www.freeswitch.org
>> >>>
>> >>>
>> >> _______________________________________________
>> >> Freeswitch-dev mailing list
>> >> Freeswitch-dev at lists.freeswitch.org
>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> >> http://www.freeswitch.org
>> >>
>> >
>> >
>> >
>> > _______________________________________________
>> > Freeswitch-dev mailing list
>> > Freeswitch-dev at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> > http://www.freeswitch.org
>> >
>>
>>
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>





More information about the Freeswitch-dev mailing list