Enable REFER support in asterisk

I want to make asterisk relay the REFER method. By default, asterisk is doing REFER to INVITE. On receiving REFER, it’s sending a new INV to the ‘Refer-To’ header in REFER method. But I want it to just relay the REFER to other user agent.

Can I achieve this in asterisk? Any help is appreciated. Thanks.

That is correct user agent behaviour. Asterisk is a back to back user agent. To have REFER relayed, you need a proxy.

Also, be warned that Asterisk’s outgoing REFER support (Transfer application) is quite flakey, especially when things go wrong.

Thanks for the information… that makes sense.