Call Without Pickup: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
To call a telephone throught the inbuilt speakerphone so the person doe not have to pickup the phone to answer the call.
To call a telephone through the inbuilt speakerphone so the person does not have to pickup the phone to answer the call, use the following SIPAddHeader application before the dial command.
 
<pre>
exten => 5555,1,SIPAddHeader(Call-Info:\;answer-after=0)<br>
exten => 5555,1,SIPAddHeader(Call-Info:\;answer-after=0)
exten => 5555,n,Dial(SIP/201)<br>
exten => 5555,n,SipAddHeader(Alert-Info: Ring Answer)
exten => 5555,n,Dial(SIP/201)
exten => 5555,n,HangUp
exten => 5555,n,HangUp
</pre>
I have tested this with Linksys and Polycom Phones.


I have tested this with Linksys Phones. Trying the above on a Polycom phone will not work and does require addattional configuration.
<b>NOTE:</b> For Polycom phone to work you will need to edit the default sip.cfg file and include the additional parameters.
<pre>
voIpProt.SIP.alertInfo.2.value="Ring Answer" voIpProt.SIP.alertInfo.2.class="4"
</pre>
You will need to add the above entries into the section alertInfo and append them after the alertInfo.1 entries.


[[Category : Asterisk]]
[[Category : Asterisk]]

Revision as of 01:57, 16 April 2008

To call a telephone through the inbuilt speakerphone so the person does not have to pickup the phone to answer the call, use the following SIPAddHeader application before the dial command.

exten => 5555,1,SIPAddHeader(Call-Info:\;answer-after=0)
exten => 5555,n,SipAddHeader(Alert-Info: Ring Answer)
exten => 5555,n,Dial(SIP/201)
exten => 5555,n,HangUp

I have tested this with Linksys and Polycom Phones.

NOTE: For Polycom phone to work you will need to edit the default sip.cfg file and include the additional parameters.

voIpProt.SIP.alertInfo.2.value="Ring Answer" voIpProt.SIP.alertInfo.2.class="4"

You will need to add the above entries into the section alertInfo and append them after the alertInfo.1 entries.