[OpenSIPS-Users] send message via opensips-cli

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Dec 9 10:31:47 EST 2021


Hi,

And do you see any errors in the OpenSIPS logs ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS eBootcamp 2021
   https://opensips.org/training/OpenSIPS_eBootcamp_2021/

On 12/8/21 11:49 AM, jacky z wrote:
> Hi Team,
>
> We are trying to send messages with opensips-cli, but can't find too 
> much info on how to make it work. Here is what we tried but it did not 
> work.
>
> opensips-cli -x mi t_uac_dlg method=MESSAGE 
> ruri="sip:alice at sip.domain.com:5061 
> <http://sip:alice@sip.domain.com:5061>" headers="From: 
> sip:bob at sip.domain.com:5061 
> <http://sip:bob@sip.domain.com:5061>\r\nTo: 
> sip:alice at sip.domain.com:5061 
> <http://sip:alice@sip.domain.com:5061>\r\nContact: 
> sip:bob at sip.domain.com:5061 
> <http://sip:bob@sip.domain.com:5061>\r\nContent-Type: text/plain\r\n" 
> body="123456\r\n"
>
> We are using OPENSIPS 3.1 and here is the error we get,
>
> ERROR: command 't_uac_dlg' returned: 500: Server error occurred (1/MI/UAC)
>
> Anything wrong with the above command line? Thanks!
>
> Regards,
> jacky
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211209/b3cfe590/attachment.html>


More information about the Users mailing list