Hi, did you try proxy-message param in your profile?

rgds,
Loi Dang Thanh
Phone : +84. 774.735.448
Email : loi.dangthanh@gmail.com


On Sat, May 2, 2020 at 4:31 AM João Vitor Arruda <joao.arruda@gmail.com> wrote:
Hello,

I currently have FS being used as a B2BUA for voice calls (INVITE SIP
Request method) but I also need to process some MESSAGE type SIP
requests.

I'm wondering if there is a way to configure FS to completely proxy
those messages.without acting like a B2BUA.

In my initial try I got a "chatplan" configured to handle those
messages with a lua script that use: freeswitch.Event("info",
"SMS::SEND_MESSAGE");

This kinda working but the problem i'm having is that FS will reply
"202 Accepted" to the original sender before it even forward it to the
final destination which breaks our ability to really confirm that the
message was accepted by the final destination.

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com