[asterisk-users] Goto from a feature macro is not working?
Scott Gifford
sgifford at suspectclass.com
Fri Jul 24 15:13:35 CDT 2009
Hello,
I'm trying to implement multi-party calls according to these
instructions:
http://www.voip-info.org/wiki/view/Asterisk+n-way+call+HOWTO
They are almost working, except that the Goto at the end of
[dynamic-nway-start] doesn't seem to work. When I turn verbosity up a
bit, I get something like this in my error log:
== Channel 'SIP/SWG-0085a180' jumping out of macro 'nway-start'
and then the SIP line is hung up, with no further dialplan steps
logged for that line.
Writing a small test case to see what's going on, I get the same
behavior:
; extensions.conf
[macro-test1]
exten => s,1,Goto(macro-test1a,s,1)
[macro-test1a]
exten => s,1,NoOp
; features.conf
macro-test1 => *1,self/both,Macro,test1
When I activeate this feature with *1, I get:
-- Executing [s at macro-test1:1] Goto("SIP/SWG-007f9280","macro-test1a|s|1") in new stack
-- Goto (macro-test1a,s,1)
== Channel 'SIP/SWG-007f9280' jumping out of macro 'test1'
then nothing else about this (though the line isn't disconnected).
The documentation for Macro on voip-info.org seems to say that using
Goto from a macro is fine:
http://www.voip-info.org/wiki/view/Asterisk+cmd+Macro
This is with Asterisk 1.4.26.
Any idea why this is happening, or any ideas how to work around it?
What I'm really looking for is an attended transfer where all three
parties are on the line together at the end, then the attending
operator can drop off when everything is confirmed. Maybe there's an
easier way to do that?
Thanks!
----Scott.
More information about the asterisk-users
mailing list