Discussion:
[asterisk-users] Cisco 7942G and SEPMAC.cnf.xml and the registration
bilal ghayyad
2013-03-20 12:24:04 UTC
Permalink
Hello;

I am facing a problem to let Cisco IP Phone 7942G register on Asterisk. The firmware has been downloaded from the TFTP successfully and currently I am running this load SIP42.9-3-1SR2-1S*

I feel that there is a problem in the SEPMAC.cnf.xml but really I do not know which one to be used exactly. Basically, there is some effect that appears on the Phone (for example, it is appearing the extension on the button), but the Phone is not able to register. I tried to ssh or even http or https to the phone but I can not access it. Although I configured the ssh in the SEPMAC.cnf.xml as following:

<sshUserId>admin</sshUserId>
<sshPassword>cisco</sshPassword>

Anyone tried to register Cisco 7942G on Asterisk? Which SEPMAC.cnf.xml was used?

How I can access the Phone via ssh or http to be able to see the logs and understand what is happening?

By the way: this SEPMAC.cnf.xml is existed on cisco website? Is it specialized for each Phone type (does it differs from Cisco IP Phone 7940 to 7942 to 7960)?

Appreciate the help as really I am sticked at this point and not able to moveforward.

Thanks in advance.
Regards
Bilal
bilal ghayyad
2013-03-20 17:13:40 UTC
Permalink
Hello;

The phones are registering now. I found a SEPMAC.cnf.xml file and I used sip firmware version 8.3 and I configured nat=no at sip.conf and nat to be false in xml file.

But I am facing a time problem, I am in Kuwait country and the time that is appearing at the Phones screen is delayed by 3 hours. Kuwait time is GMT+3.

Anyone can help?

Now I am placing the following in the xml file (but I am sure it needs to be corrected, how I do not know):

<dateTimeSetting>
<dateTemplate>D/M/Y</dateTemplate>
<timeZone>Kuwait</timeZone>
<ntps>
<ntp>
<name>pool.ntp.org</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>



Regards
Bilal

------------
Post by bilal ghayyad
Hello;
I am facing a problem to let Cisco IP Phone 7942G register
on Asterisk. The firmware has been downloaded from the TFTP
successfully and currently I am running this load
SIP42.9-3-1SR2-1S*
I feel that there is a problem in the SEPMAC.cnf.xml but
really I do not know which one to be used exactly.
Basically, there is some effect that appears on the Phone
(for example, it is appearing the extension on the button),
but the Phone is not able to register. I tried to ssh or
even http or https to the phone but I can not access it.
Although I configured the ssh in the SEPMAC.cnf.xml as
<sshUserId>admin</sshUserId>
<sshPassword>cisco</sshPassword>
Anyone tried to register Cisco 7942G on Asterisk? Which
SEPMAC.cnf.xml was used?
How I can access the Phone via ssh or http to be able to see
the logs and understand what is happening?
By the way: this SEPMAC.cnf.xml is existed on cisco website?
Is it specialized for each Phone type (does it differs from
Cisco IP Phone 7940 to 7942 to 7960)?
Appreciate the help as really I am sticked at this point and
not able to moveforward.
Thanks in advance.
Regards
Bilal
Vladimir Mikhelson
2013-03-23 03:19:10 UTC
Permalink
Bilal,

Here is the respective section from my working 7906 .conf file:

<dateTimeSetting>
<dateTemplate>M/D/Ya</dateTemplate>
<timeZone>Central Standard/Daylight Time</timeZone>
<ntps>
<ntp>
<name>172.29.100.11</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>

172.29.100.11 is my local sntp server.

Hope that helps.

Thank you,
Vladimir
Post by bilal ghayyad
Hello;
The phones are registering now. I found a SEPMAC.cnf.xml file and I used sip firmware version 8.3 and I configured nat=no at sip.conf and nat to be false in xml file.
But I am facing a time problem, I am in Kuwait country and the time that is appearing at the Phones screen is delayed by 3 hours. Kuwait time is GMT+3.
Anyone can help?
<dateTimeSetting>
<dateTemplate>D/M/Y</dateTemplate>
<timeZone>Kuwait</timeZone>
<ntps>
<ntp>
<name>pool.ntp.org</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>
Regards
Bilal
------------
Post by bilal ghayyad
Hello;
I am facing a problem to let Cisco IP Phone 7942G register
on Asterisk. The firmware has been downloaded from the TFTP
successfully and currently I am running this load
SIP42.9-3-1SR2-1S*
I feel that there is a problem in the SEPMAC.cnf.xml but
really I do not know which one to be used exactly.
Basically, there is some effect that appears on the Phone
(for example, it is appearing the extension on the button),
but the Phone is not able to register. I tried to ssh or
even http or https to the phone but I can not access it.
Although I configured the ssh in the SEPMAC.cnf.xml as
<sshUserId>admin</sshUserId>
<sshPassword>cisco</sshPassword>
Anyone tried to register Cisco 7942G on Asterisk? Which
SEPMAC.cnf.xml was used?
How I can access the Phone via ssh or http to be able to see
the logs and understand what is happening?
By the way: this SEPMAC.cnf.xml is existed on cisco website?
Is it specialized for each Phone type (does it differs from
Cisco IP Phone 7940 to 7942 to 7960)?
Appreciate the help as really I am sticked at this point and
not able to moveforward.
Thanks in advance.
Regards
Bilal
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
http://www.asterisk.org/hello
asterisk-users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
Mark Henry
2013-03-24 16:59:02 UTC
Permalink
Hi,

