[asterisk-users] IAX - Equivalent of SipAddHeader

John Kiniston johnkiniston at gmail.com
Mon Oct 24 11:46:15 CDT 2016


You can do it with IAXVAR.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_IAXVAR


exten => 100,1,Set(IAXVAR(myvar)=foo)
exten => 100,n,Dial(OTHERHOST/201)

on OTHERHOST
exten => 201,1,Set(myvar=${IAXVAR(myvar)})
exten => 201,n,NoOP(My variable is ${myvar})

On Mon, Oct 24, 2016 at 9:33 AM, Administrator TOOTAI <admin at tootai.net>
wrote:

> Hi list,
>
> is there any existing IAX command to add information to a call like
> SipAddHeader? Another solution is sending text frame (0x07) frame type, but
> I don know how do it in a dialplan.
>
> Thanks for any hint.
>
> --
> Daniel
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
>      http://www.asterisk.org/community/astricon-user-conference
>
> New to Asterisk? Start here:
>      https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act alone, solve equations, analyze a new problem, pitch manure,
program a computer, cook a tasty meal, fight efficiently, die gallantly.
Specialization is for insects.
---Heinlein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161024/15b03254/attachment.html>


More information about the asterisk-users mailing list