[Freeswitch-users] xml_curl response for voicemail_inject

Frank Park frank at telonium.com
Mon Apr 4 21:52:57 MSD 2011


Yeah.. the current response to voicemail_inject is identical to any
directory lookup, which looks something like this:

...
      <user id="1001">
        <params>
          <param name="a1-hash" value="xxxx"/>
          <param name="vm-a1-hash" value="xxxx"/>
          <param name="inbound-bypass-media" value="true"/>
          <param name="vm-email-all-messages" value="true"/>
          <param name="vm-attach-file" value="true"/>
          <param name="vm-mailto" value="xxxxxx"/>
          <param name="vm-keep-local-after-email" value="true"/>
        </params>
        <variables>
          <variable name="toll_allow" value="domestic"/>
          <variable name="accountcode" value="xxxx"/>
          <variable name="effective_caller_id_name" value="xxxxx"/>
          <variable name="effective_caller_id_number" value="xxxx"/>
          <variable name="user_context" value="xxxx"/>
          <variable name="domain_name" value="xxxxx"/>
        </variables>
...

Shouldn't this be enough?

Frank






On Mon, Apr 4, 2011 at 1:36 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> Its just looking for the user record so I can get the params and
> variables from it.
>
>
> On Mon, Apr 4, 2011 at 10:53 AM, Frank Park <frank at telonium.com> wrote:
> > I had a quick question.
> > I am trying to figure out what directory response is expected when a user
> > wants to forward a voicemail to another extension.
> > Looking at the post request of xml_curl, I see that it's invoking
> > voicemail_inject. I've tried the same response as other voicemail
> function,
> > which is similar to the authorization response, but that didn't seem to
> do
> > it. Anybody care to share an example response when voicemail_inject is
> > requested?
> > Thanks,
> > Frank
> >
> > --
> >
> > ----=======================----
> > Frank Park
> > Telonium Communications, LLC
> > frank at telonium.com
> > http://www.telonium.com
> > Follow Us on Twitter: @GetTelonium
> > 404-566-8888 x1001 Office
> > 404-939-4242 Cell
> > ----=======================----
> >
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 

----=======================----
Frank Park
Telonium Communications, LLC
frank at telonium.com
http://www.telonium.com
Follow Us on Twitter: @GetTelonium
404-566-8888 x1001 Office
404-939-4242 Cell
----=======================----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110404/de27208d/attachment.html 


More information about the FreeSWITCH-users mailing list