Yeah.. the current response to voicemail_inject is identical to any directory lookup, which looks something like this:<div><br></div><div>...</div><div><div> <user id="1001"></div><div> <params></div>
<div> <param name="a1-hash" value="xxxx"/></div><div> <param name="vm-a1-hash" value="xxxx"/></div><div> <param name="inbound-bypass-media" value="true"/></div>
<div> <param name="vm-email-all-messages" value="true"/></div><div> <param name="vm-attach-file" value="true"/></div><div> <param name="vm-mailto" value="xxxxxx"/></div>
<div> <param name="vm-keep-local-after-email" value="true"/></div><div> </params></div><div> <variables></div><div> <variable name="toll_allow" value="domestic"/></div>
<div> <variable name="accountcode" value="xxxx"/></div><div> <variable name="effective_caller_id_name" value="xxxxx"/></div><div> <variable name="effective_caller_id_number" value="xxxx"/></div>
<div> <variable name="user_context" value="xxxx"/></div><div> <variable name="domain_name" value="xxxxx"/></div><div> </variables></div><div>
...</div><div><br></div><div>Shouldn't this be enough?</div><div><br></div><div>Frank</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote">On Mon, Apr 4, 2011 at 1:36 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Its just looking for the user record so I can get the params and<br>
variables from it.<br>
<div><div></div><div class="h5"><br>
<br>
On Mon, Apr 4, 2011 at 10:53 AM, Frank Park <<a href="mailto:frank@telonium.com">frank@telonium.com</a>> wrote:<br>
> I had a quick question.<br>
> I am trying to figure out what directory response is expected when a user<br>
> wants to forward a voicemail to another extension.<br>
> Looking at the post request of xml_curl, I see that it's invoking<br>
> voicemail_inject. I've tried the same response as other voicemail function,<br>
> which is similar to the authorization response, but that didn't seem to do<br>
> it. Anybody care to share an example response when voicemail_inject is<br>
> requested?<br>
> Thanks,<br>
> Frank<br>
><br>
> --<br>
><br>
> ----=======================----<br>
> Frank Park<br>
> Telonium Communications, LLC<br>
> <a href="mailto:frank@telonium.com">frank@telonium.com</a><br>
> <a href="http://www.telonium.com" target="_blank">http://www.telonium.com</a><br>
> Follow Us on Twitter: @GetTelonium<br>
> <a href="tel:404-566-8888">404-566-8888</a> x1001 Office<br>
> <a href="tel:404-939-4242">404-939-4242</a> Cell<br>
> ----=======================----<br>
><br>
><br>
</div></div>> _______________________________________________<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>
><br>
<br>
<br>
<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>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">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">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br><div><br></div><div>----=======================----</div><div>Frank Park</div><div>Telonium Communications, LLC</div><div><a href="mailto:frank@telonium.com" target="_blank">frank@telonium.com</a></div>
<div><a href="http://www.telonium.com" target="_blank">http://www.telonium.com</a></div><div>Follow Us on Twitter: @GetTelonium</div><div>404-566-8888 x1001 Office</div><div>404-939-4242 Cell</div><div>----=======================----</div>
<div><br></div><br>
</div>