Re: [asterisk-users] Cisco 7942G and SEPMAC.cnf.xml and the registration

2013-03-24 Thread Mark Henry
Hi,

I have this for UAE,

dateTimeSetting
dateTemplateD/M/YA/dateTemplate
timeZoneArabian Standard Time/timeZone
ntps
ntp
name2.2.2.2/name
ntpModeUnicast/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
dateTemplateD/M/YA/dateTemplate
timeZoneSaudi Arabia Standard Time/timeZone
ntps
ntp
name2.2.2.2/name
ntpModeUnicast/ntpMode
/ntp
/ntps
/dateTimeSetting

For other references, cisco phones also have tz time zones

Like I have this for US daylight time

tzdata
tzolsonversion2010i/tzolsonversion
tzupdatertzupdater.jar/tzupdater
 /tzdata
dateTimeSetting
dateTemplateD/M/YA/dateTemplate
 timeZoneEastern Standard/Daylight Time/timeZone
olsonTimeZoneAmerica/New_York/olsonTimeZone
 ntps
ntp
name2.2.2.2/name
 ntpModeUnicast/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


On Sat, Mar 23, 2013 at 7:19 AM, Vladimir Mikhelson v...@mikhelson.comwrote:

 Bilal,

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

dateTimeSetting
   dateTemplateM/D/Ya/dateTemplate
   timeZoneCentral Standard/Daylight Time/timeZone
   ntps
  ntp
 name172.29.100.11/name
 ntpModeUnicast/ntpMode
  /ntp
   /ntps
/dateTimeSetting

 172.29.100.11 is my local sntp server.

 Hope that helps.

 Thank you,
 Vladimir



 On 3/20/2013 12:13 PM, bilal ghayyad wrote:
  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
  dateTemplateD/M/Y/dateTemplate
  timeZoneKuwait/timeZone
  ntps
  ntp
  namepool.ntp.org/name
  ntpModeUnicast/ntpMode
  /ntp
  /ntps
  /dateTimeSetting
 
 
 
  Regards
  Bilal
 
  
  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:
 
  sshUserIdadmin/sshUserId
  sshPasswordcisco/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 --
  New to Asterisk? Join us for a live introductory webinar every Thurs:
 http://www.asterisk.org/hello
 
  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 --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   

Re: [asterisk-users] Optimizing Asterisk Environment

2013-03-24 Thread Tzafrir Cohen
On Sat, Mar 23, 2013 at 09:33:38AM -0400, Nick Khamis wrote:
 Hello Everyone,
 
 We are getting some rather poor results (relative) with our Asterisk
 setup. Not sure if we are using the sipp correctly etc.. but
 nevertheless, is there any documentation that describes how we can get
 the most our of our Asterisk box. For example when we hit the too
 many file error, and fixing it using ulimit. Also, is there any
 way we can allocate sufficient memory to our Asterisk instance when
 starting the PBX.

On any decent OS the OS should do that automatically for you.

 
 An up to date and in-depth tutorial that covers this would be great. A
 quick search yielded pretty motivating success stories, but no little
 to no description on how to achieve them.

What do you want to optimize? What is the current bottleneck?

Run the system in full capacity and provide us some data. For
starters:

free -m
uptime
vmstat

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Optimizing Asterisk Environment

2013-03-24 Thread Steve Edwards

On Sat, Mar 23, 2013 at 09:33:38AM -0400, Nick Khamis wrote:


We are getting some rather poor results (relative) with our Asterisk 
setup.


On Sun, 24 Mar 2013, Tzafrir Cohen wrote:

Run the system in full capacity and provide us some data. For 
starters:


free -m
uptime
vmstat


ethtool - make sure the interfaces are set correctly - look for 'Speed: 
1000Mb/s' and 'Duplex: Full'


ifconfig - look at the error counters

iftop - how many bits are you pushing in each direction

I've got a 7 year old Xeon box with 2GB running Asterisk 1.2 that handles 
300 channels just fine. I suspect a modern box with a modern Asterisk 
could do that in 'sleep mode.'


--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users