[App_rpt-users] Fwd: Problem with iax?

Anthony Percy anthcp at gmail.com
Sat Oct 31 21:42:13 EDT 2009


Hi Steve,
Sorry for the late reply, I have been away in Brisbane..
I think I have found the problem, it looks like I have not been running
rc.updatenodelist to create the rpt_extnodes file!!!
As you can guess I am still learning....

Maybe we should put some debug statement in the code at line 4190 of
app_rpt.c

/* if file does not exist */
        if (stat(myrpt->p.extnodefile,&mystat) == -1)
        {
                if (ourcfg) ast_config_destroy(ourcfg);
                ourcfg = NULL;
                ast_mutex_unlock(&nodelookuplock);
                return(NULL);
        }

e.g if the stat() fails.????? e.g rc.updatenodelist is not running etc
(assuming this is the correct part of the code)

What do you think??

Also is there a chance I could get a development allstar node number as I
need to test some configs before we put them on node 2393, the club 70CM
repeater ?
I have applied for one but I never get the email.

Regards

Anthony VK2ACP






On Tue, Oct 20, 2009 at 8:58 PM, Stephen Rodgers <
hwstar at rodgers.sdcoxmail.com> wrote:

> Anthony Percy wrote:
> > Hi Steve,
> > Thanks for the reply. The strange thing is that when we turn the
> debugging
> > on we see no error messages at all!!!
> > Neither is there anything in the log files... All we see is a "psuedo
> ....
> > hangup" when we call allstar. Calling echolink creates a log list of
> > connection messages and it works fine..
> >
> > How do we check if the node list is updating correctly?
> >
> > regards
> >
> > AP
> >
> > On Tue, Oct 20, 2009 at 5:57 AM, <hwstar at rodgers.sdcoxmail.com> wrote:s
>
> >
> >>> From: Anthony Percy <anthcp at gmail.com>
> >>> Date: 2009/10/19 Mon AM 01:24:32 PDT
> >>> To: app_rpt-users at qrvc.com
> >>> Subject: [App_rpt-users] Problem with iax?
> >>>
> >>> Hi all,
> >>> We recently built a new allstar asterisk repeater using a svn
> development
> >>> build from a few weeks ago. ( I did have a small prob with the build
> but
> >>> that was easy to fix by altering a makefile, I can elaborate if
> required)
> >>> It works fine as a repeater with the DMK fob but when we call an
> allstar
> >>> node it fails. However, when we call a echolink server it works fine.
> >>> We parsed our older xipar config files to build the new configs for the
> >> svn
> >>> build, I guess we may have missed something for the iax to work?
> >>> It also seems to register ok on the allstar stats site...
> >>> Any suggestions?
> >>> When we put our older allstar repeater back in place it works fine on
> >>> allstar so it can't be a network or firewall issue...
> >>>
> >>> Regards
> >>>
> >>> Anthony Percy, VK2ACP
> >>>
> >>> Chifley Amateur Radio Club.
> >>>
> >>>
> >>
> >> There should be connect errors displayed on the Asterisk console. It
> would
> >> be helpful to see those.
> >>
> >> A hint: Maybe your node list is not updating correctly.
> >>
> >> Steve
> >> WA6ZFT
> >>
> >> _______________________________________________
> >> App_rpt-users mailing list
> >> App_rpt-users at qrvc.com
> >> http://qrvc.com/mailman/listinfo/app_rpt-users
> >>
> >>
> >>
> >
> Use the following Asterisk cli commands to enable debugging and a more
> verbose output from Asterisk
>
> core set verbose 4
> rpt debug level 5
>
> The node list should be located in file /var/lib/asterisk/rpt_extnodes
>
> It is a text file so you can use text tools to view it.
>
> The file gets downloaded every 10 minutes, and the top  of the file should
> contain two recent time stamps which are no
> more than 30 minutes old.
>
> The other thing to check is if the system is registering properly.
> If you use the following, Asterisk CLI command, you should get something
> similar to this:
>
> radios*CLI> iax2 show registry
> Host                  dnsmgr  Username    Perceived             Refresh
>  State
> 67.xx.xx.xx:4569      N       A2010       72.xx.xx.xx:4569      60
> Registered
>
> It's 3 AM here, and I can't sleep.
>
> Steve
> WA6ZFT
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.allstarlink.org/pipermail/app_rpt-users/attachments/20091101/5e1e091a/attachment.html>


More information about the App_rpt-users mailing list