[asterisk-users] Goto from a feature macro is not working?

Danny Nicholas danny at debsinc.com
Fri Jul 24 15:22:28 CDT 2009


Try replacing the "," with "|".  Shouldn't make any difference, but it is a
future deprecation if I remember correctly.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Scott Gifford
Sent: Friday, July 24, 2009 3:14 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Goto from a feature macro is not working?

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.
 

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list