<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Jim,<br>
</p>
<p>iaxrpt and 'dvswitch mobile' are two different animals.</p>
<p>One is connecting as a 'FRIEND' and the other as a 'USER' as
seen/configured in iax.conf.</p>
<p>This is a asterisk thing. Documented with asterisk.<br>
</p>
<p>A 'FRIEND' is a bit less secure as you are assuming they are a
known good security and not going to get announcements per our
set-up. That could be changed.<br>
</p>
<p>You need to make your context 'match' between iax.conf and
extensions.conf, NOT exactly by my following examples. Start with
the iax configuration and follow that to your extensions
configuration with the proper context.</p>
<p>IN IAX.conf<br>
</p>
<p>[iax-user]<br>
type = user<br>
context =iax-user<br>
auth = md5<br>
secret = px<br>
host = dynamic<br>
disallow = all<br>
allow = ulaw<br>
allow = adpcm<br>
allow = gsm<br>
notransfer = yes</p>
<p>[kb8jnm]<br>
type = user<br>
context =iax-user<br>
auth = md5<br>
secret = px<br>
host = dynamic<br>
disallow = all<br>
allow = ulaw<br>
allow = adpcm<br>
allow = gsm<br>
notransfer = yes</p>
<p><br>
</p>
<p>[iax-friend] <br>
type = friend ; Notice is friend
<--------------<br>
context = iax-friend ; Context in extensions.conf<br>
auth = md5<br>
secret = px<br>
host = dynamic<br>
disallow = all<br>
allow = ulaw<br>
allow = adpcm<br>
allow = gsm<br>
notransfer = yes</p>
<p>---ext<br>
</p>
<p>[iax-user] ; for IAX VIOP clients/users - like a
personal extension. <br>
exten => ${NODE},1,Ringing<br>
exten => ${NODE},n,Wait(3)<br>
exten => ${NODE},n,Answer<br>
exten => ${NODE},n,Set(NODENUM=${CALLERID(number)})<br>
exten => ${NODE},n,Playback(rpt/node|noanswer)<br>
exten => ${NODE},n,SayDigits(${EXTEN})<br>
exten => ${NODE},n,Set(CALLERID(num)=0)<br>
exten => ${NODE},n,Rpt,${NODE}|P|${CALLERID(name)}<br>
exten => ${NODE},n,Hangup<br>
exten => ${NODE},n(hangit),Answer<br>
exten => ${NODE},n(hangit),Wait(1)<br>
exten => ${NODE},n(hangit),Hangup<br>
<br>
<br>
[iax-friend] ; iaxrpt-gui<br>
exten => 1000,1,rpt(1000|X)<br>
exten => 1999,1,rpt(1999|X)<br>
exten => 29261,1,rpt(29261|X)<br>
exten => 29283,1,rpt(29283|X)<br>
exten => 29284,1,rpt(29284|X)<br>
exten => 29285,1,rpt(29285|X)<br>
exten => 48335,1,rpt(48335|X)</p>
Your designated '|P' is phone mode and doubt you need that unless
dialing in by phone to command and you have separate command list to
enable for phone commands unless you lumped them all together and
would require the phone command to key the transmitter. Should be
well documented with app_rpt.<br>
<p>dvswitch mobile connects as a iax-client/user<br>
</p>
<p>Have you checked the wiki for in depth docs and groups.io. Hope
my poor examples get you somewhere.<br>
</p>
<p>...mike/kb8jnm<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 4/7/2019 12:24 PM, Jim Aspinwall
No1PC wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1311542254.18101315.1554654299405@mail.yahoo.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="yahoo-style-wrap" style="font-family:Helvetica Neue,
Helvetica, Arial, sans-serif;font-size:16px;">
<div><span>I've had the 'phantom' node PTT issue when connecting
from DVSwitch/iaxrpt on Android. It took some digging to
realize there are two different suggested solutions to apply
to the context(s) in extensions.conf.<br>
<br>
One says to apply: <span><span style="color: rgb(0, 0, 0);
font-family: "Helvetica Neue", Helvetica,
Arial, sans-serif; font-size: 16px;">exten=<node#>,1,rpt,
<span><span style="color: rgb(0, 0, 0); font-family:
"Helvetica Neue", Helvetica, Arial,
sans-serif; font-size: 16px;"><node#></span></span>|X
- which does not effect the desired solution (for
DVSwitch/iaxrpt on Android)</span></span></span></div>
<div><span><br>
</span></div>
<div><span>The other says to apply: <span><span style="color:
rgb(0, 0, 0); font-family: "Helvetica Neue",
Helvetica, Arial, sans-serif; font-size: 16px;">exten=<node#>,1,rpt, </span><span
style="color: rgb(0, 0, 0); font-family: "Helvetica
Neue", Helvetica, Arial, sans-serif; font-size:
16px;"><node#></span><span style="color: rgb(0, 0,
0); font-family: "Helvetica Neue", Helvetica,
Arial, sans-serif; font-size: 16px;">|P - which DOES
effect the desired solution<br>
</span></span><br>
I'm thinking you cannot have both an |X and a |P related
statement in the same context... so I'd have to establish
different contexts for different types of VoIP app users?
and of course accommodate them in iax.conf...<br>
<br>
Is or can this be documented comprehensively?<br>
<br>
And please - if a change is to be edited in some file -
indicate which file... put the some 'x' statement in the
wrong file and the node breaks or statement is useless...
generates more back and forth clarifications. <br>
<br>
-----------<br>
<br>
Further - interesting/compelling, would be great to have,
the mention of perhaps having the connected node(s) announce
the "callerID" of the connecting user - *great* - but not
(yet?) implemented? If it IS implemented - more detail
please! <br>
<br>
</span></div>
<div>exten=<node#>,1,rpt,
<node#>|P|${CALLERID(name)}<br>
</div>
<div><br>
Thanks!!</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
App_rpt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:App_rpt-users@lists.allstarlink.org">App_rpt-users@lists.allstarlink.org</a>
<a class="moz-txt-link-freetext" href="http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users">http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users</a>
To unsubscribe from this list please visit <a class="moz-txt-link-freetext" href="http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users">http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users</a> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
</pre>
</blockquote>
</body>
</html>