Do you have an enrty like this? Or do you have both a sip.cfg and an ipmid.cfg file?<br><br><span class="q">&lt;alertInfo voIpProt.SIP.alertInfo.2.value=&quot;RA&quot;<br>voIpProt.SIP.alertInfo.2.class=&quot;4&quot;/&gt;</span>
<br><br><div><span class="gmail_quote">On 7/18/06, <b class="gmail_sendername">Dovid Bender</b> &lt;<a href="mailto:asteriskusers@dovid.net">asteriskusers@dovid.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I cant do step 2.<br>I cant find:<br><br>2. Okay, see how the SIPAddHeader includes &quot;Ring Answer&quot;? That word or words<br>will be matched by alertInfo in sip.cfg in order to figure out what to do.<br>You are using the config files from 
<a href="http://krisk.org">krisk.org</a> listed above, right? If not,<br>go get them now. I'll wait. So in sip.cfg in the &lt;voIpProt&gt;&lt;SIP&gt; section you<br>need a line like:<br><br>&lt;alertInfo voIpProt.SIP.alertInfo.2.value=
&quot;Ring Answer&quot;<br>voIpProt.SIP.alertInfo.2.class=&quot;4&quot;/&gt;<br><br>----- Original Message -----<br>From: &quot;Brian Vincent (C)&quot; &lt;<a href="mailto:VincentB@coppercolorado.com">VincentB@coppercolorado.com
</a>&gt;<br>To: &quot;Asterisk Users Mailing List - Non-Commercial Discussion&quot;<br>&lt;<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>&gt;<br>Sent: Tuesday, July 18, 2006 5:09 PM<br>
Subject: RE: [asterisk-users] Polycom 601 and Paging<br><br><br><br>I have these instructions on the wiki in the comments section.&nbsp;&nbsp;I had a hard<br>time following the directions too, but I finally got it to work:<br><br>We've got 3 things going on with setting up Auto Answer and Ring Answer.
<br>Let's detail this process from beginning to end using Ring Answer as our<br>example. (Auto Answer isn't much different except you want to make sure step<br>#2 below goes to class 3 rather than 4, and that class 3 is set up as
<br>described elsewhere which is the same as the one in the ipmid.cfg file from<br>krisk.org.)<br><br>1. First, use the SIPAddHeader() directive in Asterisk to properly alert the<br>phone. In my situation, I have 10 phones with 2-digit extensions. I want to
<br>call each phone by prefixing the extension with a &quot;1&quot; in order to activate<br>the intercom. For example, if I dial 126 I want it to put extension 26 on<br>speakerphone. So go into extensions.conf and make sure you create a new
<br>section like this:<br>&lt;a href='icm-auto-answer'&gt;icm-auto-answer &lt;/a href='icm-auto-answer'&gt;<br>;intercom<br>exten =&gt; _12x,1,SIPAddHeader(Alert-Info: Ring Answer)<br>exten =&gt; _12x,2,Dial(sip/${EXTEN:1:3})
<br>exten =&gt; _12x,3,Hangup<br>exten =&gt; _12x,102,Hangup<br><br>Then make sure in your from-internal section of extensions.conf you have a<br>include =&gt; icm-auto-answer<br><br>2. Okay, see how the SIPAddHeader includes &quot;Ring Answer&quot;? That word or words
<br>will be matched by alertInfo in sip.cfg in order to figure out what to do.<br>You are using the config files from <a href="http://krisk.org">krisk.org</a> listed above, right? If not,<br>go get them now. I'll wait. So in 
sip.cfg in the &lt;voIpProt&gt;&lt;SIP&gt; section you<br>need a line like:<br><br>&lt;alertInfo voIpProt.SIP.alertInfo.2.value=&quot;Ring Answer&quot;<br>voIpProt.SIP.alertInfo.2.class=&quot;4&quot;/&gt;<br><br>The value parameter must match whatever you use in the SIPAddHeader string.
<br>In this case they're both &quot;Ring Answer&quot;. You could just as easily replace<br>both with the word &quot;Foo&quot; or &quot;RA&quot;.<br><br>3. Now, the alertInfo tag will match that value and then go to the &quot;class&quot;
<br>value to figure out what to do. Se we need to make sure class=&quot;4&quot; is set up<br>properly. You could probably set up class 4 in sip.cfg, but mine lives in<br>ipmid.cfg. So go into ipmid.cfg and locate the &lt;ringtypes&gt; section. Below
<br>that tag (and before it's corresponding &lt;/ringtype&gt; closing tag) you need to<br>make sure class 4 is set up right. You should have this line:<br>&lt;RING_ANSWER se.rt.4.name=&quot;Ring Answer&quot; se.rt.4.type=
&quot;ring-answer&quot;<br>se.rt.4.timeout=&quot;1000&quot; se.rt.4.ringer=&quot;2&quot; se.rt.4.callWait=&quot;6&quot;<br>se.rt.4.mod=&quot;1&quot;/&gt;<br><br>The notes above describe that line. The key is that this is class 4 as noted
<br>by the 3rd part of the value names - <a href="http://se.rt.4.name">se.rt.4.name</a>. I'd like to add that the<br>keyword &quot;RING_ANSWER&quot; is meaningless, it's just a human-readable tag.<br><br>Got all that? The SIPAddHeader of &quot;Ring Answer&quot; hits the &lt;alertInfo&gt; tag to
<br>figure out which class to go to. Then the class in ipmid.cfg says, &quot;Oh, I'm<br>a &quot;ring-answer&quot; type and my firmware knows what to do with that type.&quot;<br><br>One test you can do is to connect to asterisk ($ asterisk -r), bump your
<br>verbosity up (&lt;tt&gt;set verbose 6&lt;/tt&gt;), and try to place a call using that<br>context from step #1. You'll see one phone calling another and within the<br>Asterisk CLI you should see the following message appear:
<br>- Executing SIPAddHeader(&quot;SIP/20-86bc&quot;, &quot;Alert-Info: Ring Answer&quot;) in new<br>stack&lt;br /&gt;<br>Extension Changed 20 new state InUse for Notify User 26&lt;br /&gt;<br>- Executing Dial(&quot;SIP/20-86bc&quot;, &quot;sip/26&quot;) in new stack&lt;br /&gt;
<br>- Called 26&lt;br /&gt;<br>- SIP/26-0448 is ringing&lt;br /&gt;<br>- SIP/26-0448 answered SIP/20-86bc&lt;br /&gt;<br>- Attempting native bridge of SIP/20-86bc and SIP/26-0448<br><br>If you don't see that Alert-Info: Ring Answer being sent, then you know you
<br>haven't gotten the first step right.<br><br>Also, I made the mistake of putting some comments into the .cfg files and<br>the comments seemed to screw up the parser. It ignored seemingly random<br>lines (i.e. non-comment ones). I'm not a complete moron since I've been
<br>writing XML for 6 years (and HTML for 11) but it goes to show how careful<br>you should be. Anyway, I use &quot;xmllint&quot; on config files now before rebooting<br>the phones to make sure I didn't make a dumb typo.<br>
-------------------<br>Brian Vincent<br>Copper Mountain Telecom<br><a href="mailto:vincentb@coppercolorado.com">vincentb@coppercolorado.com</a><br><br>______________________________________________________________________________________________________________
<br><br>Confidentiality Warning: This message and any attachments are intended only<br>for the use of the intended recipient(s),<br>are confidential, and may be privileged. If you are not the intended<br>recipient, you are hereby notified that any review,
<br>retransmission, conversion to hard copy, copying, circulation or other use<br>of this message and any attachments is strictly<br>prohibited. If you are not the intended recipient, please notify the sender<br>immediately by return e-mail, and delete this
<br>message and any attachments from your system. Thank you.<br>______________________________________________________________________________________________________________<br><br><br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list
<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>
-- <br>Bruce<br>Nortex Networks