[Asterisk-Users] Sep 28 00:42:35 ERROR[5151] chan_zap.c: Unknown signalling method 'pri_net'

Steve Totaro asterisk at totarotechnologies.com
Wed Sep 28 13:47:55 MST 2005


It was the whitespace i think.  I did the asterisk-update script and eliminated any whitespace in or after a line and it works now.
  ----- Original Message ----- 
  From: Steve Totaro 
  To: Asterisk Users Mailing List - Non-Commercial Discussion 
  Sent: Wednesday, September 28, 2005 1:39 PM
  Subject: Re: [Asterisk-Users] Sep 28 00:42:35 ERROR[5151] chan_zap.c: Unknown signalling method 'pri_net'


  This is an *@home installation.  I tried both pri_net and pri_cpe.  

  Checking for whitespace.
    ----- Original Message ----- 
    From: Colin Anderson 
    To: 'Asterisk Users Mailing List - Non-Commercial Discussion' 
    Sent: Wednesday, September 28, 2005 8:57 AM
    Subject: RE: [Asterisk-Users] Sep 28 00:42:35 ERROR[5151] chan_zap.c: Unknown signalling method 'pri_net'


    Did you compile and install libpri *before* Asterisk? I had same problem (among others) b/c I didn't install in the correct order. Try the awesome asterisk_update.sh shell script.

    Are you trying to emulate CPE or NET? Try signalling=pri_cpe

    Check for whitespace behind the statement, zapata.conf seems bitchy about whitespace.

    hth

     -----Original Message-----
    From: Steve Totaro [mailto:asterisk at totarotechnologies.com]
    Sent: Wednesday, September 28, 2005 12:39 PM
    To: Asterisk Users Mailing List - Non-Commercial Discussion
    Subject: [Asterisk-Users] Sep 28 00:42:35 ERROR[5151] chan_zap.c: Unknown signalling method 'pri_net'


      Any ideas?

      51] logger.c:  [chan_zap.so] => (Zapata Telephony)
      Sep 28 00:42:35 VERBOSE[5151] logger.c:   == Parsing '/etc/asterisk/zapata.conf': Sep 28 00:42:35 VERBOSE[5151] logger.c:   == Parsing '/etc/asterisk/zapata.conf': Found
      Sep 28 00:42:35 VERBOSE[5151] logger.c:   == Parsing '/etc/asterisk/zapata-auto.conf': Sep 28 00:42:35 VERBOSE[5151] logger.c:   == Parsing '/etc/asterisk/zapata-auto.conf': Not found (No such file or directory)
      Sep 28 00:42:35 VERBOSE[5151] logger.c:   == Parsing '/etc/asterisk/zapata_additional.conf': Sep 28 00:42:35 VERBOSE[5151] logger.c:   == Parsing '/etc/asterisk/zapata_additional.conf': Found
      Sep 28 00:42:35 ERROR[5151] chan_zap.c: Unknown signalling method 'pri_net'
      Sep 28 00:42:35 ERROR[5151] chan_zap.c: Signalling must be specified before any channels are.
      Sep 28 00:42:35 WARNING[5151] loader.c: chan_zap.so: load_module failed, returning -1
      Sep 28 00:42:35 WARNING[5151] loader.c: Loading module chan_zap.so failed!

      zaptel.conf
      span=1,0,0,esf,b8zs 
      bchan=1-23 
      dchan=24

      span=2,0,0,esf,b8zs 
      bchan=25-47
      dchan=48

      span=3,0,0,esf,b8zs 
      bchan=49-71 
      dchan=72

      span=4,0,0,esf,b8zs 
      bchan=73-95 
      dchan=96

      loadzone = us
      defaultzone=us

      zapata.conf
      ;
      ; Zapata telephony interface
      ;
      ; Configuration file

      [trunkgroups]

      [channels]

      language=en
      context=from-pstn
      rxwink=300  ; Atlas seems to use long (250ms) winks
      ;
      ; Whether or not to do distinctive ring detection on FXO lines
      ;
      ;usedistinctiveringdetection=yes

      usecallerid=yes
      hidecallerid=no
      callwaiting=yes
      usecallingpres=yes
      callwaitingcallerid=yes
      threewaycalling=yes
      transfer=yes
      cancallforward=yes
      callreturn=yes
      echocancel=no
      echocancelwhenbridged=no
      echotraining=no
      rxgain=0.0
      txgain=0.0
      group=0
      callgroup=1
      pickupgroup=1
      immediate=no


      ;faxdetect=both
      faxdetect=incoming
      ;faxdetect=outgoing
      ;faxdetect=no
      context = from-pstn
      switchtype = national
      signalling = pri_net
      group = 0
      channel => 1-23

      switchtype = national
      signalling = pri_net
      group = 1
      channel => 25-47

      switchtype = national
      signalling = pri_net
      group = 2
      channel => 49-71

      switchtype = national
      signalling = pri_net
      group = 3
      channel => 73-95



----------------------------------------------------------------------------


    _______________________________________________
    --Bandwidth and Colocation sponsored by Easynews.com --

    Asterisk-Users mailing list
    Asterisk-Users at lists.digium.com
    http://lists.digium.com/mailman/listinfo/asterisk-users
    To UNSUBSCRIBE or update options visit:
       http://lists.digium.com/mailman/listinfo/asterisk-users 


----------------------------------------------------------------------------


    No virus found in this incoming message.
    Checked by AVG Anti-Virus.
    Version: 7.0.344 / Virus Database: 267.11.8/113 - Release Date: 9/27/05
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050928/83cddfb8/attachment.htm


More information about the asterisk-users mailing list