app_rpt and allstarlink web transceiver problem
With help from this list we've made great progress getting our app_rpt hub node (27680) up and on the air (er, well, on the Internet, anyway) and permalinked to our solar beagleboard node with radios on the mountaintop. I can connect to the hub via iaxRpt and it works great. The hub is also an echolink node, and I can connect to it via echolink and all is well. Unfortunately, I can't connect to it via the allstarlink web transceiver. Looking at the asterisk logs on node 27680, node 27680 receives the call from the web transceiver and starts executing the "s" extension in context "allstar-public", as it should. It gets a "CALLERID(name)" of some hex string, gets a "CALLERID(number)" of 27680, and then the CURL to https://register.allstarlink.org/cgi-bin/authwebphone.pl?${CALLERID(name) returns a "???" response, causing the connection to hangup. Any ideas? Thanks! Phil, N6TCT
It should not be doing caller id - sounds like you are missing something in the config [allstar-public] should be handling the "call" This is what mine looks like (the console) on a connect (warning message and all): -- Accepting AUTHENTICATED call from 69.243.53.147: > requested format = ulaw, > requested prefs = (ulaw), > actual format = ulaw, > host prefs = (ulaw|gsm), > priority = mine -- Executing [s@allstar-public:1] Ringing("IAX2/allstar-public-13324", "") in new stack [Jun 5 20:42:48] WARNING[2637]: chan_iax2.c:9454 socket_process: Call on IAX2/allstar-public-13324 is already up, can't start on it -- Executing [s@allstar-public:2] Set("IAX2/allstar-public-13324", "RESP=OHYESKE2N") in new stack -- Executing [s@allstar-public:3] Set("IAX2/allstar-public-13324", "NODENUM=27021") in new stack -- Executing [s@allstar-public:4] GotoIf("IAX2/allstar-public-13324", "0?hangit") in new stack -- Executing [s@allstar-public:5] GotoIf("IAX2/allstar-public-13324", "0?hangit") in new stack -- Executing [s@allstar-public:6] GotoIf("IAX2/allstar-public-13324", "0?hangit") in new stack -- Executing [s@allstar-public:7] Set("IAX2/allstar-public-13324", "CALLSIGN=KE2N") in new stack -- Executing [s@allstar-public:8] Wait("IAX2/allstar-public-13324", "3") in new stack -- Executing [s@allstar-public:9] Playback("IAX2/allstar-public-13324", "rpt/node|noanswer") in new stack -- <IAX2/allstar-public-13324> Playing 'rpt/node' (language 'en') -- Executing [s@allstar-public:10] SayDigits("IAX2/allstar-public-13324", "27021") in new stack -- <IAX2/allstar-public-13324> Playing 'digits/2' (language 'en') -- <IAX2/allstar-public-13324> Playing 'digits/7' (language 'en') -- <IAX2/allstar-public-13324> Playing 'digits/0' (language 'en') -- <IAX2/allstar-public-13324> Playing 'digits/2' (language 'en') -- <IAX2/allstar-public-13324> Playing 'digits/1' (language 'en') -- Executing [s@allstar-public:11] Set("IAX2/allstar-public-13324", "CALLERID(name)=KE2N") in new stack -- Executing [s@allstar-public:12] Set("IAX2/allstar-public-13324", "CALLERID(num)=0") in new stack -- Executing [s@allstar-public:13] Rpt("IAX2/allstar-public-13324", "27021|X") in new stack == Spawn extension (allstar-public, s, 13) exited KEEPALIVE on 'IAX2/allstar-public-13324' -- <Zap/pseudo-870995006> Playing 'rpt/node' (language 'en') -- <Zap/pseudo-870995006> Playing 'letters/k' (language 'en') -- <Zap/pseudo-870995006> Playing 'letters/e' (language 'en') -- <Zap/pseudo-870995006> Playing 'digits/2' (language 'en') -- <Zap/pseudo-870995006> Playing 'letters/n' (language 'en') -- <Zap/pseudo-870995006> Playing 'rpt/connected' (language 'en') -- <Zap/pseudo-870995006> Playing 'digits/2' (language 'en') -- <Zap/pseudo-870995006> Playing 'rpt/nodenames/27021' (language 'en') Ken KE2N
-----Original Message----- From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users- bounces@ohnosec.org] On Behalf Of Phil N6TCT Sent: Sunday, June 05, 2011 8:34 PM To: app_rpt mailing list Subject: [App_rpt-users] app_rpt and allstarlink web transceiver problem
With help from this list we've made great progress getting our app_rpt hub node (27680) up and on the air (er, well, on the Internet, anyway) and permalinked to our solar beagleboard node with radios on the mountaintop. I can connect to the hub via iaxRpt and it works great. The hub is also an echolink node, and I can connect to it via echolink and all is well.
Unfortunately, I can't connect to it via the allstarlink web transceiver. Looking at the asterisk logs on node 27680, node 27680 receives the call from the web transceiver and starts executing the "s" extension in context "allstar-public", as it should. It gets a "CALLERID(name)" of some hex string, gets a "CALLERID(number)" of 27680, and then the CURL to https://register.allstarlink.org/cgi- bin/authwebphone.pl?${CALLERID(name) returns a "???" response, causing the connection to hangup.
Any ideas?
Thanks!
Phil, N6TCT _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
Thanks, Ken. If you look at [allstar-public] in extensions.conf, I think you'll find it is making the CALLERID call. I.e., my [allstar-public] stanza says in extensions.conf says: exten => s,1,Ringing exten => s,n,Set(RESP=${CURL(https://register.allstarlink.org/cgi-bin/authwebpho ne.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) Does yours look different than that? You can see in your console output that you helpfully included that the second line (the CURL call, [s@allstar-public:2]) is resolving to "OHYES" in your case but, sadly, to "???" in my case. I should note that I have launched the web transceiver from my N6TCT account on allstarlink.org. Phil On Sun, Jun 5, 2011 at 5:49 PM, Ken <ke2n@cs.com> wrote:
It should not be doing caller id - sounds like you are missing something in the config [allstar-public] should be handling the "call"
This is what mine looks like (the console) on a connect (warning message and all):
-- Accepting AUTHENTICATED call from 69.243.53.147: > requested format = ulaw, > requested prefs = (ulaw), > actual format = ulaw, > host prefs = (ulaw|gsm), > priority = mine -- Executing [s@allstar-public:1] Ringing("IAX2/allstar-public-13324", "") in new stack [Jun 5 20:42:48] WARNING[2637]: chan_iax2.c:9454 socket_process: Call on IAX2/allstar-public-13324 is already up, can't start on it -- Executing [s@allstar-public:2] Set("IAX2/allstar-public-13324", "RESP=OHYESKE2N") in new stack -- Executing [s@allstar-public:3] Set("IAX2/allstar-public-13324", "NODENUM=27021") in new stack -- Executing [s@allstar-public:4] GotoIf("IAX2/allstar-public-13324", "0?hangit") in new stack -- Executing [s@allstar-public:5] GotoIf("IAX2/allstar-public-13324", "0?hangit") in new stack -- Executing [s@allstar-public:6] GotoIf("IAX2/allstar-public-13324", "0?hangit") in new stack -- Executing [s@allstar-public:7] Set("IAX2/allstar-public-13324", "CALLSIGN=KE2N") in new stack -- Executing [s@allstar-public:8] Wait("IAX2/allstar-public-13324", "3") in new stack -- Executing [s@allstar-public:9] Playback("IAX2/allstar-public-13324", "rpt/node|noanswer") in new stack -- <IAX2/allstar-public-13324> Playing 'rpt/node' (language 'en') -- Executing [s@allstar-public:10] SayDigits("IAX2/allstar-public-13324", "27021") in new stack -- <IAX2/allstar-public-13324> Playing 'digits/2' (language 'en') -- <IAX2/allstar-public-13324> Playing 'digits/7' (language 'en') -- <IAX2/allstar-public-13324> Playing 'digits/0' (language 'en') -- <IAX2/allstar-public-13324> Playing 'digits/2' (language 'en') -- <IAX2/allstar-public-13324> Playing 'digits/1' (language 'en') -- Executing [s@allstar-public:11] Set("IAX2/allstar-public-13324", "CALLERID(name)=KE2N") in new stack -- Executing [s@allstar-public:12] Set("IAX2/allstar-public-13324", "CALLERID(num)=0") in new stack -- Executing [s@allstar-public:13] Rpt("IAX2/allstar-public-13324", "27021|X") in new stack == Spawn extension (allstar-public, s, 13) exited KEEPALIVE on 'IAX2/allstar-public-13324' -- <Zap/pseudo-870995006> Playing 'rpt/node' (language 'en') -- <Zap/pseudo-870995006> Playing 'letters/k' (language 'en') -- <Zap/pseudo-870995006> Playing 'letters/e' (language 'en') -- <Zap/pseudo-870995006> Playing 'digits/2' (language 'en') -- <Zap/pseudo-870995006> Playing 'letters/n' (language 'en') -- <Zap/pseudo-870995006> Playing 'rpt/connected' (language 'en') -- <Zap/pseudo-870995006> Playing 'digits/2' (language 'en') -- <Zap/pseudo-870995006> Playing 'rpt/nodenames/27021' (language 'en')
Ken KE2N
-----Original Message----- From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users- bounces@ohnosec.org] On Behalf Of Phil N6TCT Sent: Sunday, June 05, 2011 8:34 PM To: app_rpt mailing list Subject: [App_rpt-users] app_rpt and allstarlink web transceiver problem
With help from this list we've made great progress getting our app_rpt hub node (27680) up and on the air (er, well, on the Internet, anyway) and permalinked to our solar beagleboard node with radios on the mountaintop. I can connect to the hub via iaxRpt and it works great. The hub is also an echolink node, and I can connect to it via echolink and all is well.
Unfortunately, I can't connect to it via the allstarlink web transceiver. Looking at the asterisk logs on node 27680, node 27680 receives the call from the web transceiver and starts executing the "s" extension in context "allstar-public", as it should. It gets a "CALLERID(name)" of some hex string, gets a "CALLERID(number)" of 27680, and then the CURL to https://register.allstarlink.org/cgi- bin/authwebphone.pl?${CALLERID(name) returns a "???" response, causing the connection to hangup.
Any ideas?
Thanks!
Phil, N6TCT _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
I looked in there and you are right - I guess when it works, its invisible (to the console and log file) 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) Silly question: is it possible you do not have web transceiver access enabled in the portal setup menu? Ken
-----Original Message----- From: Phil N6TCT [mailto:phil.n6tct@gmail.com] Sent: Sunday, June 05, 2011 9:07 PM To: Ken Cc: app_rpt mailing list Subject: Re: [App_rpt-users] app_rpt and allstarlink web transceiver problem
Thanks, Ken. If you look at [allstar-public] in extensions.conf, I think you'll find it is making the CALLERID call. I.e., my [allstar-public] stanza says in extensions.conf says:
exten => s,1,Ringing exten => s,n,Set(RESP=${CURL(https://register.allstarlink.org/cgi- bin/authwebpho ne.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)
Does yours look different than that?
You can see in your console output that you helpfully included that the second line (the CURL call, [s@allstar-public:2]) is resolving to "OHYES" in your case but, sadly, to "???" in my case.
I should note that I have launched the web transceiver from my N6TCT account on allstarlink.org.
Phil
On Sun, Jun 5, 2011 at 5:49 PM, Ken <ke2n@cs.com> wrote:
It should not be doing caller id - sounds like you are missing something in the config [allstar-public] should be handling the "call"
This is what mine looks like (the console) on a connect (warning message and all):
-- Accepting AUTHENTICATED call from 69.243.53.147: > requested format = ulaw, > requested prefs = (ulaw), > actual format = ulaw, > host prefs = (ulaw|gsm), > priority = mine -- Executing [s@allstar-public:1] Ringing("IAX2/allstar-public- 13324", "") in new stack [Jun 5 20:42:48] WARNING[2637]: chan_iax2.c:9454 socket_process: Call on IAX2/allstar-public-13324 is already up, can't start on it -- Executing [s@allstar-public:2] Set("IAX2/allstar-public-13324", "RESP=OHYESKE2N") in new stack -- Executing [s@allstar-public:3] Set("IAX2/allstar-public-13324", "NODENUM=27021") in new stack -- Executing [s@allstar-public:4] GotoIf("IAX2/allstar-public- 13324", "0?hangit") in new stack -- Executing [s@allstar-public:5] GotoIf("IAX2/allstar-public- 13324", "0?hangit") in new stack -- Executing [s@allstar-public:6] GotoIf("IAX2/allstar-public- 13324", "0?hangit") in new stack -- Executing [s@allstar-public:7] Set("IAX2/allstar-public-13324", "CALLSIGN=KE2N") in new stack -- Executing [s@allstar-public:8] Wait("IAX2/allstar-public- 13324", "3") in new stack -- Executing [s@allstar-public:9] Playback("IAX2/allstar-public- 13324", "rpt/node|noanswer") in new stack -- <IAX2/allstar-public-13324> Playing 'rpt/node' (language 'en') -- Executing [s@allstar-public:10] SayDigits("IAX2/allstar-public-13324", "27021") in new stack -- <IAX2/allstar-public-13324> Playing 'digits/2' (language 'en') -- <IAX2/allstar-public-13324> Playing 'digits/7' (language 'en') -- <IAX2/allstar-public-13324> Playing 'digits/0' (language 'en') -- <IAX2/allstar-public-13324> Playing 'digits/2' (language 'en') -- <IAX2/allstar-public-13324> Playing 'digits/1' (language 'en') -- Executing [s@allstar-public:11] Set("IAX2/allstar-public- 13324", "CALLERID(name)=KE2N") in new stack -- Executing [s@allstar-public:12] Set("IAX2/allstar-public- 13324", "CALLERID(num)=0") in new stack -- Executing [s@allstar-public:13] Rpt("IAX2/allstar-public- 13324", "27021|X") in new stack == Spawn extension (allstar-public, s, 13) exited KEEPALIVE on 'IAX2/allstar-public-13324' -- <Zap/pseudo-870995006> Playing 'rpt/node' (language 'en') -- <Zap/pseudo-870995006> Playing 'letters/k' (language 'en') -- <Zap/pseudo-870995006> Playing 'letters/e' (language 'en') -- <Zap/pseudo-870995006> Playing 'digits/2' (language 'en') -- <Zap/pseudo-870995006> Playing 'letters/n' (language 'en') -- <Zap/pseudo-870995006> Playing 'rpt/connected' (language 'en') -- <Zap/pseudo-870995006> Playing 'digits/2' (language 'en') -- <Zap/pseudo-870995006> Playing 'rpt/nodenames/27021' (language 'en')
Ken KE2N
-----Original Message----- From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users- bounces@ohnosec.org] On Behalf Of Phil N6TCT Sent: Sunday, June 05, 2011 8:34 PM To: app_rpt mailing list Subject: [App_rpt-users] app_rpt and allstarlink web transceiver problem
With help from this list we've made great progress getting our app_rpt hub node (27680) up and on the air (er, well, on the Internet, anyway) and permalinked to our solar beagleboard node with radios on the mountaintop. I can connect to the hub via iaxRpt and it works great. The hub is also an echolink node, and I can connect to it via echolink and all is well.
Unfortunately, I can't connect to it via the allstarlink web transceiver. Looking at the asterisk logs on node 27680, node 27680 receives the call from the web transceiver and starts executing the "s" extension in context "allstar-public", as it should. It gets a "CALLERID(name)" of some hex string, gets a "CALLERID(number)" of 27680, and then the CURL to https://register.allstarlink.org/cgi- bin/authwebphone.pl?${CALLERID(name) returns a "???" response, causing the connection to hangup.
Any ideas?
Thanks!
Phil, N6TCT _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
Nope, that's enabled. Jim figured out what the problem is -- it's related to the fact that the machine I'm running the app_rpt hub on has multiple IP addresses (it's a server in a colo facility). In essence, the registration with the allstarlink server ends up coming from a different IP address than the one used for carrying on an IAX conversation. I am working to address this on my end ... I'll post a note when I have it all working. Thanks for your help! Phil, N6TCT On Mon, Jun 6, 2011 at 1:54 AM, Ken <ke2n@cs.com> wrote:
Silly question: is it possible you do not have web transceiver access enabled in the portal setup menu?
participants (2)
-
Ken -
Phil N6TCT