Administrator TOOTAI
2016-Oct-24 16:33 UTC
[asterisk-users] IAX - Equivalent of SipAddHeader
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
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>
Administrator TOOTAI
2016-Oct-24 17:13 UTC
[asterisk-users] IAX - Equivalent of SipAddHeader
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