Ok so I added to my Freepbx config running Asterisk 1.2.4 in extensions_custom.conf ; intercom exten => _7XXX,1,SIPAddHeader(Alert-Info: Auto Answer) exten => _7XXX,2,Dial(SIP/${EXTEN:1},12,Tt) and configured my Polycoms via this page http://www.voip-info.org/wiki/view/Polycom+auto-answer+config for auto answer and that works fine if I dial 7 then the 3 digit extension. No problems, the receiving end answers automatically and everything works great. However, since we are migrating from a key system I would like to have one of the hard buttons, say the 3rd line key in a 501 for example to automatically initiate the "7" so the user only has to enter in the extension and it automatically does the intercom style feature, thus saving a key press. I can easily set the 3rd line key to generate dial tone: In sip.conf <keys key.scrolling.timeout="1" key.IP_500.33.function.prim="Handsfree"/> That makes a dialtone and I can dial as normal however I would like to put the 7 in there automatically so they just have to dial. The subPoint.prim function is an integer that references an array value so that won't work. Any ideas or suggestions? Just trying to keep the number of button presses to a minimum. Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060621/d300dea0/attachment.htm
Kristian Kielhofner
2006-Jun-21 13:50 UTC
[Asterisk-Users] Polycom Intercom - almost there
Bill Gibbs wrote:> Ok so I added to my Freepbx config running Asterisk 1.2.4 in > extensions_custom.conf > > > > ; intercom > > exten => _7XXX,1,SIPAddHeader(Alert-Info: Auto Answer) > > exten => _7XXX,2,Dial(SIP/${EXTEN:1},12,Tt) > > > > and configured my Polycoms via this page > http://www.voip-info.org/wiki/view/Polycom+auto-answer+config for auto > answer and that works fine if I dial 7 then the 3 digit extension. > > > > No problems, the receiving end answers automatically and everything > works great. > > > > However, since we are migrating from a key system I would like to have > one of the hard buttons, say the 3^rd line key in a 501 for example to > automatically initiate the ?7? so the user only has to enter in the > extension and it automatically does the intercom style feature, thus > saving a key press. > > > > I can easily set the 3^rd line key to generate dial tone: > > > > In sip.conf > > > > <keys key.scrolling.timeout="1" key.IP_500.33.function.prim="Handsfree"/> > > > > That makes a dialtone and I can dial as normal however I would like to > put the 7 in there automatically so they just have to dial. The > subPoint.prim function is an integer that references an array value so > that won?t work. > > > > Any ideas or suggestions? Just trying to keep the number of button > presses to a minimum. > > > > > > Bill >Bill, How about creating a special SIP user for line 3: sip.conf: [int] username: int context: int blah blah blah It doesn't have to (and shouldn't) register. extensions.conf: [int] exten -> _XXX,1,Goto(phones,7${EXTEN},1) ; make sure this context is ; ;right. -- Kristian Kielhofner
Bill Gibbs wrote:> Any ideas or suggestions? Just trying to keep the number of button > presses to a minimum.The number of button presses would be the same though: 1. Pick up the phone, dial 7 3 0 0 (four buttons) 2. Hit line 3, dial 3 0 0 (four buttons) You could configure the line 3 button as a Speed Dial to a prompt that asks for an extension. Then, it pages that extension, perhaps. If you use background(), it could be as quick as pressing the button and immediately dialling the extension. Just some ideas. :) -- National Manager - Special Projects < Melbourne / Sydney / Canberra / Hobart / London /> 2/340 Gore Street T: 1 300 SQUIZ (77859) Fitzroy, VIC T: 03 9486 0411 3065 F: 03 9486 0611 W: http://www.squiz.net/ .....>> Open Source - Own it - Squiz.net ...../>
Mojo with Horan & Company, LLC
2006-Jun-21 14:44 UTC
[Asterisk-Users] Polycom Intercom - almost there
Well if I recall correctly, subPoint.prim would be the index of the speed dial entry to dial when function.prim=="SpeedDial" i.e. if in the directory you've got <item> <fn>Dial 7</fn> <ct>7</ct> <sd>1</sd> </item> and function.prim="SpeedDial" and subPoint.prim="1" then... it might work. But, I'm not sure how integrated this is to the polycom dialplan.digitmap part, meaning I wonder if it will send the 7 to * or wait for you to enter more numbers and hit send.... you'll have to find out and tell us :) Moj Bill Gibbs wrote:> Ok so I added to my Freepbx config running Asterisk 1.2.4 in > extensions_custom.conf > > > > ; intercom > > exten => _7XXX,1,SIPAddHeader(Alert-Info: Auto Answer) > > exten => _7XXX,2,Dial(SIP/${EXTEN:1},12,Tt) > > > > and configured my Polycoms via this page > http://www.voip-info.org/wiki/view/Polycom+auto-answer+config for auto > answer and that works fine if I dial 7 then the 3 digit extension. > > > > No problems, the receiving end answers automatically and everything > works great. > > > > However, since we are migrating from a key system I would like to have > one of the hard buttons, say the 3^rd line key in a 501 for example to > automatically initiate the ?7? so the user only has to enter in the > extension and it automatically does the intercom style feature, thus > saving a key press. > > > > I can easily set the 3^rd line key to generate dial tone: > > > > In sip.conf > > > > <keys key.scrolling.timeout="1" key.IP_500.33.function.prim="Handsfree"/> > > > > That makes a dialtone and I can dial as normal however I would like to > put the 7 in there automatically so they just have to dial. The > subPoint.prim function is an integer that references an array value so > that won?t work. > > > > Any ideas or suggestions? Just trying to keep the number of button > presses to a minimum. > > > > > > Bill > > !DSPAM:500,4499a87964596491211187! > > > ------------------------------------------------------------------------ > > _______________________________________________ > --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 > > > !DSPAM:500,4499a87964596491211187!-- Mojo <mojo@horanappraisals.com> Office Manger, Horan & Company, LLC (907) 747-6666 x112
I see what you mean. I am having one too many beers and trying to decipher the FreePBX config files right now :) But I can see how this will work...so I will give it a shot! -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Kristian Kielhofner Sent: Wednesday, June 21, 2006 4:51 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Polycom Intercom - almost there Bill Gibbs wrote:> Ok so I added to my Freepbx config running Asterisk 1.2.4 in > extensions_custom.conf > > > > ; intercom > > exten => _7XXX,1,SIPAddHeader(Alert-Info: Auto Answer) > > exten => _7XXX,2,Dial(SIP/${EXTEN:1},12,Tt) > > > > and configured my Polycoms via this page > http://www.voip-info.org/wiki/view/Polycom+auto-answer+config for auto> answer and that works fine if I dial 7 then the 3 digit extension. > > > > No problems, the receiving end answers automatically and everything > works great. > > > > However, since we are migrating from a key system I would like to have> one of the hard buttons, say the 3^rd line key in a 501 for example to> automatically initiate the "7" so the user only has to enter in the > extension and it automatically does the intercom style feature, thus > saving a key press. > > > > I can easily set the 3^rd line key to generate dial tone: > > > > In sip.conf > > > > <keys key.scrolling.timeout="1"key.IP_500.33.function.prim="Handsfree"/>> > > > That makes a dialtone and I can dial as normal however I would like to> put the 7 in there automatically so they just have to dial. The > subPoint.prim function is an integer that references an array value so> that won't work. > > > > Any ideas or suggestions? Just trying to keep the number of button > presses to a minimum. > > > > > > Bill >Bill, How about creating a special SIP user for line 3: sip.conf: [int] username: int context: int blah blah blah It doesn't have to (and shouldn't) register. extensions.conf: [int] exten -> _XXX,1,Goto(phones,7${EXTEN},1) ; make sure this context is ; ;right. -- Kristian Kielhofner _______________________________________________ --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
This worked great. I made an extension 10000 in context "intercom" and set my custom Goto statement there (first added the SIPHeader mod) [intercom] exten => _XXX,1,SIPAddHeader(Alert-Info: Auto Answer) exten => _XXX,2,Goto(from-internal,7${EXTEN},1) and added that extension (and had it not register) and it worked fine! -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Kristian Kielhofner Sent: Wednesday, June 21, 2006 4:51 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Polycom Intercom - almost there Bill Gibbs wrote:> Ok so I added to my Freepbx config running Asterisk 1.2.4 in > extensions_custom.conf > > > > ; intercom > > exten => _7XXX,1,SIPAddHeader(Alert-Info: Auto Answer) > > exten => _7XXX,2,Dial(SIP/${EXTEN:1},12,Tt) > > > > and configured my Polycoms via this page > http://www.voip-info.org/wiki/view/Polycom+auto-answer+config for auto> answer and that works fine if I dial 7 then the 3 digit extension. > > > > No problems, the receiving end answers automatically and everything > works great. > > > > However, since we are migrating from a key system I would like to have> one of the hard buttons, say the 3^rd line key in a 501 for example to> automatically initiate the "7" so the user only has to enter in the > extension and it automatically does the intercom style feature, thus > saving a key press. > > > > I can easily set the 3^rd line key to generate dial tone: > > > > In sip.conf > > > > <keys key.scrolling.timeout="1"key.IP_500.33.function.prim="Handsfree"/>> > > > That makes a dialtone and I can dial as normal however I would like to> put the 7 in there automatically so they just have to dial. The > subPoint.prim function is an integer that references an array value so> that won't work. > > > > Any ideas or suggestions? Just trying to keep the number of button > presses to a minimum. > > > > > > Bill >Bill, How about creating a special SIP user for line 3: sip.conf: [int] username: int context: int blah blah blah It doesn't have to (and shouldn't) register. extensions.conf: [int] exten -> _XXX,1,Goto(phones,7${EXTEN},1) ; make sure this context is ; ;right. -- Kristian Kielhofner _______________________________________________ --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