[App_rpt-users] Android IAXRPT stuck PTT
Tom Hayward
tom at tomh.us
Fri Jul 22 15:41:32 UTC 2016
On Thu, Jul 21, 2016 at 4:56 PM, Steve Zingman <szingman at msgstor.com> wrote:
> This is the context I use for AndroidIAX
>
> [iax-client] ; for IAX VIOP clients.
> exten => ${NODE},1,Ringing
> exten => ${NODE},n,Wait(3)
> exten => ${NODE},n,Answer
> exten => ${NODE},n,Set(NODENUM=${CALLERID(number)})
> exten => ${NODE},n,Playback(rpt/node|noanswer)
> exten => ${NODE},n,SayDigits(${EXTEN})
> exten => ${NODE},n,Set(CALLERID(num)=0)
> exten => ${NODE},n,Rpt,${NODE}|P|${CALLERID(name)}
> exten => ${NODE},n,Hangup
> exten => ${NODE},n(hangit),Answer
> exten => ${NODE},n(hangit),Wait(1)
> exten => ${NODE},n(hangit),Hangup
I pasted this in verbatim and now connections fail:
[Jul 22 08:33:01] NOTICE[13402] chan_iax2.c: Rejected connect attempt
from 71.231.22.13, request '41702 at iax-client' does not exist
Apparently the ${NODE} variable is never populated.
The big difference I notice is this one has P and my earlier config had an X:
exten => 41702,1,rpt(41702|X)
What does that mean? I know Pv sets VOX mode and I understood X to
mean DTMF to enable/disable PTT. How does Android IAX signal PTT?
Tom
More information about the App_rpt-users
mailing list