I started playing with the autopatch and reverse autopatch functions lastnight and ran into some problems. <br><br>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. <br>
<br>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.<br><br>I have this in sip.conf in the app_rpt box:<br><br>[k1lnx]<br>
type=user<br>context=radiocontrol<br>secret=mypassword<br>host=dynamic<br>allow=gsm<br>transfer=no <br><br>This is in the PBX box in /etc/asterisk/sip_registrations_custom.conf:<br>register => <a href="http://k1lnx:mypassword@192.168.1.1/k1lnx">k1lnx:mypassword@192.168.1.1/k1lnx</a><br>
<br>When I issue a SIP reload on both boxes, I can not reg for whatever reason:<br>(FreePBX box)<br>[Nov 12 10:17:02] WARNING[32096]: chan_sip.c:15790 handle_response_register: Got 404 Not found on SIP register to service <a href="mailto:k1lnx@192.168.1.1">k1lnx@192.168.1.1</a>, giving up<br>
<br>(app_rpt box)<br>[Nov 12 10:17:02] NOTICE[23702]: chan_sip.c:15628 handle_request_register: Registration from '<<a href="mailto:sip%3Ak1lnx@192.168.1.1">sip:k1lnx@192.168.1.1</a>>' failed for '192.168.1.15' - No matching peer found<br>
<br><br>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. <br><br>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? <br>
<br>Thanks, <br>Stephen<br><br>-- <br>**********************************<br>Stephen Brown - ARS K1LNX<br>Johnson City, TN EM86<br><a href="http://www.k1lnx.net">http://www.k1lnx.net</a><br>google voice: 423-665-9367<br>**********************************<br>