[asterisk-users] Need help registering Cisco 7960 Phones on Asterisk

Zeeshan Zakaria zishanov at gmail.com
Wed Jan 21 10:56:31 CST 2009


Actually it was a missing " which was causing not all the settings to be
uploaded.

Now the phone is registered on 3 servers and working fine on all of them.

Zeeshan

On Wed, Jan 21, 2009 at 10:52 AM, Zeeshan Zakaria <zishanov at gmail.com>wrote:

> Thanks for these scripts. Good thing is that now phone has got registered
> on two servers.
>
> Now a new weird problem I am having is that it is not loading all the
> entries from SIPDefault.cnf. It is loading only proxy related settings and
> ignoring the rest.
>
> Also I have 6 lines on this phone, but it doesn't register if I set any
> extension on lines 3 and above. It only registers first two lines.
>
> Any idea what could be reason for this to happen?
>
> Zeeshan
>
>
>
> On Wed, Jan 21, 2009 at 9:01 AM, D Tucny <d at tucny.com> wrote:
>
>> Zeeshan,
>>
>> I've put them on a server so that you should be able to access them...
>>
>> http://astinfo.newportcoastsoftware.com/SIPDefault.cnf
>> http://astinfo.newportcoastsoftware.com/SIPmacaddress.cnf
>>
>> d
>>
>> 2009/1/21 Zeeshan Zakaria <zishanov at gmail.com>
>>
>> D Tuncy, if you don't mind, can you show me your config files which you
>>> are using to successfully register phones on two servers. I tried various
>>> different things, and once it got registered on two servers, but couldn't
>>> dialout on any. Now it is again back on only one server and I don't remember
>>> changing any proxy setting. I must be doing something wrong which I don't
>>> know what it is.
>>>
>>> Zeeshan
>>>
>>>
>>> On Tue, Jan 20, 2009 at 1:58 AM, D Tucny <d at tucny.com> wrote:
>>>
>>>> That's not my experience...
>>>> e.g.
>>>>
>>>> SIP Phone> show register
>>>>
>>>> LINE REGISTRATION TABLE
>>>> Proxy Registration: ENABLED, state: REGISTERED
>>>> line  APR  state          timer       expires     proxy:port
>>>> ----  ---  -------------  ----------  ----------
>>>>  ----------------------------
>>>> 1     111  REGISTERED     115         98          192.168.1.1:5060
>>>> 2     111  REGISTERED     115         98          192.168.1.12:5060
>>>> 3     ...  NONE           0           0           undefined:0
>>>> 4     ...  NONE           0           0           undefined:0
>>>> 5     ...  NONE           0           0           undefined:0
>>>> 6     ...  NONE           0           0           undefined:0
>>>> 1-BU  111  REGISTERED     115         98          192.168.1.1:5060
>>>>
>>>> Note: APR is Authenticated, Provisioned, Registered
>>>>
>>>> I can see registers on both servers...
>>>>
>>>> d
>>>>
>>>> 2009/1/20 Yehavi Bourvine <yehavi.bourvine at gmail.com>
>>>>
>>>>  From my experience it won't register to the second box, only to the
>>>>> first one. Why? god knows...
>>>>>
>>>>>                         __Yehavi:
>>>>>
>>>>> 2009/1/20 D Tucny <d at tucny.com>
>>>>>
>>>>>>  2009/1/20 Zeeshan Zakaria <zishanov at gmail.com>
>>>>>>
>>>>>> Hi everyone,
>>>>>>>
>>>>>>> I googled this followed the instructions, but it hasn't work for me
>>>>>>> yet.
>>>>>>>
>>>>>>> I have universal setting in SIPDefault.cnf and phone specific
>>>>>>> settings in SIPXXXXXXXXXX.cnf. But it doesn't get registered.
>>>>>>>
>>>>>>> I need to register it on two different asterisk boxes. So my
>>>>>>> SIPXXXXXXXXXX.cnf looks like this:
>>>>>>>
>>>>>>> phone_label: "Zeeshan A Zakaria"
>>>>>>>
>>>>>>> line1_name: "523"
>>>>>>> line1_displayname: "Zeeshan A Zakaria"
>>>>>>> line1_authname: "523"
>>>>>>> line1_password: "523"
>>>>>>> line1_shortname: "x523"
>>>>>>>
>>>>>>> line2_name: "523"
>>>>>>> line2_displayname: "Zeeshan"
>>>>>>> line2_authname: "523"
>>>>>>> line2_password: "523"
>>>>>>> line2_shortname: "x523"
>>>>>>>
>>>>>>> line3_name: "224"
>>>>>>> line3_displayname: "Zeeshan"
>>>>>>> line3_authname: "224"
>>>>>>> line3_password: "224"
>>>>>>> line3_shortname: "x224"
>>>>>>>
>>>>>>> SIPDefault.cnf contains default settings along with proxy info like
>>>>>>> this:
>>>>>>>
>>>>>>> proxy1_address: "xxx.xxx.xxx.xxx"
>>>>>>> proxy1_port: "5060"
>>>>>>>
>>>>>>> proxy2_address: "xxx.xxx.xxx.xxx"
>>>>>>> proxy2_port: "5060"
>>>>>>>
>>>>>>> proxy3_address: "xxx.xxx.xxx.xxx"
>>>>>>> proxy3_port: "5060"
>>>>>>>
>>>>>>>
>>>>>>> Same settings work fine from Grandstream phone, and X-lite. What am I
>>>>>>> missing on this Cisco phone configuration?
>>>>>>>
>>>>>>
>>>>>> That all looks fine, though I don't think the ports need quotes...
>>>>>>
>>>>>> You do have
>>>>>> proxy_register: 1
>>>>>> too don't you?
>>>>>>
>>>>>> If so, check the debug output from sip set debug on, or, sip set debug
>>>>>> peer 224 to see if it's reaching the server but not authenticating etc...
>>>>>> Also, you can log into the phone using telnet to check status and restart
>>>>>> registration (and many more things)
>>>>>>
>>>>>> d
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>>>>
>>>>>> asterisk-users mailing list
>>>>>> To UNSUBSCRIBE or update options visit:
>>>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>>>
>>>>> asterisk-users mailing list
>>>>> To UNSUBSCRIBE or update options visit:
>>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>>
>>>> asterisk-users mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>
>>>
>>>
>>>
>>> --
>>> Zeeshan A Zakaria
>>>
>>> _______________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
> --
> Zeeshan A Zakaria
>



-- 
Zeeshan A Zakaria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090121/a60c9caa/attachment-0001.htm 


More information about the asterisk-users mailing list