Hi <br><br>This is the weird part. I use the same directory.php to authenticate which means that my script should work. In my directory.php, it populates user and domain like this:<br>$xmlw -> startElement('section');<br>
$xmlw -> writeAttribute('name', $_REQUEST['section']);<br>$xmlw -> writeAttribute('description', 'Directory For FreeSwitch');<br><br>//start the domain<br>$xmlw -> startElement('domain');<br>
$xmlw -> writeAttribute('name', $_REQUEST['sip_auth_realm']);<br><br>//start an user<br>$xmlw -> startElement('user');<br>$xmlw -> writeAttribute('id', $_REQUEST['sip_auth_username']);<br>
<br>So, it seems like in voice mail main, those data are passed in as "".<br><br>That is why I want to use the "auth ..." option to check vm, but I can't get "auth" 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 <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> 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 <<a href="mailto:petedao@gmail.com" target="_blank">petedao@gmail.com</a>> 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> <action application="voicemail" data="auth default 1005"/><br>
<br>Instead, it goes to the mailbox asking user to record message:<br><br> [/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 <action application="voicemail" data="check default 1005"/><br><br>it asks me to enter user id follow by #. So, I enter 1005#, and it just hangs up.<br><br>The curl xml created by fs shows:<br>
<br><document type="freeswitch/xml"><br> <section name="directory" description="Directory For FreeSwitch"><br> <domain name=""><br> <user id=""><br>
<params><br> <param name="password" value="1234"/><br> </params><br> <variables><br> <variable name="user_context" value="agent"/><br>
</variables><br> </user><br> </domain><br> </section><br></document><br><br>Since I am using the user 1005 to dial in, so userid and password should work, otherwise, I won'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>