[Asterisk-Users] Polycom Intercom - almost there

Bill Gibbs bgibbs at edurotech.com
Thu Jun 22 07:10:28 MST 2006


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 at lists.digium.com
[mailto:asterisk-users-bounces at 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



More information about the asterisk-users mailing list