Page 1 of 1

small typo in doc for contact actions

PostPosted: Fri Apr 11, 2014 3:40 am
by rbremer
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

Re: small typo in doc for contact actions

PostPosted: Fri Apr 11, 2014 7:26 am
by malcolmd
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.