Koozali.org: home of the SME Server

Long shot. Anyone used VOIPON AIX trunk in the UK ?

Offline Drifting

  • *****
  • 431
  • +0/-0
Long shot. Anyone used VOIPON AIX trunk in the UK ?
« on: August 18, 2011, 12:22:41 PM »
I have been having rather a nightmare configuring Sark with Voipon, neither are the problems Sark's or Voipon. It's me not having a lot of idea as to what I should be entering for an IAX trunk when Voipon are not listed as a trunk option.

Seem to have the trunk alive, but so far will not accept an incoming call.
Version: sail-2.2.4-54

Regards Paul
Infamy, Infamy, they all have it in for me!

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #1 on: August 18, 2011, 04:50:48 PM »
Hi Paul

Can you post the Voipon settings please?  Usually, with other IAX trunk vendors, you need to log in to a portal and point the trunk at your PBX IP (Gradwell and Telappliant both work this way).  Have you done this for this trunk?

Kind Regards

Jeff

Offline Drifting

  • *****
  • 431
  • +0/-0
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #2 on: August 18, 2011, 05:33:19 PM »
Yes, I have set the options on the voipon service. And have them confirmed by their excellent support people. It is pointing to my IP.

Perhaps this might help in explaining what they require to be set? :-

https://www.voipon.co.uk/helpdesk/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=103&nav=0,1,10

Regards Paul
Infamy, Infamy, they all have it in for me!

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #3 on: August 18, 2011, 06:21:45 PM »
Quote
Perhaps this might help in explaining what they require to be set? :-

It's not very clear from their documentation but it looks as though you need to create a DDI (PTT_DiD_Group in SARK) for the dialled number (your voipon number) and use that to route your call.

If that doesn't work and they can't tell you what they are sending then you will need to run a trace either from wireshark or tcpdump. You can also run a trace from the asterisk console by doing

iax2 set debug on

and then sending a call in and seeing what you get.

Best

S

Offline Drifting

  • *****
  • 431
  • +0/-0
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #4 on: August 18, 2011, 06:34:29 PM »
In for a penny, so might as well make myself look a total dunce. I have no idea how to do what you suggested, that was apart from the debug part and wireshark. So in essence your saying go read the sark documentation? unless your feeling kind and explain the DDI part a little more? like where do you create such a thing?

Paul
Ever the pain.
Infamy, Infamy, they all have it in for me!

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #5 on: August 18, 2011, 06:38:01 PM »
in trunks; create a new trunk and choose PTT_DiD_Group from the drop down.  The rest is pretty much like creating any other trunk. V2.x reference page for DiD is here

http://www.sailpbx.com/twiki/bin/view/Main/DocChapter095

Best

Offline Drifting

  • *****
  • 431
  • +0/-0
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #6 on: August 18, 2011, 06:56:16 PM »
Well I read the document link you sent, it is rather terse.
Still not sure exactly what I am supposed to be putting where.

I think my problems are a little more basic, and I am under the impression it is the IAX truck, and the settings for the account. If you are confused by their documentation, then what hope have I?

I did the debug on IAX and saw nothing, which makes me think the status about the truck connected is telling me porkies.

Going to go eat, been fighting with this for weeks, giving up for the night. Thanks for the help.

Paul
Infamy, Infamy, they all have it in for me!

Offline surevoip

  • 2
  • +0/-0
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #7 on: August 18, 2011, 11:17:07 PM »
Hi Paul,

We know the guys at VoIPOn well.

Try this guide for debugging captures:

http://www.surevoip.co.uk/support/wiki/using_command_line_tools_on_windows_and_gnu_linux#analysing_traffic

Is your firewall all setup OK?

Offline Drifting

  • *****
  • 431
  • +0/-0
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #8 on: August 19, 2011, 09:12:30 PM »
Hi Paul,

We know the guys at VoIPOn well.

Try this guide for debugging captures:

http://www.surevoip.co.uk/support/wiki/using_command_line_tools_on_windows_and_gnu_linux#analysing_traffic

