Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.
Buying anything on Amazon? Please use the Geekzone Amazon aff link.




272 posts

Ultimate Geek
+1 received by user: 2


Topic # 89563 5-Sep-2011 14:32 Send private message


Have got the following setup and currently no amount of trickery will allow me to register a "second line" in my SPA2101

TD8840 in Half Bridge mode.  LAN IP Address 192.168.1.1
WRT54GL with TomatoUSB.  LAN IP 10.0.0.1 with DHCP Disabled (have a SBS server for that)

SPA2102 is attached to the main office switch and has IP Address 10.0.0.2.

Have set the SPA2101 to have both lines enabled and setup with 2Talk.  Line1 on SIP port 5060 and Line2 on SIP port 5061.
Also setup the SPA2102 to use stun.2talk.co.nz.

If I place Account1 on Line1 (SIP port 5060) everything registers OK
When I placed Account2 onto Line2 (SIP port 5061), the SPA2101 always shows "Registration State:Failed"
but I have a dialtone from the SPA2102, just cant make or receive calls.  THe 2Talk shows the line as "offline".

To make sure it wasnt the account itself, I can register OK with a Softphone on my Laptop using Account2.

Next first thought was faulty cables, but that didnt change anything ... still Line2 offline.

Then I thought faulty port on the SPA2101 ... so changed Line2 to have SIP port 5060 and Line1 to have 5061.
After saving that, I had the other line available ... ie now Account2 was online and Account1 offline. 

From my understanding NAT shouldn't be a problem, but it seems to be pointing to that somehow.
To make sure Ive setup Port Forwarding
On   Both 5060,5061     10.0.0.2 
On   Both 10000-20000 10.0.0.2 
On   Both 16384-32767 10.0.0.2 

One thing 2Talk suggest is possibly using Alternate ports for SIP, so I setup Line1 with SIP port 50600 and using proxy 2talk.co.nz:50600 and Line2 using SIP Port 50610 and 2talk.co.nz:50610.

The weird thing was again Account1 worked fine, but the second Line wouldnt register.

What else can I try?

Create new topic
3569 posts

Uber Geek
+1 received by user: 62

Trusted
WorldxChange

  Reply # 516873 5-Sep-2011 14:35 Send private message

I would suggest with that error it is the user credentials, perhaps try putting them in again




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

             

https://www.facebook.com/wxccommunications



272 posts

Ultimate Geek
+1 received by user: 2


  Reply # 516874 5-Sep-2011 14:37 Send private message

maverick: I would suggest with that error it is the user credentials, perhaps try putting them in again


Sorry, should point out also, that when I changed the SIP ports around in the SPA2102 ... I left everything else as it was ... accountname, AuthIDs, Passwords etc ... and it all worked.

I had a thought maybe I only have one account "line" on 2Talk ... but out plan is the 2 phoneline account.  



272 posts

Ultimate Geek
+1 received by user: 2


  Reply # 516884 5-Sep-2011 15:06 Send private message


Think I may have solved it.

Kept Line1 at SIP port 5060 and changed Line2 to be SIP Port 50600 ... and bingo all registered OK and calls in and out.



272 posts

Ultimate Geek
+1 received by user: 2


  Reply # 518970 9-Sep-2011 12:37 Send private message


Do any others have their SPA2102's working OK with 2 physical phone lines used?

All had been going OK for the 4 days or so, then whamoo it all went to custard last night.

First up the Web interface to my WRT54GL stopped responding (internet access was all OK) ... and at the time didnt think anything of it.
But once the family all got home ... then it hit the fan. No phone calls could be made, and when they went through it was like you were talking in a tin can ... plus massive delays. WAF went to zero! :)

Figuring it was the WRT54GL (running TomatoUSB), restarted it ... and then things got worse. Without any change to the SPA2102 ATA, all of a sudden both lines werent registering at 2Talk. I could via a Softphone ... but not via the ATA. Couldnt even get one line to register.

After trying everything, decided to start all over again ... so factory reset the SPA2102 (believe me its a pain 2Talk not having a script!!!!!).

Previously Id found I couldn't get 2 lines to register at once ... but got it working by using different SIP ports (LIne 1 5060 and Line 2 50600).

