how to send Message using MI command in opensips - opensips

Salam, I searched the internet many times to find the MI Command (Datagram or FIFO) to send a message to a SIP user, even that it is mentioned so in the opensips documentation.
Any one can help please?

I found it and I'll post it hear, it might be useful for someone else.
sudo opensipsctl fifo t_uac_dlg MESSAGE "sip:+962790000000#zajil.no-ip.org" . . "\"From: sip:+962796638484#zajil.no-ip.org\r\nTo: sip:+962790000000#zajil.no-ip.org\r\nContent-Type: text/plain\r\n"\" 123456

Related

Is it possible to send logs of a specific container using Promtail?

My use case is to send logs of a specific container to Loki using Promtail. All the blogs I am read so far just mention sending all the logs but not any specific one. Any help or references would be appreciated. Thanks in advance.

IMAP mail forward and organize suggestion?

I can't find a solution. I need to filter emails exmaple: if received from example#example.com move to directory(imap) TEST and forward to example2#example.com.
Now I can only achieve this with email clients always on my computer (outlook, thunderbird). Maybe anyone could suggest docker solution, so I could leave it on my Synology NAS.

Automation Anywhere fails with "destination mailbox was not found or could not be accessed"

I use send mail on automation anywhere but program error massage,
"The destination mailbox was not found or could not be accessed."
please Knowledgeable person help advice me.
thank you.
If you are using a community edition then the send email command won't work most probably. But if you are using Enterprise editions then check the following:
Check if the all mails given are correct.
In AA client goto Tools->Options->Email settings and check the correct host and port number.
If the above methods don't work that means the SMTP settings of the your system are not done or your system doesn't have enough authorization. Either you may have to raise some request in your organization to open that particular port for you or something similar to get it fixed.

HL7 Error: MSA|AE|0000000|Field [AccessionNo] is required;

I'm using HL7Soup as my HL7 Client to add a new patient record to no avail. Can anyone help me fix an error I received? I have checked HL7 manual on the net, it didn't help as it is very unreliable.
I sent the following message using the client:
MSH|^~\&|HL7Soup|Instance1|HL7Soup|Instance2|20160928142250|1|ADT^A28|0000000|D|2.5.1|1|2|||||||2
EVN|NW|20160928154802|20160928154805|O|1|20160928154821|1
PID|1984|1984|1984|1-1984|Rey Allan|||||||||||||12345x|||||||5||||||||||||||
PV1|1984|R|||||||||||||||||0||||||||||||||||||||||||||||||00001|ACSN||
And got the following response:
MSH|^~\&|HL7Soup|Instance2|HL7Soup|Instance1|20160928163118|1|ORR^O02|0000000|D|2.5.1|1|2
MSA|AE|0000000|Field [AccessionNo] is required;
I don't know which field it's trying to refer to. I checked the manual it suggests 'Visit Number', I changed it, but still had the error. Help Pls.
Thanks in advance.
I think you try to send an ADT message to a system that is configured to receive order (ORM) messages.
The answer you get is an ORR^O02 (a reply to an order message).
The answer requests an accession number. Those are typically used in order entry not in ADT.
You did provide a visit number (PV1-19): 0
Maybe you use the wrong system or the wrong port?
To connect to a remote system I would recommend that you use a library like HAPI (http://hl7api.sourceforge.net) or something like Apache Camel (http://camel.apache.org/hl7) or Mirth Connect. There are many pitfalls in MLLP (the protocol usually used).

IRC /TOPIC command trimming issue in iOS

I am using Cocoa async socket library in my iOS application to make connection with an IRC server via Tcp sockets. All the IRC commands are working perfectly except /TOPIC command.
When I send a topic command it always trim the first two characters in the response. Please check the example wireshark report below.
It works on other IRC clients (mIRC). How can I identify the root cause of the issue?
If you send your own IRC commands (most IRC clients let you easily inject arbitrary commands with /command here), you have to format it correctly, with a : before the final parameter if it contains spaces:
TOPIC #abcdereh :My name is Clement
Most IRC clients have an alias for /TOPIC that does that stuff for you.
If you are writing your own client, make sure that you handle the following cases:
/TOPIC: send TOPIC #currentchannel
/TOPIC #somechannel send TOPIC #somechannel
/TOPIC Not a channel send TOPIC #currentchannel :Not a channel
/TOPIC #somechannel New Topic send TOPIC #somechannel :New Topic

Resources