RE: [asterisk-users] Polycom 1.6.7 Firmware Messages Button

2006-08-07 Thread Greg Boehnlein
On Sat, 29 Jul 2006, Douglas Garstang wrote:

> You have a config generator script for the Polycom XML files? What did you 
> build that with?

Bash scripts and some sed logic. It isn't pretty, but it works.

# This creates the actual SED script that we use to modify the template
echo "s/reg.1.displayName=\"\"/reg.1.displayName=\"$NAME\"/" >> $$.sed 
echo "s/reg.1.address=\"\"/reg.1.address=\"$EXTEN\"/" >> $$.sed
echo "s/reg.1.label=\"\"/reg.1.label=\"$EXTEN\"/" >> $$.sed
echo "s/reg.1.auth.userId=\"\"/reg.1.auth.userId=\"$EXTEN\"/" >> $$.sed
echo "s/reg.1.auth.password=\"\"/reg.1.auth.password=\"$EXTEN\"/" >> $$.sed
echo "s/reg.1.server.1.address=\"\"/reg.1.server.1.address=\"$SERVER\"/" >> 
$$.sed
echo "s/reg.1.server.1.register=\"\"/reg.1.server.1.register=\"1\"/" >> $$.sed

echo "s/CONFIG_FILES=\"phone1.cfg, sip.cfg\"/CONFIG_FILES=\"phone$EXTEN.cfg, 
sip-n2net.cfg\"/" >> $$.sed
echo "s/LOG_FILE_DIRECTORY=\"\"/LOG_FILE_DIRECTORY=\"$EXTEN\"/" >> $$.sed
echo "s/OVERRIDES_DIRECTORY=\"\"/OVERRIDES_DIRECTORY=\"$EXTEN\"/" >> $$.sed
echo "s/CONTACTS_DIRECTORY=\"\"/CONTACTS_DIRECTORY=\"$EXTEN\"/" >> $$.sed
# Now, we copy the templates to their new filenames

cp phone1.cfg phone$EXTEN.cfg
cp .cfg $MAC.cfg

# Sed it up
sed -i -f $$.sed phone$EXTEN.cfg
sed -i -f $$.sed $MAC.cfg

# Create Directories and Set Perms
mkdir $EXTEN
chown -R PlcmSpIp:PlcmSpIp *
chmod -R a+rwx *

# Voila!
rm -f $$.sed phone$EXTEN.cfg~ $MAC.cfg~

-- 
Vice President of N2Net, a New Age Consulting Service, Inc. Company
 http://www.n2net.net Where everything clicks into place!
 KP-216-121-ST



___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Polycom 1.6.7 Firmware Messages Button

2006-07-29 Thread Douglas Garstang
You have a config generator script for the Polycom XML files? What did you 
build that with?

-Original Message- 
From: Greg Boehnlein [mailto:[EMAIL PROTECTED] 
Sent: Sat 7/29/2006 7:41 PM 
To: Asterisk Users Mailing List - Non-Commercial Discussion 
Cc: 
Subject: RE: [asterisk-users] Polycom 1.6.7 Firmware Messages Button



On Sun, 30 Jul 2006, Peter Johnson wrote:

> How about up.oneTouchVoiceMail="1" in your sip.cfg
>
> Peter

Ahhh... that tag wasn't in my config generator script, so I must have 
set
it by hand in the old ones. That does the trick!

I owe you a beer!

--
Vice President of N2Net, a New Age Consulting Service, Inc. Company
 http://www.n2net.net Where everything clicks into place!
 KP-216-121-ST



___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Polycom 1.6.7 Firmware Messages Button

2006-07-29 Thread Greg Boehnlein
On Sun, 30 Jul 2006, Peter Johnson wrote:

> How about up.oneTouchVoiceMail="1" in your sip.cfg
> 
> Peter

Ahhh... that tag wasn't in my config generator script, so I must have set 
it by hand in the old ones. That does the trick!

I owe you a beer!

-- 
Vice President of N2Net, a New Age Consulting Service, Inc. Company
 http://www.n2net.net Where everything clicks into place!
 KP-216-121-ST



___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Polycom 1.6.7 Firmware Messages Button

2006-07-29 Thread Peter Johnson
How about up.oneTouchVoiceMail="1" in your sip.cfg

Peter

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg Boehnlein
Sent: Sunday, 30 July 2006 8:37 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Polycom 1.6.7 Firmware Messages Button

Hello,
I recently updated some Polycom 501 phones to the new 1.6.7 
firmware, and have lost the ability to do "One Touch" voicemail access via 
the messages button.

I've verified that I have the correct XML tags set in the phone config, 
I.E.:

msg.bypassInstantMessage="1"
mwi msg.mwi.1.subscribe=""
msg.mwi.1.callBackMode="contact"
msg.mwi.1.callBack="85100"

I've wiped the phone clean, and re-installed firmware and configs, and it 
still acts as if the msg.bypassInstantMessage tag is set to 0 and displays 
the status of the messages in the mailbox.

I didn't see anything in the release notes indicating a change in the 
behavior of these tags.

Anyone have any suggestions?

-- 
Vice President of N2Net, a New Age Consulting Service, Inc. Company
 http://www.n2net.net Where everything clicks into place!
 KP-216-121-ST



___
--Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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