in your [internal] context add (for example): exten => 1003,1,Rpt(1234|Pv) ; (Replace '1234' with the correct node number) JIM
From: rpt2@chuck.midlandsnetworking.com Date: Thu, 28 Oct 2010 17:38:38 -0500 To: app_rpt-users@qrvc.com Subject: [App_rpt-users] Please help me. How do I set up PAP2Ts to connect to my repeater?
I am just getting started and still have not got a good understanding of how this works. I currently have a basic install from the ACID_CENTOS CD that I downloaded 9/29/2010. I have the radios connected using a CM-108. In addition to this basic setup I want to use a PAP2T to be able to connect to the repeater. I have configured a couple of PAP2Ts to register with the server and I can dial from either one to the other. What I also want to be able to do is dial a number from either one of the PAP2Ts that will connect them to the repeater such that they can hear what the repeater receiver is hearing and that audio from the handset will come out over the air on the repeater. The PAP2T's are on the same LAN with the server. It seems like it should be easy, probably just the right line in the extensions.conf file, but all of my attempts at it have failed. The dial plan that I put in the PAP2Ts is just "(x.)" without the quotes.
Would someone please tell me how to make this work?
Remember I am a newbie here so don't assume that I know anything about the configuration of asterisk or app_rpt, I really don't know why what I have so far is even working at all. I made the Linksys adapters work by adding the following to sip.conf. I am not sure if this is even correct, but it allows them to call each other. Amazing!! - - - - - - - - - - - - - - - - cut here - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ; 1000 is Linksys PAP2T number 1 registered [1000] ; CAH added 10/28/2010 2:01am type=friend ; CAH added 10/28/2010 2:01am context=phones ; CAH added 10/28/2010 2:01am host=dynamic ; CAH added 10/28/2010 2:01am
; 1001 is Linksys PAP2T number 2 registered [1001] ; CAH added 10/28/2010 2:01am type=friend ; CAH added 10/28/2010 2:01am context=phones ; CAH added 10/28/2010 2:01am host=dynamic ; CAH added 10/28/2010 2:01am
; 1002 is Linksys SPA-3102 not registered [1002] ; CAH added 10/28/2010 3:21am type=friend ; CAH added 10/28/2010 3:21am context=phones ; CAH added 10/28/2010 3:21am host=10.10.10.234 ; CAH added 10/28/2010 3:21am port=5061 ; CAH added 10/28/2010 5:24am - - - - - - - - - - - - - - - - cut here - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - And also adding to extensions.conf the following which I gleaned from an example in a book on Amazon.com, I didn't figure out what the i and the s are for but they were in the example and after adding these the phones can call each other, just not the repeater. - - - - - - - - - - - - - - - - cut here - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [default] exten => i,1,Hangup ; CAH added 10/28/2010 1:27am exten => s,1,Verbose(1|Unrouted call handler) ; CAH added 10/28/2010 1:27am exten => s,n,Answer() ; CAH added 10/28/2010 1:27am exten => s,n,Wait(1) ; CAH added 10/28/2010 1:27am exten => s,n,Playback(tt-weasels) ; CAH added 10/28/2010 1:27am exten => s,n,Hangup() ; CAH added 10/28/2010 1:27am
[incoming_calls] ; CAH added 10/28/2010 1:27am
[internal] ; CAH added 10/28/2010 1:27am exten => 1000,1,Verbose(1|Extension 1000) ; CAH added 10/28/2010 2:10am exten => 1000,n,Dial(SIP/1000,30) ; CAH added 10/28/2010 2:10am exten => 1000,n,Hangup() ; CAH added 10/28/2010 2:10am exten => 1001,1,Verbose(1|Extension 1001) ; CAH added 10/28/2010 2:10am exten => 1001,n,Dial(SIP/1001,30) ; CAH added 10/28/2010 2:10am exten => 1001,n,Hangup() ; CAH added 10/28/2010 2:10am exten => 1002,1,Verbose(1|Extension 1002) ; CAH added 10/28/2010 2:10am exten => 1002,n,Dial(SIP/1002,30) ; CAH added 10/28/2010 2:10am exten => 1002,n,Hangup() ; CAH added 10/28/2010 2:10am
[phones] ; CAH added 10/28/2010 1:27am include => internal ; CAH added 10/28/2010 1:27am
- - - - - - - - - - - - - - - - cut here - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I think that is all I added to the configuration of the server so far. What more do I need? What of this is not needed or wrong? Chuck _______________________________________________ App_rpt-users mailing list App_rpt-users@qrvc.com http://qrvc.com/mailman/listinfo/app_rpt-users