[App_rpt-users] Web transceiver auth
Bryan Fields
Bryan at bryanfields.net
Thu Aug 14 01:58:19 UTC 2014
Hi all,
I'm trying to get the web transceiver going on my node (40821) for some testing.
I'm seeing the error:
[Aug 13 21:11:53] NOTICE[5180]: chan_iax2.c:9471 socket_process: Rejected
connect attempt from 107.17.118.194, request 's at allstar-public' does not exist
Iax2 debug is below. I think it's some kinda auth issue, but I'm not an
expert by any means. I have the allstar-public user setup up in
extentions.conf per the portal generated config.
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00000ms SCall: 04658 DCall: 00000 [107.17.118.194:54874]
VERSION : 2
CALLED NUMBER : s
CALLING NUMBER : 40821
CALLING NAME : c3af3e019916
USERNAME : allstar-public
FORMAT : 4
CODEC_PREFS : (ulaw)
Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00005ms SCall: 06398 DCall: 04658 [107.17.118.194:54874]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00008ms SCall: 06398 DCall: 04658 [107.17.118.194:54874]
AUTHMETHODS : 2
CHALLENGE : 145805606
USERNAME : allstar-public
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
Timestamp: 00046ms SCall: 04658 DCall: 06398 [107.17.118.194:54874]
USERNAME : allstar-public
MD5 RESULT : EA2B0D6A59969E38A94457D4845CEB68
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00046ms SCall: 06398 DCall: 04658 [107.17.118.194:54874]
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REJECT
Timestamp: 00048ms SCall: 06398 DCall: 04658 [107.17.118.194:54874]
CAUSE : No such context/extension
CAUSE CODE : 3
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00048ms SCall: 04658 DCall: 06398 [107.17.118.194:54874]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: HANGUP
Timestamp: 25285ms SCall: 04658 DCall: 06398 [107.17.118.194:54874]
CAUSE CODE : 16
Rx-Frame Retry[Yes] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: HANGUP
Timestamp: 25285ms SCall: 04658 DCall: 06398 [107.17.118.194:54874]
CAUSE CODE : 16
Config from extentions.conf
[allstar-public]
exten => s,1,Ringing
exten =>
s,n,Set(RESP=${CURL(https://register.allstarlink.org/cgi-bin/authwebphone.pl?${CALLERID(name)})})
exten => s,n,Set(NODENUM=${CALLERID(number)})
exten => s,n,GotoIf($["${RESP:0:1}" = "?"]?hangit)
exten => s,n,GotoIf($["${RESP:0:1}" = ""]?hangit)
exten => s,n,GotoIf($["${RESP:0:5}" != "OHYES"]?hangit)
exten => s,n,Set(CALLSIGN=${RESP:5})
exten => s,n,Wait(3)
exten => s,n,Playback(rpt/node|noanswer)
exten => s,n,Saydigits(${NODENUM})
exten => s,n,Set(CALLERID(name)=${CALLSIGN})
exten => s,n,Set(CALLERID(num)=0)
exten => s,n,Rpt(${NODENUM}|X)
exten => s,n,Hangup
exten => s,n(hangit),Answer
exten => s,n(hangit),Wait(1)
exten => s,n(hangit),Hangup
--
Bryan Fields
727-409-1194 - Voice
727-214-2508 - Fax
http://bryanfields.net
More information about the App_rpt-users
mailing list