small typo in doc for contact actions

Community based support for the Digium Phone Application Programming Interface (API).

Moderators: jwitt, sruffell, malcolmd, Moderator

small typo in doc for contact actions

Postby rbremer » Fri Apr 11, 2014 3:40 am

On the wiki page https://wiki.asterisk.org/wiki/display/ ... ts-Actions
you show an example of a contact with actions:

<action id="send_to_vm" dial="104" dial_prefix="" label="Voicemail" name="Dial Voicemail">
<headers>
<header key="X-Digium-Call-Feature" value="feature_send_to_vm" />
<header key="Diversion" value="&lt;sip:%_ACCOUNT_USERNAME_%@%_ACCOUNT_SERVER_%:%_ACCOUNT_PORT_%&gt;;reason=&quot;send_to_vm&quot;" />
</headers>
</action>


There is a small typo here: at the end of the line with the Diversion key you are missing a "&gt" tag in order to close the xml bracket.

Ronny
rbremer
Newsterisk
 
Posts: 11
Joined: Wed Dec 12, 2012 1:46 pm

Re: small typo in doc for contact actions

Postby malcolmd » Fri Apr 11, 2014 7:26 am

Howdy,

I looked, but I don't see the error.

The example gives:

Code: Select all
<header key="Diversion" value="&lt;sip:%_ACCOUNT_USERNAME_%@%_ACCOUNT_SERVER_%:%_ACCOUNT_PORT_%&gt;;reason=&quot;send_to_vm&quot;" />


Which should give a value of, with example stuff shoved in:

Code: Select all
<sip:101@10.1.2.3:5060>;reason="send_to_vm"


Which is what we want.
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 3019
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US


Return to Digium Phone API

Who is online

Users browsing this forum: No registered users and 1 guest

cron