Macro not working in asterisk 16.10.0

Hi,

Macro is not working in 3 way conference which is included in features.conf
Can someone say why macro is not working in asterisk??.
The error is “The application is not available”.

extensions.conf

[test3way]
exten => 1212,1,Noop(########## TLC Check ##########)
same => n,set(DYNAMIC_FEATURES=3way-start)
same => n,Dial(SIP/1111,m)

[dynamic-3way]
exten => _XXX.,1,Answer
exten => _XXX.,n,Set(CONFNO=1212)
exten => _XXX.,n,Set(DYNAMIC_FEATURES=)
exten => _XXX.,n,ConfBridge(${CONFNO},M)
exten => _XXX.,n,Hangup

[macro-3way-start]
exten => s,1,Set(CONFNO=1212)
exten => s,n,ChannelRedirect({BRIDGEPEER},dynamic-3way,{CONFNO},1)
exten => s,n,wait(1)
exten => s,n,Set(DYNAMIC_FEATURES=3way-conf#3way-noconf)
exten => s,n,Dial(SIP/1112,g)
exten => s,n,Set(DYNAMIC_FEATURES=)
exten => s,n,ConfBridge(${CONFNO},M)

[macro-3way-conf]
exten => s,1,ChannelRedirect({BRIDGEPEER},dynamic-3way,{CONFNO},1)

[macro-3way-noconf]
exten => s,1,SoftHangup(${BRIDGEPEER})

features.conf

[applicationmap]

3way-conf => **1,self/caller,Macro(3way-conf,s,1)
3way-start => **0,self/both,Macro(3way-start,s,1)
3way-noconf => **2,self/both,Macro(3way-noconf,s,1)

Error captures:

kalaivani-Vostro-2520CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
200/200 192.168.43.234 D Yes Yes 40795 OK (1 ms)
201/201 192.168.43.1 D Yes Yes 50300 OK (575 ms)
202/202 192.168.43.1 D Yes Yes 16338 OK (575 ms)
203/203 (Unspecified) D Yes Yes 0 UNKNOWN
204/204 (Unspecified) D Yes Yes 0 UNKNOWN
205/205 (Unspecified) D Yes Yes 0 UNKNOWN
6 sip peers [Monitored: 3 online, 3 offline Unmonitored: 0 online, 0 offline]
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> 0xb4c264a0 – Strict RTP learning after remote address set to: 157.51.77.136:8002
– Executing [201@sip_context:1] Verbose(“SIP/200-00000003”, “1, Placing call to local SIP phone at 201”) in new stack
Placing call to local SIP phone at 201
– Executing [201@sip_context:2] Set(“SIP/200-00000003”, “__DYNAMIC_FEATURES=callerstartthreeway#calleestartthreeway”) in new stack
– Executing [201@sip_context:3] Dial(“SIP/200-00000003”, “SIP/201,90”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/201
– SIP/201-00000004 is ringing
> 0xb4c2d0c0 – Strict RTP learning after remote address set to: 192.168.43.1:61104
– SIP/201-00000004 answered SIP/200-00000003
– Channel SIP/201-00000004 joined ‘simple_bridge’ basic-bridge
– Channel SIP/200-00000003 joined ‘simple_bridge’ basic-bridge
> 0xb4c264a0 – Strict RTP qualifying stream type: audio
> 0xb4c264a0 – Strict RTP switching source address to 192.168.43.234:8002
[May 25 12:51:07] WARNING[5039][C-00000002]: chan_iax2.c:1229 jb_warning_output: Resyncing the jb. last_delay 0, this delay -98182299, threshold 1000, new offset 98182299
> 0xb4c2d0c0 – Strict RTP switching to RTP target address 192.168.43.1:61104 as source
[May 25 12:51:07] WARNING[5040][C-00000002]: chan_iax2.c:1229 jb_warning_output: Resyncing the jb. last_delay 0, this delay -464196849, threshold 1000, new offset 464196849
> 0xb4c264a0 – Strict RTP learning complete - Locking on source address 192.168.43.234:8002
> 0xb4c2d0c0 – Strict RTP learning complete - Locking on source address 192.168.43.1:61104
[May 25 12:51:13] WARNING[5039][C-00000002]: app.c:277 ast_app_exec_macro: Cannot run ‘Macro(fc-tw-start,s,1)’. The application is not available.
kalaivani-Vostro-2520
CLI>

here, why Macro is not calling this macro-3way-conf?? If anyone can help it will be very useful.
Thanks in advance

Per the upgrade notes:

app_macro:
 - The app_macro module is now deprecated and by default it is no longer
   built.  Users should migrate to app_stack (Gosub).  A warning is logged
   the first time any Macro is used.

Thus the module is not available, unless you have selected it in “make menuselect” and built it when building Asterisk.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.