Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - fastie81

Pages: [1] 2 3 ... 10
1
Users / Re: Asterisk on 10.04 with IAX
« on: September 10, 2012, 08:26:49 pm »
Hi Serge

Ok I gave it another go, but got the same results. This is what I did
Ran this first
dcerouter_1030932:/home/fastie81# mysql -u root asterisk -e "update iax_devices set requirecalltoken='no';"

No errors, then I ran this
dcerouter_1030932:/home/fastie81# mysql -u root asterisk -e "select id,name,username,type,requirecalltoken,context,host  from iax_devices;"
+----+-----------+-----------+------+------------------+------------+-----------------+
| id | name      | username  | type | requirecalltoken | context    | host            |
+----+-----------+-----------+------+------------------+------------+-----------------+
|  1 | {MyNymber} | {My Number} | peer | no               | from-trunk | iax.2talk.co.nz |
+----+-----------+-----------+------+------------------+------------+-----------------+

Then went in asterisk and did a ias2 show peers and it was still there

dcerouter*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status
{Mynumber}/04384  202.180.76.166  (S)  255.255.255.255  4569          UNKNOWN
1 iax2 peers [0 online, 1 offline, 0 unmonitored]

So I did an iax2 reload and a show peers again, I m seeing an error here so not sure if this is my problem.
dcerouter*CLI> iax2 reload
[Sep 11 06:17:19] ERROR[27857]: res_config_mysql.c:1611 mysql_reconnect: MySQL RealTime: Ping failed (2006).  Trying an explicit reconnect.
[Sep 11 06:17:19] NOTICE[27857]: chan_iax2.c:13107 set_config: Ignoring bindport on reload
[Sep 11 06:17:19] NOTICE[27857]: chan_iax2.c:13168 set_config: Ignoring bindaddr on reload
[Sep 11 06:17:19] NOTICE[27857]: iax2-provision.c:551 iax_provision_reload: No IAX provisioning configuration found, IAX provisioning disabled.
dcerouter*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status
0 iax2 peers [0 online, 0 offline, 0 unmonitored]

Then I made and out bound call and I got my iax to show up again
dcerouter*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status
{My number}/04384  202.180.76.166  (S)  255.255.255.255  4569          UNKNOWN
1 iax2 peers [0 online, 1 offline, 0 unmonitored]

When I call in this is what shows up
[Sep 11 06:18:18] ERROR[2224]: 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 043845842 requirecalltoken=no


Thanks again for looking at this.
C

2
Users / Re: Asterisk on 10.04 with IAX
« on: September 10, 2012, 10:27:11 am »
Hi Serge

I have run the command and still now go..

This is the out up when I try to call

dcerouter*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status
{My Number}/04384  202.180.76.166  (S)  255.255.255.255  4569          UNKNOWN
1 iax2 peers [0 online, 1 offline, 0 unmonitored]
[Sep 10 20:22:42] ERROR[2059]: 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 {my Number}requirecalltoken=no

This looks the same as before..
Do I need to reload the router to something?
how can I see if it set the setting?
I don;t get any error

dcerouter_1030932:/home/fastie81# mysql -u root asterisk -e "update iax_devices set requirecalltoken='no';"
dcerouter_1030932:/home/fastie81#

Thank you for helping me with this..
C

3
Users / Re: Can Not gain Access To FreePBX Setup
« on: September 10, 2012, 08:35:37 am »
Hi

FreePBX has been removed.
but the link has not been removed from webmin yet.

C

4
Users / Re: Asterisk on 10.04 with IAX
« on: September 10, 2012, 08:33:55 am »
Hi

After doing iax2 shows peers, I see this
This is after I have call out.

dcerouter*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status
{mynumber}/04384  202.180.76.166  (S)  255.255.255.255  4569          UNKNOWN
1 iax2 peers [0 online, 1 offline, 0 unmonitored]

but when I call is I get this

[Sep 10 18:28:10] ERROR[2069]: 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

Now one thing I did notice is when I call out, it is supper choppy.
I am not sure if this is a cause.
Any help will be great.

Thanks
C

5
Users / Re: Asterisk on 10.04 with IAX
« on: September 09, 2012, 10:01:29 pm »
Hi Josh

thanks for that..
It explains why I am not seeing anything..
Will give it a go tonight..

C

6
Users / Re: Asterisk on 10.04 with IAX
« on: September 08, 2012, 12:31:00 am »
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 up
dcerouter*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status     Realtime
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]

C



7
Users / Re: Asterisk on 10.04 with IAX
« on: September 07, 2012, 09:39:15 pm »
a man that would be awesome.
Thanks


8
Users / Re: Asterisk on 10.04 with IAX
« on: September 07, 2012, 09:09:00 pm »
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

9
Users / Re: Asterisk on 10.04 with IAX
« on: September 04, 2012, 10:19:30 pm »
Hi daballiemo

Thanks for your reply.
I will give that a go tonight.. I will maybe try to create a new Device template for the 7912 and the 7940
Will keep you guys updated how I get on.

C

10
Users / Re: Asterisk on 10.04 with IAX
« on: September 04, 2012, 10:37:55 am »
Hi

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

I will get back to you if that is ok when I get my Cisco devices on..

Thanks again

C

11
Users / Re: Asterisk on 10.04 with IAX
« on: September 03, 2012, 08:52:47 am »
UPDATE:

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>

if I disable the Phone Line then I go to my provides voice mail.

again any help will be great.
Thanks
C

12
Users / Asterisk on 10.04 with IAX
« on: September 02, 2012, 10:32:51 pm »
Hi Guys

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"

Thanks for your help

C

13
Users / Re: SabNZBD+ - Couch Potato - and SickBeard
« on: August 21, 2012, 02:08:22 am »
Hey Guys

I am running all this on my freeNAS,
It use the Jail concept for the apps to run.
I was reading that you can run that on an ubuntu OS to, but how I am not sure..
The only reason I am mentioning this is that you can run the apps in isolation from the OS so what happened to you when you enable the default source it can be mitigate.
here is the link so you want to have a read.
http://forums.freenas.org/showthread.php?6221-sabnzbd-sickbeard-couchpotato-pbi-s
and I do second this combination. it is one bad ass combo..
C



15
OMG Guys this app is the dog balls..

This just works.. no login on or anything. Thank you all so much..

I had to open my firewall for that port now I can even get it working on my home lan..
Thanks again
C

Pages: [1] 2 3 ... 10