[asterisk-dev] 'IAX2 call variable passing between servers '
Stephen Davies
stephen.l.davies at gmail.com
Fri Jul 28 01:06:27 MST 2006
It's pretty easy to pass a bunch of info with an IAX call.
Follow this recipe:
DIal(IAX2/peer/target-${value1}-${value2}-${value3}-${value4}-... at context)
On the other side, take ${EXTEN} apart using function CUT.
You can even make a nice Macro to do it for you.
You might say that this makes the dialled number weird in a way that
requires the callee to be specially setup. But any other way of
passing extra info also requires the recipient to expect it. If it
can be ignored, what's if for?
Its not so easy to pass info back. I abuse Busy and Congestion and
Hangup to at least be able to pass back a kind of return value. But
it would be nice to be able to pass back a string as a return value.
Steve
More information about the asterisk-dev
mailing list