[asterisk-users] IAX - Equivalent of SipAddHeader

John Kiniston johnkiniston at gmail.com
Mon Oct 24 12:30:46 CDT 2016


voip-info is severely out of date and should be ignored for most things.

I linked you directly to the official Asterisk Wiki for the page on IAXVAR
for version 14. I don't have a 14 box with IAX myself but I trust that wiki
to be correct.


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

> Le 24/10/2016 à 18:46, John Kiniston a écrit :
>
>> 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})
>>
>
> Thanks for the information. As on voip-info.org this function is no more
> detailed and status is 1.2 I thought that it was removed from latest
> version.
>
>
>> On Mon, Oct 24, 2016 at 9:33 AM, Administrator TOOTAI <admin at tootai.net
>> <mailto: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
>>
>
> --
> 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/5a6badc0/attachment.html>


More information about the asterisk-users mailing list