support

Configure 7960 with multiple extensions AND multiple servers

cityguru
Posts: 209
Member Since:
2006-06-02

Is it possible to configure multiple extensions from DIFFERENT servers? I know its possible to currently configure multiple extensions of the same server (trixbox) but I have extensions from different servers which I want all on the same phone.

line1_name: "5555"
line1_shortname: "5555"
line1_displayname: "5555"
line1_password: "1234"
proxy1_address: "xxx.xxx.xxx.xxx"
proxy1_port: "5060"
line2_name: "7777"
line2_shortname: "7777"
line2_displayname: "7777"
line2_password: "1234"
proxy2_address: "yyy.yyy.yyy.yyy"
proxy2_port: "5060"
line1_authname: "5555"
line2_authname: "7777"

xxx.xxx.xxx.xxx - is one trixbox server
yyy.yyy.yyy.yyy - is another trixbox server

What I find is that the Line settings using this above format does work such that it inputs these settings correctly (so that if you view via the phones settings button and then to Sip configuration you will see all the settings populated)

Problem is that it wants to pull this info from SIPdesfault.conf and even if I put the proxy in that file for the different servers it still doesnt work.

I guess if someone has this info it would be a great help or an example

Thanks in advance



cityguru
Posts: 209
Member Since:
2006-06-02
Solved

Ok, Well I solved it myself and its only responsible to now share this with the rest of the community.

So, if any of you are looking to do the same as above, its completely possible but you will need to essentially combine SIPDefault.conf with SIP.conf and then getting rid of SIPDefault.conf

Truth is you really dont need SIPDefault if you take all the info from SIPDefault and put it into your SIP.conf file.

So first copy and paste the code from one to the other, then remove all the proxy refrences you may have had set in SIPDefault
ie: proxy_emergency_port: ""
So leaving it as "" is fine, be sure to do the same with backup and any other proxy/port field.

Then the code above DOES in fact work, so feel free to paste something like the above towards the bottom of the page
line1_name: "5555"
line1_shortname: "5555"
line1_displayname: "5555"
line1_password: "1234"
proxy1_address: "xxx.xxx.xxx.xxx"
proxy1_port: "5060"
line2_name: "7777"
line2_shortname: "7777"
line2_displayname: "7777"
line2_password: "1234"
proxy2_address: "yyy.yyy.yyy.yyy"
proxy2_port: "5060"
line1_authname: "5555"
line2_authname: "7777"

Then just Save it and get rid of SIPDefault, the phone will take just the SIP.conf file and wont find the sipdefault but everything it will need will be in the file. IT should all work, it did for me. Seperately these files dont seem to work, but sticking everything in one file allowed me to use different servers.

NOTE:
If you just want to have multiple extensions and not from multiple servers, but just one server, then you do not see to do what I listed above, SIPDefault can be programmed with your proxy info and other general settings (like nat, etc) and the SIP.conf can contain the line settings (for different extensions)

Hope this helps, remember this is just on 7960, never tried it on anything else



versodom
Posts: 22
Member Since:
2006-07-24
7960 multiple lines to multiple servers

I experience almost daily lock up problems when you configure the 7960/7940 to register to different Asterisk servers. The phone will work great for a while, but will then lock up. I have experienced this on multiple 7960/7940 phones with several software loads. Other people claim that they have the same issues. If you are not experiencing these lock up issues, could you please post your set up files and indicate what software loads you are using?
Thx.



cityguru
Posts: 209
Member Since:
2006-06-02
What do you mean by lockup?

What do you mean by lockup? you mean it freezes?

The application load I am using is the one ending in 09-00, also tried with 08-00



versodom
Posts: 22
Member Since:
2006-07-24
Yes Freezes

If you use the 7960/7940 with diferent proxy settings the phone will freeze withen 24 hours. This does not occur if the proxy's are on the same subnet, it only occurs if you have one proxy local and the other NATed through a firewall. Therefor if you want to register to a local server and a remote server going through a firewall, it freezes the phone withen 24 hours and then you must re-boot the phone again.



cityguru
Posts: 209
Member Since:
2006-06-02
Interesting, I definitely

Interesting, I definitely have different servers on different proxys not on the same subnet, 2 or are on the same, another 2 are on a different and another 2 are on another network where those proxies are Nated and it doesnt freeze on me



wtodd
Posts: 306
Member Since:
2007-04-29
for what its worth

i also have multiple phones on multiple servers on different networks and different subnets. I have phones with up to three servers on one phone and no problems and no resetting necessary following the above instrucitons.



SkykingOH
Posts: 3666
Member Since:
2007-12-17
Count me in also, works fine

Count me in also, works fine for me.

Scott

--

Scott

aka "Skyking"



versodom
Posts: 22
Member Since:
2006-07-24
Using your settings it works fine with me also

The problem occurs when you have one extension registered on a server within the local private network (not NATed) and other extensions registered to servers connected through the public network (NATed). Today, I have 4 extensions registered to 4 different external servers (NATed) with zero problems (and I have the same setup with a different 7960 using different extensions at another location with zero problems). The problem occurs when I also register a local server (not NATed) to either one of these phones. Another member of the Atlanta Asterisk user group has experienced the same issue and will not use the 7960 anymore for this purpose. I have programmed an Aastra 480i using the same external NATed extensions and one registered locally without any difficulties. I don't know if you have configured your phones differently but I have never been able to get this to work for more than one or two day’s without freezing.



Jhon
Posts: 1
Member Since:
2008-08-17
linksysPAP2-NA it does not work in other place

I have a trixbox server. I configure the 2 linksysPAP2-Na with the same configuration except in the SIP Proxy one is trixbox and the other one is My DNS Proxy but with four deferent extensions. The two units has been plug at they same time in to my router. They have a dial tone. It can receive a call and can dial out for both. When i bring these one unit to other place which is the one with DNS proxy just to try and I plug to there router. The router gives an IP address which a good sign. I got a dial tone. I can dial out. I can receive a ring but I do not have an audio I mean to say I can talk but the other side can not hear me and vice versa.

Do anyone have idea?



SkykingOH
Posts: 3666
Member Since:
2007-12-17
Don't hijack a thread
Quote:
Do anyone have idea?

Yes read the subject.

It is very bad form to interrupt someone else's thread with your own problem. Akin to interrupting a private conversation between two people you do not know.

Before you open the thread why don't you search for NAT and one way audio problems? There are 100's of threads and information in the Wiki.

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.