Hi Steve, Thanks for the quick reply! See My replies below... -----Original Message----- From: app_rpt-bounces@lists.illiana.net [mailto:app_rpt-bounces@lists.illiana.net] On Behalf Of Stephen Rodgers Sent: Saturday, July 14, 2007 9:23 PM To: Asterisk Repeater Controler Subject: Re: [App_rpt] okay I am making progress.... Steve Rodgers, WA6ZFT wrote:
There was a reason we didn't use ast_localtime in the past. The time being returned was incorrect; the time was several hours off. What version of asterisk you are using? It sounds like we need to update app_rpt to use ast_localtime selectively based on the version of asterisk being compiled.
The version is 0.68 - I double checked the time as sent by my system... and it is right on... I plan to get the ntp client going to make it more accurate! I am sending the app_rpt (both original and Modified) so that you may look at it!
There are so many things you can do with Asterisk that you will need to be very specific about what you want to start out with first. I would suggest that you initially keep it simple. Dialing in using a reverse autopatch is probably a good way to start. I can't help you with SIP as I don't have any SIP hardware and have not used it much in the past.
This extension logic snippet will add a context in extensions.conf:
[radio-control]
exten=1999,1,Answer
exten=1999,n,Playback,rpt/node
exten=1999,n,Playback,digits/1
exten=1999,n,Playback,digits/9
exten=1999,n,Playback,digits/9
exten=1999,n,Playback,digits/9
exten=1999,n,Rpt,1999|P
In sip.conf you would add a stanza to direct control to radio-control context. For iax.conf which I am more familiar with, it would look like this:
[control]
type=user context=radio-control auth=md5 secret=gutentag disallow=all allow=gsm transfer=no
Take a look at the configuration keywords between iax.conf and sip.conf. Most of them will probably be the same.
I understand what you are doing with both files... I am still a little confused about the "context" stuff! I guess the user name in the iax device or pgm would have to be "control" with the password gutentag, right? Well, I will play with it! Thanks for the pointer!
You will need to have a fully qualified domain name (e.g. foo.bar.com) (not a numeric IP address). If your IP address is dynamic, you will need to run a dynamic dns client on your asterisk box. We recommend no-ip.com. You can select a domain name (I like to use the following format for my repeater nodes: w4rfj-yourlocation.sytes.net. I then set the host name on the system to callsign-yourlocation.)
You can download the dynamic dns client from no-ip.com. It is a C source file you'll need to compile. Make sure it runs at boot up by executing it in rc.local.
Once you have the dynamic dns client running, then go to allstarlink.org and request assignment of a node number. Send me an email once you have done this and I'll process the request for you.
Steve.
I have a NODE number assigned already.... My node number is 2057 do you need my password?? I will get the dynamic dns set-up when I get this thing finalized and ready for permanent installation! I still need to get my allowance saved up for the ARIB boards! Also... how would you handle setting up a fxo for an outgoing call from the repeater? And I was thinking of using FWD Free World Dialup as a source for incoming and outgoing (Using iax of course!) _______________________________________________ App_rpt mailing list App_rpt@lists.illiana.net http://lists.illiana.net/mailman/listinfo/app_rpt