Thanks David. IAX is not an option for me due to my network configuration.

As a test lastnight I was able to attach a softphone to the app_rpt box and it registered when I set it to type=friend versus user (which doesn't make sense to me, but then again I've seen SIP do strange things like this so I'm probably missing a parameter or something)

I can not however, make a call to the rpt application.

I have it set in extensions.conf, but when I attempt to make a call from the softphone I get an error message in the console "extension not found"

I don't know if this is a bug within Asterisk or if I have some syntax wrong somewhere, I am using the Asterisk version that is in the app_rpt repository.....

Thanks,
Stephen


On Fri, Nov 13, 2009 at 12:59 AM, David Shaw <dshaw@ke6upi.com> wrote:
Hello Stephen, I use IAX to two asterisk servers..

Check out the link below. It should help you out..

http://www.voip-info.org/wiki/view/Asterisk+-+dual+servers

David


On Thu, Nov 12, 2009 at 7:22 AM, Stephen - K1LNX <k1lnx@k1lnx.net> wrote:
I started playing with the autopatch and reverse autopatch functions lastnight and ran into some problems.

My setup consists of two seperate boxes, one is running app_rpt/radio only, and I have an Asterisk 1.6/FreePBX install as my home PBX. My ultimate goal is to direct all outgoing autopatch calls to the PBX box and then on to my provider, and have phone control of the radio from it as well.

I can't quite put a finger on the best way to accomplish this, but one of the problems I'm having is with the reverse autopatch, for starters.

I have this in sip.conf in the app_rpt box:

[k1lnx]
type=user
context=radiocontrol
secret=mypassword
host=dynamic
allow=gsm
transfer=no

This is in the PBX box in /etc/asterisk/sip_registrations_custom.conf:
register => k1lnx:mypassword@192.168.1.1/k1lnx

When I issue a SIP reload on both boxes, I can not reg for whatever reason:
(FreePBX box)
[Nov 12 10:17:02] WARNING[32096]: chan_sip.c:15790 handle_response_register: Got 404 Not found on SIP register to service k1lnx@192.168.1.1, giving up

(app_rpt box)
[Nov 12 10:17:02] NOTICE[23702]: chan_sip.c:15628 handle_request_register: Registration from '<sip:k1lnx@192.168.1.1>' failed for '192.168.1.15' - No matching peer found


It's highly possible I have some syntax wrong somewhere and I have not tried pointing a softphone at the app_rpt box yet with these credentials to eliminate the FreePBX box as the issue.

My thoughts are if I can get a SIP registration between both boxes I should be able to accomplish autopatch/reverse autopatch very easily, unless there is another easier or preferred method?

Thanks,
Stephen

--
**********************************
Stephen Brown - ARS K1LNX
Johnson City, TN EM86
http://www.k1lnx.net
google voice: 423-665-9367
**********************************

_______________________________________________
App_rpt-users mailing list
App_rpt-users@qrvc.com
http://qrvc.com/mailman/listinfo/app_rpt-users




--
Thank you, David
73's KE6UPI

_______________________________________________
App_rpt-users mailing list
App_rpt-users@qrvc.com
http://qrvc.com/mailman/listinfo/app_rpt-users




--
**********************************
Stephen Brown - ARS K1LNX
Johnson City, TN EM86
http://www.k1lnx.net
google voice: 423-665-9367
**********************************