It have been a long time but try [tutorial] exten=s,1,answer() exten=s,n,Playback(rpt/node) exten=s,n,Playback(digits/2) exten=s,n,Playback(digits/8) exten=s,n,Playback(digits/1) exten=s,n,Playback(digits/7) exten=s,n,Playback(digits/4) exten=s,n,rpt(28174|P) David On Sun, Dec 18, 2011 at 9:27 PM, Ron Morell <ron@morell.us> wrote:
I have it working. Turned out that type=user was not satisfactory... The iax.conf statements look like this:
[ip-phone] username=ip-phone type=friend context=tutorial auth=md5 secret=password codecpriority=host disallow=all ; I need to look into codecs and see which one is best to use from the cell phone and select it. allow=g726aal2 ; probably need to make sure the codec matches from phone to host. allow=gsm transfer=no callerid="ka7u"
The extensions.conf looks like this:
[tutorial] exten=28174,1,answer() exten=28174,n,Playback(rpt/node) exten=28174,n,Playback(digits/2) exten=28174,n,Playback(digits/8) exten=28174,n,Playback(digits/1) exten=28174,n,Playback(digits/7) exten=28174,n,Playback(digits/4) exten=28174,n,rpt(28174|P)
Now when I call in with IaxAgent on the Android Cell Phone it answers and puts me into the phone dialer where I have to dial the extension 28174. This is odd, because I have that extension stated in the iaxAgent calling setup, but it is Beta software so maybe it doesn't all work. Then after the extension 28174 answers the iaxAgent switches to an "in-session" screen. By pressing the additional menu button (lower left on the Android X phone), an in-session dialer is displayed on the screen. *70 gives the current connection status, *328210 will connect to that node, *128210 will disconnect from that node, and so on.
But there is a problem with PTT. *99 does not start PTT and # does not disable it. Not sure why... This is the functions info from rpt.conf:
functions=functions ; Repeater Function Table phone_functions=functions ; Repeater Function Table link_functions=functions ; Link Function Table
[functions] 1=ilink,1 2=ilink,2 3=ilink,3 4=ilink,4 5=macro,1 70=ilink,5 71=ilink,6 72=ilink,7 73=ilink,15 74=ilink,16 75=ilink,8
80=status,1 81=status,2
6=autopatchup,noct=1,farenddisconnect=1,dialtime=20000 ; Autopatch up 0=autopatchdn ; Autopatch down
989=cop,4 980=status,3 99=cop,6 ;should be PTT
So if anyone has an idea about what happened to *99 for PTT and # to switch to receive, I'd appreciate hearing it. It did work, when I connected to node 28187. I'll have to check and see if it still works on that node. Ron KA7U _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users