Hi <br><br>This is the weird part.&nbsp; I use the same directory.php to authenticate which means that my script should work.&nbsp; In my directory.php, it populates&nbsp;  user and domain like this:<br>$xmlw -&gt; startElement(&#39;section&#39;);<br>
$xmlw -&gt; writeAttribute(&#39;name&#39;, $_REQUEST[&#39;section&#39;]);<br>$xmlw -&gt; writeAttribute(&#39;description&#39;, &#39;Directory For FreeSwitch&#39;);<br><br>//start the domain<br>$xmlw -&gt; startElement(&#39;domain&#39;);<br>
$xmlw -&gt; writeAttribute(&#39;name&#39;, $_REQUEST[&#39;sip_auth_realm&#39;]);<br><br>//start an user<br>$xmlw -&gt; startElement(&#39;user&#39;);<br>$xmlw -&gt; writeAttribute(&#39;id&#39;, $_REQUEST[&#39;sip_auth_username&#39;]);<br>
<br>So, it seems like in voice mail main, those data are passed in as &quot;&quot;.<br><br>That is why I want to use the &quot;auth ...&quot; option to check vm, but I can&#39;t get &quot;auth&quot; to work.<br><br>Any idea?<br>
<br>Thanks,<br>Pete<br><br><br><br><br><div class="gmail_quote">On Wed, Apr 23, 2008 at 9:15 PM, Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
your domain and user name are both blank in your xml<br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Wed, Apr 23, 2008 at 5:10 AM, Pete Kay &lt;<a href="mailto:petedao@gmail.com" target="_blank">petedao@gmail.com</a>&gt; wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hi,<br>I am having a voicemail problem:<br><br>Problem 1<br>In the wiki, it says that with the below line, the user can check vm without needing to authenticate:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;voicemail&quot; data=&quot;auth default 1005&quot;/&gt;<br>


<br>Instead, it goes to the mailbox asking user to record message:<br><br>&nbsp;[/usr/local/freeswitch/sounds/en/us/callie/voicemail/8000/vm-record_message.wav] rate 8000hz<br><br>How come it is not going to the vm?<br><br><br>


Problem 2<br>If I change to &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;voicemail&quot; data=&quot;check default 1005&quot;/&gt;<br><br>it asks me to enter user id follow by #.&nbsp; So, I enter 1005#, and it just hangs up.<br><br>The curl xml created by fs shows:<br>


<br>&lt;document type=&quot;freeswitch/xml&quot;&gt;<br>&nbsp; &lt;section name=&quot;directory&quot; description=&quot;Directory For FreeSwitch&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &lt;domain name=&quot;&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;user id=&quot;&quot;&gt;<br>


&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;params&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;password&quot; value=&quot;1234&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/params&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variables&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name=&quot;user_context&quot; value=&quot;agent&quot;/&gt;<br>


&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/variables&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/user&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/domain&gt;<br>&nbsp; &lt;/section&gt;<br>&lt;/document&gt;<br><br>Since I am using the user 1005 to dial in, so userid and password should work, otherwise, I won&#39;t be able to login to dial the number.<br>


<br>Any inputs will be greatly appreciated.<br><br>Regards,<br><font color="#888888">Pete<br>
</font><br></div></div>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>

<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>

IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>