Hi All,
I need help on IAXVAR function in asterisk 1.6
I am connecting two asterisk 1.6 server through IAX2 trunk. everything works fine.
But know i need to send some variable through this iax2 trunk, i googled it for a while and came to know that asterisk1.6 has this function of IAXVAR which was not in previous version… but no much help documented there.
This is my Dial plan
Server A ( which originates an out going call)
[iax-outgoing]
exten => _X.,1,Set(var=Mdsp)
exten => _X.,n,Set(IAXVAR(var)=${var})
exten => _X.,n,MeetMe(${EXTEN},1${var})
[iax-incoming]
exten => _X.,1,Answer
exten => _X.,n,NoCDR()
exten => _X.,n,Set(var=${IAXVAR(var)})
exten => _X.,n,MeetMe(${EXTEN},1${var})
exten => _X.,n,Hangup
The problem i faced is that i dont get the var on the destination box…
Has anyone used this function. and ready to help…
Nischal…