I have this for UAE,

<dateTimeSetting>
<dateTemplate>D/M/YA</dateTemplate>
<timeZone>Arabian Standard Time</timeZone>
<ntps>
<ntp>
<name>2.2.2.2</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>

and this for Kenya

http://wwp.greenwichmeantime.com/time-zone/gmt-plus-3/ my Kenya(Saudia
Arabia time zone) will work for you as it is same as Kuwait

<dateTimeSetting>
<dateTemplate>D/M/YA</dateTemplate>
<timeZone>Saudi Arabia Standard Time</timeZone>
<ntps>
<ntp>
<name>2.2.2.2</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>

For other references, cisco phones also have tz time zones

Like I have this for US daylight time

<tzdata>
<tzolsonversion>2010i</tzolsonversion>
<tzupdater>tzupdater.jar</tzupdater>
</tzdata>
<dateTimeSetting>
<dateTemplate>D/M/YA</dateTemplate>
<timeZone>Eastern Standard/Daylight Time</timeZone>
<olsonTimeZone>America/New_York</olsonTimeZone>
<ntps>
<ntp>
<name>2.2.2.2</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>


I have experienced some 7940,7942 7965 hanging and couldn't found any
reason but that was resolved by using those in sip tcp mode instead of udp

Also, I am using this patch of asterisk which made these phones work
perfectly for softkeys, call transfers, 3 way conferencing and connected
caller id

https://issues.asterisk.org/jira/browse/ASTERISK-13145
Post by Vladimir Mikhelson
Bilal,
<dateTimeSetting>
<dateTemplate>M/D/Ya</dateTemplate>
<timeZone>Central Standard/Daylight Time</timeZone>
<ntps>
<ntp>
<name>172.29.100.11</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>
172.29.100.11 is my local sntp server.
Hope that helps.
Thank you,
Vladimir
Post by bilal ghayyad
Hello;
The phones are registering now. I found a SEPMAC.cnf.xml file and I used
sip firmware version 8.3 and I configured nat=no at sip.conf and nat to be
false in xml file.
Post by bilal ghayyad
But I am facing a time problem, I am in Kuwait country and the time that
is appearing at the Phones screen is delayed by 3 hours. Kuwait time is
GMT+3.
Post by bilal ghayyad
Anyone can help?
Now I am placing the following in the xml file (but I am sure it needs
<dateTimeSetting>
<dateTemplate>D/M/Y</dateTemplate>
<timeZone>Kuwait</timeZone>
<ntps>
<ntp>
<name>pool.ntp.org</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>
Regards
Bilal
------------
Post by bilal ghayyad
Hello;
I am facing a problem to let Cisco IP Phone 7942G register
on Asterisk. The firmware has been downloaded from the TFTP
successfully and currently I am running this load
SIP42.9-3-1SR2-1S*
I feel that there is a problem in the SEPMAC.cnf.xml but
really I do not know which one to be used exactly.
Basically, there is some effect that appears on the Phone
(for example, it is appearing the extension on the button),
but the Phone is not able to register. I tried to ssh or
even http or https to the phone but I can not access it.
Although I configured the ssh in the SEPMAC.cnf.xml as
<sshUserId>admin</sshUserId>
<sshPassword>cisco</sshPassword>
Anyone tried to register Cisco 7942G on Asterisk? Which
SEPMAC.cnf.xml was used?
How I can access the Phone via ssh or http to be able to see
the logs and understand what is happening?
By the way: this SEPMAC.cnf.xml is existed on cisco website?
Is it specialized for each Phone type (does it differs from
Cisco IP Phone 7940 to 7942 to 7960)?
Appreciate the help as really I am sticked at this point and
not able to moveforward.
Thanks in advance.
Regards
Bilal
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
http://www.asterisk.org/hello
asterisk-users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
http://www.asterisk.org/hello
asterisk-users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
Steve Edwards
2013-03-20 18:31:56 UTC
Permalink
I am facing a problem to let Cisco IP Phone 7942G...
How I can access the Phone via ssh or http to be able to see the logs
and understand what is happening?
I have a 7960 and the only 'way in' is telnet. I think the default
password is 'cisco'. Once in, start with the 'debug' command.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards ***@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
Loading...