Skip to content

Instantly share code, notes, and snippets.

@ivelin
Created December 16, 2014 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivelin/d2e94594e16cdf02a535 to your computer and use it in GitHub Desktop.
Save ivelin/d2e94594e16cdf02a535 to your computer and use it in GitHub Desktop.
OpenBTS SMS flow to Restcomm
09:24:45,231 INFO [gov.nist.javax.sip.stack.SIPTransactionStack] (RestComm-akka.actor.default-dispatcher-72) <message
from="192.168.1.22:5080"
to="192.168.1.22:5062"
time="1418750685229"
isSender="true"
transactionId="z9hg4bk06b79dab-bfa9-4870-8115-c6d4fa521fb5_57a5b08a_a12fdcba-731b-44cb-9d6e-2fa8eeb7e757"
callId="86e9c4e8bdc0242e374e557b902d3f15@192.168.1.22"
firstLine="OPTIONS sip:IMSI001010000000002@192.168.1.22:5062;lr SIP/2.0"
>
<![CDATA[OPTIONS sip:IMSI001010000000002@192.168.1.22:5062;lr SIP/2.0
Call-ID: 86e9c4e8bdc0242e374e557b902d3f15@192.168.1.22
CSeq: 1 OPTIONS
From: <sip:restcomm@192.168.1.22>;tag=57725463_4046dd30_57a5b08a_06b79dab-bfa9-4870-8115-c6d4fa521fb5
To: <sip:IMSI001010000000002@192.168.1.22:5062>
Max-Forwards: 70
User-Agent: Mobicents Restcomm 7.2.1.581
Contact: <sip:restcomm@192.168.1.22:5080>
Via: SIP/2.0/UDP 192.168.1.22:5080;branch=z9hG4bK06b79dab-bfa9-4870-8115-c6d4fa521fb5_57a5b08a_a12fdcba-731b-44cb-9d6e-2fa8eeb7e757
Route: <sip:IMSI001010000000002@192.168.1.22:5062;lr>
Content-Length: 0
]]>
</message>
09:24:45,237 INFO [gov.nist.javax.sip.stack.SIPTransactionStack] (Mobicents-SIP-Servlets-UDPMessageChannelThread-21) <message
from="192.168.1.22:5062"
to="192.168.1.22:5080"
time="1418750685236"
isSender="false"
transactionId="z9hg4bk06b79dab-bfa9-4870-8115-c6d4fa521fb5_57a5b08a_a12fdcba-731b-44cb-9d6e-2fa8eeb7e757"
callId="86e9c4e8bdc0242e374e557b902d3f15@192.168.1.22"
firstLine="SIP/2.0 404 Not Found"
>
<![CDATA[SIP/2.0 404 Not Found
To: <sip:IMSI001010000000002@192.168.1.22:5062>
From: <sip:restcomm@192.168.1.22>;tag=57725463_4046dd30_57a5b08a_06b79dab-bfa9-4870-8115-c6d4fa521fb5
Via: SIP/2.0/UDP 192.168.1.22:5080;branch=z9hG4bK06b79dab-bfa9-4870-8115-c6d4fa521fb5_57a5b08a_a12fdcba-731b-44cb-9d6e-2fa8eeb7e757
Call-ID: 86e9c4e8bdc0242e374e557b902d3f15@192.168.1.22
CSeq: 1 OPTIONS
User-Agent: OpenBTS 4.0.0.8025 Build Date Mar 19 2014
Max-Forwards: 70
Content-Length: 0
]]>
</message>
09:24:45,243 INFO [org.mobicents.servlet.sip.core.session.SipApplicationSessionImpl] (RestComm-akka.actor.default-dispatcher-72) Invalidating the following sip application session 06b79dab-bfa9-4870-8115-c6d4fa521fb5;RestComm
09:24:45,244 INFO [org.mobicents.servlet.sip.core.session.SipSessionImpl] (RestComm-akka.actor.default-dispatcher-72) Invalidating the sip session (57725463_4046dd30_57a5b08a_06b79dab-bfa9-4870-8115-c6d4fa521fb5;86e9c4e8bdc0242e374e557b902d3f15@192.168.1.22;06b79dab-bfa9-4870-8115-c6d4fa521fb5;RestComm)
09:24:45,245 INFO [org.mobicents.servlet.sip.core.session.SipApplicationSessionImpl] (RestComm-akka.actor.default-dispatcher-72) The following sip application session 06b79dab-bfa9-4870-8115-c6d4fa521fb5;RestComm has been invalidated
09:24:51,296 INFO [gov.nist.javax.sip.stack.SIPTransactionStack] (Mobicents-SIP-Servlets-UDPMessageChannelThread-22) <message
from="192.168.1.22:5062"
to="192.168.1.22:5080"
time="1418750691292"
isSender="false"
transactionId="z9hg4bkobtsgvygfadtwjkawdoe"
callId="001013e826c0010-6ae346a016401ab3"
firstLine="MESSAGE sip:2001@192.168.1.22:5080 SIP/2.0"
>
<![CDATA[MESSAGE sip:2001@192.168.1.22:5080 SIP/2.0
To: <sip:2001@192.168.1.22>
From: <sip:IMSI001010000000002@192.168.1.22:5062>;tag=OBTSdaexwhldnzdtzild
Via: SIP/2.0/UDP 192.168.1.22:5062;branch=z9hG4bKOBTSgvygfadtwjkawdoe
Call-ID: 001013e826c0010-6ae346a016401ab3
CSeq: 56405 MESSAGE
Contact: <sip:IMSI001010000000002@192.168.1.22:5062>;expires=3600
P-Preferred-Identity: <sip:IMSI001010000000002@192.168.1.22>
User-Agent: OpenBTS 4.0.0.8025 Build Date Mar 19 2014
Max-Forwards: 70
Content-Type: text/plain
Content-Length: 7
Testing]]>
</message>
09:24:51,299 INFO [org.mobicents.servlet.sip.core.dispatchers.InitialRequestDispatcher] (Mobicents-SIP-Servlets-UDPMessageChannelThread-22) Request event dispatched to RestComm
09:24:51,326 INFO [gov.nist.javax.sip.stack.SIPTransactionStack] (RestComm-akka.actor.default-dispatcher-73) <message
from="192.168.1.22:5080"
to="192.168.1.22:5062"
time="1418750691324"
isSender="true"
transactionId="z9hg4bkobtsgvygfadtwjkawdoe"
callId="001013e826c0010-6ae346a016401ab3"
firstLine="SIP/2.0 202 Accepted"
>
<![CDATA[SIP/2.0 202 Accepted
To: <sip:2001@192.168.1.22>;tag=57688256_4046dd30_57a5b08a_166efceb-dc28-436c-a4b0-c29b6f4807ba
Via: SIP/2.0/UDP 192.168.1.22:5062;branch=z9hG4bKOBTSgvygfadtwjkawdoe
CSeq: 56405 MESSAGE
Call-ID: 001013e826c0010-6ae346a016401ab3
From: <sip:IMSI001010000000002@192.168.1.22:5062>;tag=OBTSdaexwhldnzdtzild
Server: Mobicents Restcomm 7.2.1.581
Content-Length: 0
]]>
</message>
09:24:51,388 INFO [org.mobicents.servlet.restcomm.rvd.http.RvdController] (http-/192.168.1.22:8080-6) Received Restcomm POST request
09:24:51,536 ERROR [org.mobicents.servlet.restcomm.sms.SmsSession] (RestComm-akka.actor.default-dispatcher-73) java.lang.IllegalArgumentException: Illegal argument WARNING arguments left: 1
09:24:51,562 INFO [org.mobicents.servlet.restcomm.rvd.http.RvdController] (http-/192.168.1.22:8080-4) Received Restcomm POST request
09:24:51,575 INFO [org.mobicents.servlet.restcomm.rvd.BuildService] (http-/192.168.1.22:8080-4) handling sms action
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment