[asterisk-dev] 'IAX2 call variable passing between servers '
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Fri Aug 11 11:43:34 MST 2006
On Friday 11 August 2006 12:27, Andrew Kohlsmith wrote:
> Honestly what is wrong with
> exten => foo,n,IAXVAR(CHANNELTYPE)
> exten => foo,n,IAXVAR(DNID)
> exten => foo,n,IAXVAR(RDNIS)
> exten => foo,n,Dial(IAX2/box-b/${DESTINATION})
Just nitpicking, but this should be:
Set(IAXVAR(CHANNELTYPE)=SIP)
Set(IAXVAR(DNID)=${CALLERID(dnid)})
Set(IAXVAR(RDNIS)=${CALLERID(rdnis)})
> and on box-b:
> exten => bar,n,Set(ORIGCHANNELTYPE=${IAXVAR(CHANNELTYPE)})
> exten => bar,n,Set(ORIGDNID=${IAXVAR(DNID)})
> exten => bar,n,Set(ORIGRDNIS=${IAXVAR(RDNIS)})
> exten => bar,n,AGI(must_be_DRMd_AGI.agi)
--
Tilghman
More information about the asterisk-dev
mailing list