Not this time. No amount of combinations/permutations was giving any success. I could get one line registered (eg using 5060) ... but not the other (using 5061, 50610, 50600). If I had one line working on 5060 and then merely change it to 50600 ... it would fail straight away. In the SPA2102 I was changing (for eg):
SIP Port: 5060
Proxy: 2talk.co.nz:5060
Outbound Proxy: 2talk.co.nz:5060

with STUN enabled.

It was totally confusing me. If I changed LIne 1 to be 50600 (for example) from 5060 it would fail, and set Line 2 to be 5060 ... and suddenly line 2 would start working. I was resetting the lines at 2Talk between each test. I could use a SIP port which didnt register on 1 line, to then register on another and vice versa. No pattern seemed to explain it all. Restarted both devices .... no luck.

In the end I disabled one line totally (line1), got Line 2 working on 5061 and then enabled Line 1, set it on 50600 ... and all of a sudden I was able to register both lines.

In the WRT54GL I noticed dropped connections from the 2TALK IP Address to 5060, 5061, 50600 and 50610 ... so added some firewall rules in as well. SO not sure if this was necessary, as they hadnt been in place for the past week.

Im wondering if I had a Denial of Service attack of something ... a) to make the WRT54GL unresponsive on the Web Interface ...?? Would/could this have stuffed the SPA2102 for a while?

Ive now setup a Syslog server on my Windows Server to start collecting some info from the SPA2102 (what a device .... no ability to backup/save a config, and no way to view any logs from within in) as well as the WRT54GL ... as by forcing it to restart to get onto it, I lost all the logs.

20203 posts

Uber Geek
+1 received by user: 1766

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 519004 9-Sep-2011 14:02 Send private message

These devices are really designed to be remotely provisioned, hence Cisco not including the ability to extract the XML config.

Every Linksys/Cisco phone can have the config extracted in XML format which can be reloaded from a provisioning server.




272 posts

Ultimate Geek
+1 received by user: 2


  Reply # 519006 9-Sep-2011 14:03 Send private message

sbiddle: These devices are really designed to be remotely provisioned, hence Cisco not including the ability to extract the XML config.

Every Linksys/Cisco phone can have the config extracted in XML format which can be reloaded from a provisioning server.



Hmmm so then it is possible for me setup my "own" provisioning server ? 

20203 posts

Uber Geek
+1 received by user: 1766

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 519013 9-Sep-2011 14:08 Send private message

thekiwi:
sbiddle: These devices are really designed to be remotely provisioned, hence Cisco not including the ability to extract the XML config.

Every Linksys/Cisco phone can have the config extracted in XML format which can be reloaded from a provisioning server.



Hmmm so then it is possible for me setup my "own" provisioning server ? 


Yip, all you need is a HTTP(S), FTP or TFTP if you're on the same subnet.


Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





Trending now »

Hot discussions in our forums right now:

Crew Drinking on Flights - Why!?
Created by networkn, last reply by Dratsab on 21-Dec-2014 22:04 (27 replies)
Pages... 2


Police Camera Van Disguise
Created by Reanalyse, last reply by lNomNoml on 21-Dec-2014 23:33 (75 replies)
Pages... 3 4 5


Do I have the right to return this?
Created by corksta, last reply by kiwibro111 on 21-Dec-2014 23:54 (45 replies)
Pages... 2 3


Slaughter of Innocents
Created by networkn, last reply by networkn on 19-Dec-2014 17:46 (64 replies)
Pages... 3 4 5


Spray Foam Insulation
Created by AACTech, last reply by timbosan on 19-Dec-2014 16:58 (36 replies)
Pages... 2 3


Couriers starting to charge for redelivery
Created by mattwnz, last reply by rendezvous on 19-Dec-2014 11:45 (78 replies)
Pages... 4 5 6


Google Chromecast now available in New Zealand
Created by freitasm, last reply by michelangelonz on 20-Dec-2014 10:38 (155 replies)
Pages... 9 10 11


forgot how to unlock a car door
Created by joker97, last reply by joker97 on 21-Dec-2014 07:34 (53 replies)
Pages... 2 3 4



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.