Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Yate telephony engine on pfsense 2.1 ($ plz quote)

    Scheduled Pinned Locked Moved Bounties
    31 Posts 3 Posters 15.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marcellocM
      marcelloc
      last edited by

      What errors are you getting with package I've published on my repo?

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • X
        xbipin
        last edited by

        i havent tried it coz i dont know how to go about it in freebsd.

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          well, I just…

          • installed it using pkg_add from my repo(as described above)

          • edited /usr/local/etc/rc.d/yate changing from yate_enable=${yate_enable="NO"} to yate_enable=${yate_enable="YES"}

          • exec /usr/local/etc/rc.d/yate start

          And it's started with default config options…

          671  ??  Ss     0:00.02 /usr/local/bin/yate -Du -d -l /var/log/yate/messages -p /var/run/yate.pid -s
           703  ??  S      0:02.91 /usr/local/bin/yate -Du -d -l /var/log/yate/messages -p /var/run/yate.pid -s

          Supervisor (671) is starting
          Yate (703) is starting Thu Jan 17 00:30:37 2013
          Loaded module Analyzer
          Loaded module Call Forker
          Loaded module Call Generator
          Loaded module CdrBuild
          Loaded module CdrFile
          Loaded module Conference
          Loaded module DumbChannel
          Loaded module ExtModule
          Loaded module File Transfer
          Loaded module GSM - based on libgsm-1.0.10
          Loaded module Javascript
          Loaded module MOH
          Loaded module MsgSniffer
          Loaded module MUX
          Loaded module PBX
          Loaded module RegexRoute
          Loaded module RManager
          Loaded module Speex - based on libspeex-1.1.16
          Loaded module ToneDetector
          Loaded module ToneGen
          Loaded module WaveFile
          Loaded module YIAX
          Loaded module YJingle
          Loaded module YRTP
          Loaded module SIP Channel
          Loaded module YSOCKS
          Loaded module YSTUN
          Loaded module ZLib - using zlib library version 1.2.3
          Loaded module Accounts from file
          Loaded module Analog Channel
          Loaded module Analog Detector
          Loaded module Cache
          Loaded module CallCounters
          Loaded module CCongestion
          Loaded module Cisco SM
          Loaded module Clustering
          Loaded module Cpu
          Loaded module PBX for database
          Loaded module DbWave
          Loaded module Heartbeat
          Loaded module Late Router
          Loading module LKSCTP
          Loaded module MGCP-CA
          Loaded module MGCP-GW
          Loaded module Monitoring
          Loaded module MRCP
          Loaded module Call Parking
          Loaded module Presence
          Loaded module Queues
          Loaded module Queues Notify
          Loaded module Registration from file
          Loaded module Register for database
          Loaded module SigTransport
          Loaded module SIP Features
          Loaded module Subscriptions
          Loaded module Users Management
          Loaded module Radius client
          Loaded module Signalling Channel
          Loaded module SNMP Agent
          Loaded module Jabber Server
          Loaded module Jabber Server Features
          Initializing plugins
          Initializing module Jabber Server Features
          Initializing module Jabber Server
          Initializing module Subscriptions
          Initializing module SigTransport
          Initializing module MGCP Call Agent
          Initialize module LKSCTP
          Initializing module DbWave
          Initializing module Cpu
          Initializing module Clustering
          Initializing module Cisco SM
          Initializing module Analog Detector
          Initializing module ZLib
          Initializing module YSOCKS
          Initializing module MUX
          Initializing module Javascript
          Initializing module CdrFile
          Initializing module Analyzer
          Initializing module Call Forker
          Initializing module Call Generator
          Initializing module CdrBuild
          Initializing module Conference
          Initializing module DumbChannel
          DumbChannel initialized
          Initializing module ExtModule
          Initializing module File Transfer
          Initializing module MOH
          Initializing module MsgSniffer
          Initializing module PBX
          Initializing module RegexRoute
          Initializing module RManager
           <rmanager:goon>Failed to bind to 127.0.0.1:5038 : Address already in use
          Initializing module ToneDetector
          Initializing module ToneGen
          Initializing module WaveFile
          Initializing module YIAX
           <iaxengine:warn>Failed to bind socket on '0.0.0.0:4569' - trying a random port. 48: 'Address already in use'
          Initializing module YJingle
          Initializing module YRTP
          Initializing module SIP Channel
          Initializing module YSTUN
          Initializing module Accounts from file
           <sip:warn>Listener(UDP,'general') unable to bind on '0.0.0.0:5060' - trying a random port. 48 'Address already in use'
          Initializing module Analog Channel
          Initializing module Cache
          Initializing module CCongestion
          Initializing module PBX for database
          Initializing module Late Router
          Initializing module MGCP Gateway
          Initializing module Monitoring
          Initializing module MrcpSpeech
          Initializing module Call Parking
          Initializing module Presence
          Initializing module Queues for database
          Initializing module Queues Notify
          Initializing module Register from file
          Initializing module Register for database
          Initializing module SIP Features
          Initializing module Users Management
          Initializing module Radius client
          Initializing module Signalling Channel
          Initializing module SNMP Agent
          Initialization complete
          Yate engine is initialized and starting up on pfsense.local
           <cpuload:stub>System CPU load is not implemented for this OS</cpuload:stub></sip:warn></iaxengine:warn></rmanager:goon> 
          

          I saw a lot of config options, it may take a while to code into gui and create the config files.

          As you can see, default config is unable to bind sockets on pfsense and startup script returns some shell cmd erros too if /usr/local/etc/yate/cdrfile.conf has no file set.

           /usr/local/etc/rc.d/yate start
          usage: dirname string [...]
          usage: mkdir [-pv] [-m mode] directory_name ...
          usage: dirname string [...]
          usage: chown [-fhvx] [-R [-H | -L | -P]] owner[:group] file ...
                 chown [-fhvx] [-R [-H | -L | -P]] :group file ...
          Starting yate.
          
          

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • X
            xbipin
            last edited by

            ok it seems to run fine i guess looking at the log, would u attempt the latest version which is v4.3 as 2.1 is very old and lack many features and has few bugs related to SIP

            1 Reply Last reply Reply Quote 0
            • marcellocM
              marcelloc
              last edited by

              it will need a port update on freebsd first.

              the latest version on ports is yate-4.0.0.p1

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • X
                xbipin
                last edited by

                so would u do that or some1 from freebsd needs to do that as yate is pretty easy to compile i guess

                1 Reply Last reply Reply Quote 0
                • X
                  xbipin
                  last edited by

                  regarding the web gui for yate on pfsense, for a start just a start/stop button and text boxes to edit those conf files in yate would be enough, meaning click the conf file and its content load up, then u edit and hit save and the new content gets saved after which just a reload command would apply them immediately. the reason y this coz it would be better than using console or ssh etc and yate is so good that this would be more than enough

                  1 Reply Last reply Reply Quote 0
                  • marcellocM
                    marcelloc
                    last edited by

                    It has some patches applied on yate freebsd port package. It will need some work to update it. I'll try to contacto it's maintainer.

                    Treinamentos de Elite: http://sys-squad.com

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • X
                      xbipin
                      last edited by

                      any update on this?

                      1 Reply Last reply Reply Quote 0
                      • marcellocM
                        marcelloc
                        last edited by

                        @xbipin:

                        any update on this?

                        I'll ping developer again.

                        Treinamentos de Elite: http://sys-squad.com

                        Help a community developer! ;D

                        1 Reply Last reply Reply Quote 0
                        • marcellocM
                          marcelloc
                          last edited by

                          ports package was updated on feb 15. It still has some bugs but I'll try to compile.

                          Treinamentos de Elite: http://sys-squad.com

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • marcellocM
                            marcelloc
                            last edited by

                            package compiled sucessfull.

                            Can you check if it works the way you need?

                            i386
                            e-sac.siteseguro.ws/packages/8/All/yate-4.3.0.p1.tbz

                            amd64
                            e-sac.siteseguro.ws/packages/amd64/8/all/yate-4.3.0.p1.tbz

                            Treinamentos de Elite: http://sys-squad.com

                            Help a community developer! ;D

                            1 Reply Last reply Reply Quote 0
                            • X
                              xbipin
                              last edited by

                              can u plz provide some guide on how to install with commands as im not at all good with freebsd commands

                              1 Reply Last reply Reply Quote 0
                              • X
                                xbipin
                                last edited by

                                i ran pkg_add from shell and i get tons of not found and errors

                                [2.1-BETA1][root@firewall.xbipin]/root(4): pkg_add http://e-sac.siteseguro.ws/pa
                                ckages/8/All/yate-4.3.0.p1.tbz
                                Fetching http://e-sac.siteseguro.ws/packages/8/All/yate-4.3.0.p1.tbz... Done.
                                Fetching http://e-sac.siteseguro.ws/packages/8/All/expat-2.0.1_2.tbz... Done.
                                Fetching http://e-sac.siteseguro.ws/packages/8/All/cyrus-sasl-2.1.25_1.tbz... Do
                                ne.
                                pkg_add: could not find package db41-4.1.25_4 !
                                pkg_add: pkg_add of dependency 'cyrus-sasl-2.1.25_1' failed!
                                Fetching http://e-sac.siteseguro.ws/packages/8/All/openldap-sasl-client-2.4.26.t
                                bz... Done.
                                pkg_add: could not find package db41-4.1.25_4 !
                                pkg_add: could not find package cyrus-sasl-2.1.25_1 !
                                pkg_add: pkg_add of dependency 'openldap-sasl-client-2.4.26' failed!
                                Fetching http://e-sac.siteseguro.ws/packages/8/All/jpeg-8_3.tbz... Done.
                                Error: Unable to get http://e-sac.siteseguro.ws/packages/8/All/jbigkit-1.6.tbz:
                                Not Found
                                Error: Unable to get http://e-sac.siteseguro.ws/packages/8/All/tiff-4.0.3.tbz: N
                                ot Found
                                Fetching http://e-sac.siteseguro.ws/packages/8/All/db41-4.1.25_4.tbz... Done.
                                
                                1 Reply Last reply Reply Quote 0
                                • marcellocM
                                  marcelloc
                                  last edited by

                                  Amd64?

                                  Treinamentos de Elite: http://sys-squad.com

                                  Help a community developer! ;D

                                  1 Reply Last reply Reply Quote 0
                                  • X
                                    xbipin
                                    last edited by

                                    i386

                                    im using pfsense on the alix box using nanobsd

                                    1 Reply Last reply Reply Quote 0
                                    • marcellocM
                                      marcelloc
                                      last edited by

                                      @xbipin:

                                      i386

                                      im using pfsense on the alix box using nanobsd

                                      can you try to install this package before?

                                      pkg_add -r http://e-sac.siteseguro.ws/packages/8/All/cyrus-sasl-2.1.26_2.tbz

                                      All not found messages point to an existing package on repo, I'm not sure what is happening

                                      I'll install a testing vm for it.

                                      Treinamentos de Elite: http://sys-squad.com

                                      Help a community developer! ;D

                                      1 Reply Last reply Reply Quote 0
                                      • X
                                        xbipin
                                        last edited by

                                        still a bunch of errors and not founds

                                        [2.1-BETA1][root@firewall.xbipin]/root(2): pkg_add -r http://e-sac.siteseguro.ws
                                        /packages/8/All/cyrus-sasl-2.1.26_2.tbz
                                        Fetching http://e-sac.siteseguro.ws/packages/8/All/cyrus-sasl-2.1.26_2.tbz... Do
                                        ne.
                                        Fetching http://e-sac.siteseguro.ws/packages/8/All/db41-4.1.25_4.tbz... Done.
                                        *** Added group `cyrus' (id 60)
                                        *** Added user `cyrus' (id 60)
                                        
                                        You can use sasldb2 for authentication, to add users use:
                                        
                                                saslpasswd2 -c username
                                        
                                        If you want to enable SMTP AUTH with the system Sendmail, read
                                        Sendmail.README
                                        
                                        NOTE: This port has been compiled with a default pwcheck_method of
                                              auxprop.  If you want to authenticate your user by /etc/passwd,
                                              PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and
                                              set sasl_pwcheck_method to saslauthd after installing the
                                              Cyrus-IMAPd 2.X port.  You should also check the
                                              /usr/local/lib/sasl2/*.conf files for the correct
                                              pwcheck_method.
                                        
                                        [2.1-BETA1][root@firewall.xbipin]/root(5): pkg_add http://e-sac.siteseguro.ws/pa
                                        ckages/8/All/yate-4.3.0.p1.tbz
                                        Fetching http://e-sac.siteseguro.ws/packages/8/All/yate-4.3.0.p1.tbz... Done.
                                        Fetching http://e-sac.siteseguro.ws/packages/8/All/expat-2.0.1_2.tbz... Done.
                                        Fetching http://e-sac.siteseguro.ws/packages/8/All/openldap-sasl-client-2.4.26.t
                                        bz... Done.
                                        pkg_add: warning: package 'openldap-sasl-client-2.4.26' requires 'cyrus-sasl-2.1
                                        .25_1', but 'cyrus-sasl-2.1.26_2' is installed
                                        
                                        ************************************************************
                                        
                                        The OpenLDAP client package has been successfully installed.
                                        
                                        Edit
                                          /usr/local/etc/openldap/ldap.conf
                                        to change the system-wide client defaults.
                                        
                                        Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at
                                          http://www.OpenLDAP.org/faq/index.cgi?file=3
                                        for more information.
                                        
                                        ************************************************************
                                        
                                        Fetching http://e-sac.siteseguro.ws/packages/8/All/jpeg-8_3.tbz... Done.
                                        Error: Unable to get http://e-sac.siteseguro.ws/packages/8/All/jbigkit-1.6.tbz:
                                        Not Found
                                        Error: Unable to get http://e-sac.siteseguro.ws/packages/8/All/tiff-4.0.3.tbz: N
                                        ot Found
                                        Fetching http://e-sac.siteseguro.ws/packages/8/All/pwlib-1.12.0_7,1.tbz... Done
                                        pkg_add: warning: package 'pwlib-1.12.0_7,1' requires 'cyrus-sasl-2.1.25_1', but
                                         'cyrus-sasl-2.1.26_2' is installed
                                        Fetching http://e-sac.siteseguro.ws/packages/8/All/openh323-1.19.0.1_5.tbz... Done
                                        kg_add: warning: package 'openh323-1.19.0.1_5' requires 'cyrus-sasl-2.1.25_1',
                                        but 'cyrus-sasl-2.1.26_2' is installed
                                        Fetching http://e-sac.siteseguro.ws/packages/8/All/spandsp-devel-0.0.6.p21.tbz..
                                        . Done.
                                        pkg_add: could not find package jbigkit-1.6 !
                                        pkg_add: could not find package tiff-4.0.3 !
                                        pkg_add: pkg_add of dependency 'spandsp-devel-0.0.6.p21' failed!
                                        Fetching http://e-sac.siteseguro.ws/packages/8/All/opencore-amr-0.1.3.tbz... Don
                                        e.
                                        Fetching http://e-sac.siteseguro.ws/packages/8/All/libogg-1.2.2,4.tbz... Done.
                                        Fetching http://e-sac.siteseguro.ws/packages/8/All/speex-1.2.r1_3,1.tbz... Done
                                        Fetching http://e-sac.siteseguro.ws/packages/8/All/gsm-1.0.13.tbz... Done.
                                        Error: Unable to get http://e-sac.siteseguro.ws/packages/8/All/alsa-lib-1.0.26.t
                                        bz: Not Found
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • X
                                          xbipin
                                          last edited by

                                          i get a lot of these during reboot

                                          Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/2009062
                                          6/ldap.so' - Shared object "libsasl2.so.2" not found, required by "libldap-2.4.s
                                          o.8" in Unknown on line 0
                                          
                                          Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/2009062
                                          6/ldap.so' - Shared object "libsasl2.so.2" not found, required by "libldap-2.4.s
                                          o.8" in Unknown on line 0
                                          
                                          Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/2009062
                                          6/ldap.so' - Shared object "libsasl2.so.2" not found, required by "libldap-2.4.s
                                          o.8" in Unknown on line 0
                                          
                                          Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/2009062
                                          6/ldap.so' - Shared object "libsasl2.so.2" not found, required by "libldap-2.4.s
                                          o.8" in Unknown on line 0
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • X
                                            xbipin
                                            last edited by

                                            i was just checkng the yate setup file and it consists of this folder which isnt required actually, its for running yate as client, like a dialer.

                                            share/yate/skins

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.