Author
Topic: Asterisk on 10.04 with IAX (Read 6068 times)

I have installed LMCE1004 and are testing the Asterisk setup.Ok let me mention what I had a IAX connection to my VoIP provide on Trixbox and it work with no issue when I got my registration setting in.

So I wanted to see if I could get this working on LMCE.It is a clean install of LMCE with no changes. I setup my connection to my VoIP provider and I get a confirmation from the provider that I am register to them over IAX."(Authenticated using the IAX2 protocol)"

However when I call, It just goes to Voice mail on the provider side. When I had this with Trixbox I need to put in the trunk option for it to worked (from-trunk). but I can't do this on LMCE.So I am not sure if it is Asterisk that does not work or something that I have not done right.

Can any one please help me to get this working. Cause then I can move over to using LMCE.

I had an unknown error in the logs at some point put nothing anymore."NotifyHangup channel SIP/xxx.xxx.xxx.xxx-00000002, reason Unknown"

I have now tried to setup SIP connection and again it shows that I am register.But now when I call I get the number that I call does not exist.in the logs I am getting the error..05 09/03/12 18:42:32.036 NotifyHangup channel SIP/27.111.14.65-00000004, reason Unknown <0xb6362b70>

Thanks for your help, it looks like I got SIP working well it show up when I do "sip show peers"But I am not sure if it works cause my MD does not want to play ball.. So I think I will have to look at getting my cisco 7912 on first..

Has any one got a 7912 or 7940 working on LMCE? I have got SIP on them now,If any one have a quick how to that will be great.?I am not bothered about getting them to work on SCCP but if got SCCP working all good..

Foxi if you want to test iax, I have a VoIP provider that gives you a free basic account. I can give you mine to test.. I will love to get IAX working cause I found it to be better here in NZ. We have really back echo on SIP. Let me know if you have time

Have a 7912 working as SCCP, used the 7910 template. Before connecting you have to bring in the mac range in the template as per http://wiki.linuxmce.org/index.php/Cisco_7970and of course take the range out of the template for the 7970 so it doesn't get detected as a 7970

UPDATE: So I got my 7912G working as suggested by daballiemo, Thanks for that. So I created a device Template and will try to see if I can update the script so we can use more of the functions.

But now to go back to getting this setup in LMCE

So I tried what Foxie said by trying to make a call out, That works from the phone no problem, but still no call in* IAX does NOT show up with "sip show peers", but can call out.* SIP does show up with "sip show peers", but can't call out or in.

So I am not sure what ells I can try. I am using a provider here in New Zealand, 2Talk.co.nz

UPDATE: So I got my 7912G working as suggested by daballiemo, Thanks for that. So I created a device Template and will try to see if I can update the script so we can use more of the functions.

But now to go back to getting this setup in LMCE

So I tried what Foxie said by trying to make a call out, That works from the phone no problem, but still no call in* IAX does NOT show up with "sip show peers", but can call out.* SIP does show up with "sip show peers", but can't call out or in.

So I am not sure what ells I can try. I am using a provider here in New Zealand, 2Talk.co.nz

Any have any other ideas I can try to get this working?

C

I'm about to do a reinstall and will be setting up my Canadian based IAX provider. I'll keep you posted on how it goes.

UPDATE: So I got my 7912G working as suggested by daballiemo, Thanks for that. So I created a device Template and will try to see if I can update the script so we can use more of the functions.

But now to go back to getting this setup in LMCE

So I tried what Foxie said by trying to make a call out, That works from the phone no problem, but still no call in* IAX does NOT show up with "sip show peers", but can call out.* SIP does show up with "sip show peers", but can't call out or in.

So I am not sure what ells I can try. I am using a provider here in New Zealand, 2Talk.co.nz

Any have any other ideas I can try to get this working?

C

Another UPDATE

Ok I found this error now that I have rebooted my Core.I still using my IAX connection. called out no issue, well after I set the prefix, answer the call all is good..but then I call in this is showing up [Sep 8 10:23:51] ERROR[2202]: chan_iax2.c:4938 handle_call_token: Call rejected, CallToken Support required. If unexpected, resolve by placing address 202.180.76.166 in the calltokenoptional list or setting user {mynumber} requirecalltoken=no

and this is after I called out successfully..done a show peers and it is still not showing it updcerouter*CLI> sip show peersName/username Host Dyn Forcerport ACL Port Status Realtime0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]