Zoiper registration fail

Hi All,
I setup a new ASL3 node which is working great.
I even have an IAX connection working with DVSwitch.

I decided to try to get this all working with ios - so I did the zoiper setup I found here on the site, but it doesn’t want to register.

I created stanza’s in the iax.conf and did the modifications to extensions.conf - but that didn’t work.

So, I matched the zoiper app login info to match what I have on the DVSwitch - but in both cases I keep getting an error: “Failed to generate request(12)”

I’ve verified that the iphone can connect to the Allstar node (via a web browser), so I know that’s not it.

And ideas?

Thanks

My first guess without seeing your zopier setup would be that you need to specify the port with the IP like this…

123.456.1.100:4569

Without it, it will likely fail.

The second guess would be in the stanza of the zopier extension in iax.conf
to include

requirecalltoken = no

for asl3 in that same iax stanza

Thanks for that Mike - I gave it a shot and it still fails.

So, here’s the iax.conf
[zoiper]
username=NA6ER
type=friend
context=zoiper
host=dynamic
auth=md5
secret=aabbccdd
disallow=all
allow=ulaw
allow=g726aal2
allow=gsm
codecpriority=host
transfer=mo
requirecalltoken = no

And here’s the extentions.conf
[zoiper]
exten => _XXXXX!,1,Ringing()
same => n,Wait(1)
same => n,Answer()
same => n,Set(CALLSIGN=${CALLERID(name)})
same => n,NoOp(Caller ID name is ${CALLSIGN})
same => n,NoOp(Caller ID number is ${CALLERID(number)})
same => n,GotoIf(${ISNULL(${CALLSIGN})}?hangit)
same => n,Playback(rpt/connected)
same => n,Playback(rpt/connected-to&rpt/node)
same => n,SayDigits(${EXTEN})
same => n,rpt(${EXTEN}|P|${CALLSIGN})
same => n(hangit),NoOp(No Caller ID Name)
ame => n,Playback(connection-failed)
same => n,Wait(1)
same => n,Hangup

To add to the confusion - I programmed all this into DVSM, and it registers and I can connect to my local node.and from there to my other node (both on the same box).
However, I may have another issue, not sure where to start on it.
Some nodes I can connect to and it goes into a Transceive mode like it should, but I noticed that connecting to some other nodes it goes into a Receive Only mode.(examples below). Both are from an IAX connection.

Any ideas on that?

Thanks

I’n new, so I guess only 1 attachment at a time, so here’s the other:

Brian,
A login fail would be found mainly in one of two places…
The phone app or the stanza in iax.conf where you qualify the connection.

You will have to forgive me a bit as for zopier, I don’t use it in this way.
I give it a valid private extension to have access to dial anything in my box, including nodes and my trunks. And I can dial the zoiper extensions from a sip phone or the repeater.
So I have a harder time relating to just a ham extension.
And I’m not really sure why we do it this way but there must be a reason?
If you are using this to allow multi club users limiting phone access it makes sense.
But seems confusing to most for just listening/controlling a personal station.

Try this…

[NA6ER] ; <<<<<<<<<< user/extension
;username=NA6ER ; <<<<<<<< comment out if you like
type=friend
context=zoiper
host=dynamic
auth=md5
secret=aabbccdd
disallow=all
allow=ulaw
allow=g726aal2
allow=gsm
codecpriority=host
transfer=no
requirecalltoken = no

Asterisk will not find the correct stanza by username. But by stanza name.
It is the name of the extension. This is a telephony box first.
We just hijack extensions for radio.
When you get past the log-in, then the routing comes into play in extensions.
You can set the callerid(name and/or number) to something different than the username in the stanza if/as desired.

callerid=NA6ER<0>
or
callerid=Zoiper<0>
etc
The CID number, if you use it, should not be anything that might get conflicted with a real extension/node# and not in a possible blacklist.
I think I would prefer to use a 0 or something so it tracks through the logs with identity.

Don’t forget to change the secret if you copy/paste and restart asterisk after a save.