Sending/Receiving instant messages

fred
2012-08-20
2013-05-09
  • fred
    fred
    2012-08-20

    Hey guys. I am very new to Opensips. Basically, at this time, I want to generate a SIP message (from an SMS) within Kannel, and send this message to my Opensips server, which will forward the SIP message to another SIP server. Therefore my Opensips Sip server would act as a single user agent connecting to only one other SIP server. So what I am unsure of is:
    1. Is there a Opensips interface (such as an HTTP server) which Kannel can connect to in order for Kannel to send multiple messages to my Opensips Server, which in turn would be forwarded as SIP instant messages to another SIP server?
    2. Which Opensips api can I use to formulate and send the SIP instant messages?
    3. Which Opensips callback function can be called when I receive acknowledgement responses to the SIP IMs I have sent?
    4. Which Opensips callback function can be called when I receive new SIP instant messages sent to my Opensips server?

    It would be great if someone could help point me in the right direction.
    Many thanks.
    Fred