Hi,<br><br>I recently configured Linux HA for Asterisk service (using 
Asterisk resource agent downloaded from link: 
<a href="https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/asterisk">https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/asterisk</a>).<br>As
 per configuration it is working good but when I include 
&quot;monitor_sipuri=&quot;<a href="mailto:sip%3A42@10.3.152.103">sip:42@10.3.152.103</a>&quot; &quot; parameter in primitive section 
it is giving me an errors like listed below;<br><br>

<p class="MsoNormal"><span style="color:#1f497d">root@asterisk2 ~&gt; crm_mon -1</span></p>

<p class="MsoNormal"><span style="color:#1f497d">============</span></p>

<p class="MsoNormal"><span style="color:#1f497d">Last updated: Thu Mar 28
06:09:54 2013</span></p>

<p class="MsoNormal"><span style="color:#1f497d">Stack: Heartbeat</span></p>

<p class="MsoNormal"><span style="color:#1f497d">Current DC: asterisk2
(b966dfa2-5973-4dfc-96ba-b2d38319c174) - partition with quorum</span></p>

<p class="MsoNormal"><span style="color:#1f497d">Version: 1.0.12-unknown</span></p>

<p class="MsoNormal"><span style="color:#1f497d">2 Nodes configured, unknown
expected votes</span></p>

<p class="MsoNormal"><span style="color:#1f497d">1 Resources configured.</span></p>

<p class="MsoNormal"><span style="color:#1f497d">============</span></p>

<p class="MsoNormal"><span style="color:#1f497d"> </span></p>

<p class="MsoNormal"><span style="color:#1f497d">Online: [ asterisk1 asterisk2 ]</span></p>

<p class="MsoNormal"><span style="color:#1f497d"> </span></p>

<p class="MsoNormal"><span style="color:#1f497d">Resource Group: group_1</span></p>

<p class="MsoNormal"><span style="color:#1f497d">    
asterisk_2 (lsb:asterisk): Started asterisk1</span></p>

<p class="MsoNormal"><span style="color:#1f497d">    
IPaddr_10_3_152_103        (ocf::heartbeat:IPaddr):       
Started asterisk1</span></p>

<p class="MsoNormal"><span style="color:#1f497d"> </span></p>

<p class="MsoNormal"><span style="color:#1f497d">Failed actions:</span></p>

<p class="MsoNormal"><span style="color:#1f497d">   
p_asterisk_start_0 (node=asterisk1, call=64, rc=1, status=complete): unknown
error</span></p>

<p class="MsoNormal"><span style="color:#1f497d">   
p_asterisk_start_0 (node=asterisk2, call=20, rc=1, status=complete): unknown
error</span></p>

<br><br>I tested the &#39;sipsak&#39; tool on cli, it is executing without any 
issue i.e. returning 200 OK but when I remove this &quot;param 
monitor_sipuri&quot; I&#39;m not getting the errors and also I created sip profile &#39;42&#39; without setting any password, tested first on softphone and is working.<br><br>Test result for sipsak;<br><br>root@asterisk1 ~&gt; sipsak -v -s <a href="mailto:sip%3A42@10.3.152.103">sip:42@10.3.152.103</a><br>
SIP/2.0 200 OK<br>Via: SIP/2.0/UDP 10.3.152.105:60928;branch=z9hG4bK.274e15e9;alias;received=10.3.152.103;rport=60928<br>From: sip:sipsak@10.3.152.105:60928;tag=68c5c65d<br>To: <a href="mailto:sip%3A42@10.3.152.103">sip:42@10.3.152.103</a>;tag=as558d9271<br>
Call-ID: <a href="mailto:1757791837@10.3.152.105">1757791837@10.3.152.105</a><br>CSeq: 1 OPTIONS<br>Server: Asterisk PBX 10.12.1<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH<br>Supported: replaces, timer<br>
Contact: &lt;sip:<a href="http://10.3.152.103:5060">10.3.152.103:5060</a>&gt;<br>Accept: application/sdp<br>Content-Length: 0<br><br><br>Listing down the configuration below which I configured;<br><br> node $id=&quot;887bae58-1eb6-47d1-b539-d12a2ed3d836&quot; asterisk1<br>
node $id=&quot;b966dfa2-5973-4dfc-96ba-b2d38319c174&quot; asterisk2<br>primitive IPaddr_10_3_152_103 ocf:heartbeat:IPaddr \<br>        op monitor interval=&quot;5s&quot; timeout=&quot;20s&quot; \<br>        params ip=&quot;10.3.152.103&quot;<br>
primitive p_asterisk ocf:heartbeat:asterisk \<br>        op monitor interval=&quot;10s&quot; \<br>        params realtime=&quot;true&quot;<br>group group_1 p_asterisk IPaddr_10_3_152_103 \<br>        meta target-role=&quot;Started&quot;<br>
location rsc_location_group_1 group_1 \<br>        rule $id=&quot;preferred_location_group_1&quot; 100: #uname eq asterisk1<br>colocation asterisk-with-ip inf: p_asterisk IPaddr_10_3_152_103<br>property $id=&quot;cib-bootstrap-options&quot; \<br>
        symmetric-cluster=&quot;true&quot; \<br>        no-quorum-policy=&quot;stop&quot; \<br>        default-resource-stickiness=&quot;0&quot; \<br>        stonith-enabled=&quot;false&quot; \<br>        stonith-action=&quot;reboot&quot; \<br>
        startup-fencing=&quot;true&quot; \<br>        stop-orphan-resources=&quot;true&quot; \<br>        stop-orphan-actions=&quot;true&quot; \<br>        remove-after-stop=&quot;false&quot; \<br>        default-action-timeout=&quot;120s&quot; \<br>
        is-managed-default=&quot;true&quot; \<br>        cluster-delay=&quot;60s&quot; \<br>        pe-error-series-max=&quot;-1&quot; \<br>        pe-warn-series-max=&quot;-1&quot; \<br>        pe-input-series-max=&quot;-1&quot; \<br>
        dc-version=&quot;1.0.12-unknown&quot; \<br>        cluster-infrastructure=&quot;Heartbeat&quot;<br><br>And the status I&#39;m getting is listed below;<br><br>root@asterisk1 ~&gt; crm_mon -1<br>============<br>Last updated: Fri Mar 29 12:25:10 2013<br>
Stack: Heartbeat<br>Current DC: asterisk1 (887bae58-1eb6-47d1-b539-d12a2ed3d836) - partition with quorum<br>Version: 1.0.12-unknown<br>2 Nodes configured, unknown expected votes<br>1 Resources configured.<br>============<br>
<br>Online: [ asterisk1 asterisk2 ]<br><br> Resource Group: group_1<br> p_asterisk (ocf::heartbeat:asterisk):      Started asterisk1<br> IPaddr_10_3_152_103        (ocf::heartbeat:IPaddr):        Started asterisk1<br><br clear="all">
<br>Please advise to overcome this issue.<br><br clear="all"><br>-- <br>Regards,<br><br>Ahmed Munir Chohan<br><br>