Is your firewall all setup OK?

Thank you for the reply.

Yes my firewall is fine, and I have two other test IAX trunks working fine to external servers. (Sark boxes).
I had a brief look at your docs, will take a further look next week, have to go earn money so I can play later :-) Did get an email back from voipon. Seems it goes with the territory with voip and linux, everyone thinks we know as much as them :-)

We are sending the call to him, Below is the IAX packet as sent. We are not receiving any replies to the NEW packet:

Timestamp: 00014ms SCall: 00041 DCall: 00000 [My IP:4569]
VERSION : 2
CALLED NUMBER : 0845******
CODEC_PREFS : (alaw|ulaw|gsm|ilbc|g729|g723)
CALLING NUMBER :
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME :
LANGUAGE : en
USERNAME : 0845******
ENCRYPTION : 32768
FORMAT : 8
CAPABILITY : 40959
ADSICPE : 2

Now I note from the above that the USERNAME is not the username they gave me, but the actual 0845 number, I wonder? will try changing to the number and see what happens. I love the Sark system, but sometimes I get so confused as all the information on the net equates to standard asterisk conf files, and being a muppet I would not dare mess with them in a templated system.

Regards Paul
Infamy, Infamy, they all have it in for me!

Offline surevoip

  • 2
  • +0/-0
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #9 on: August 22, 2011, 03:26:37 PM »
How did you get on?

Offline Drifting

  • *****
  • 431
  • +0/-0
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #10 on: August 23, 2011, 02:22:49 PM »
How did you get on?

Well bless his little cotton socks, Mr Sark took a look at my system, and it seems that I have IAX blocked? which seems odd as I have had trunks running to other systems, so can only assume it was one of those open session out, then allow back?

Any hoo it is working, and thanks everyone for their help.

Regards Paul
Infamy, Infamy, they all have it in for me!

Offline Drifting

  • *****
  • 431
  • +0/-0
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #11 on: April 02, 2012, 11:22:30 AM »
Hi All.

Have since updated to the latest ISO version SME8A14V31135.

Copied all the settings from the earlier working version of sail, but for the life of me I cannot get this trunk to register.

Connected to Asterisk 1.4.36 currently running on voipsbs (pid = 30707)
voipsbs*CLI> iax2 show registry
Host                  dnsmgr  Username    Perceived             Refresh  State
0.0.0.0:4569          N       747****     <Unregistered>             60  Unregistered

checked the obvious :-

[root@voipsbs ~]# /etc/init.d/masq status | grep 4569
ACCEPT     udp  --  0.0.0.0/0            2**.***.***.***        udp dpt:4569

So I know IAX is open to the world.

All I can assume is that it is a miss configuration on my part, but I really am suffering with word blindness and cannot see it. In the trucks it shows as connected to the voip provider.

IAX2 show peers
peer8556/747*** 217.14.138.130 (s) 255.255.255.255 4569

Any suggestions?

Regards

Infamy, Infamy, they all have it in for me!

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #12 on: April 02, 2012, 01:09:09 PM »
what does the registration string look like?  - just type uuuu for the username and pppp for the password.

Kind Regards

S

Offline Drifting

  • *****
  • 431
  • +0/-0
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #13 on: April 02, 2012, 01:15:55 PM »
Hi

Under line in trunk the registration line is:-

747uuuu:pppppppp@iax.voipon.co.uk/74uuuu

And under peer :-

type=peer
host=iax.voipon.co.uk
qualify=3000
canreinvite=no
username=747uuuu
fromuser=747uuuu
secret=pppppppp
disallow=all
allow=alaw
allow=ulaw

Regards
Infamy, Infamy, they all have it in for me!

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Long shot. Anyone used VOIPON AIX trunk in the UK ?
« Reply #14 on: April 02, 2012, 02:50:19 PM »
on the face of it, it looks OK.  You'll need to ask voipon why it isn't accepting the registration.

Best

s