[asterisk-dev] 'IAX2 call variable passing between servers '

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Mon Aug 14 09:31:30 MST 2006


On Friday 11 August 2006 16:43, Douglas Garstang wrote:
> I don't know if I'd call it a continuation of the dial plan. The relevant
> context here has _X. in it, so there's nowhere else to go after it executes
> that. Therefore, it must be matching _X. again.

Even so, when Dial() completes (failure or not) and there is no 'g' option 
there, the 'h' extension is called to handle the hangup.  _X. won't match 
that.

> ooga looks good... of course the problem here is that if you trunked the
> call from pbxA to pbxB via IAX, you don't get rdnis. :(

Why not?

pbxA:
Set(IAXVAR(RDNIS)=${CALLERID(rdnis)})
Dial(IAX2/user at pbxB/${EXTEN})

pbxB:
Set(REMOTE_RDNIS=${IAXVAR(RDNIS)})
Agi(do_something_funky.agi)

??

Again, I agree that the standard telephony variables should be passed without 
this mechanism, but until a bug is filed and that issue is discussed, it's 
not part of this particular issue.  :-)

-A.



More information about the asterisk-dev mailing list