Hi,
I would like to make a call between two mobile phones using OpenBTS,
but
the call exit after the phone begin to ring, message is show below:
Could anybody help me with this problem?
(1)Message from Asterisk console windows:
*CLI> == Using SIP RTP CoS mark 5
– Executing [[email protected]:1]
Macro(“SIP/460002490537653-0862c8f0”,
“dialGSM,460002490537654”) in new stack
– Executing [[email protected]:1]
Dial(“SIP/460002490537653-0862c8f0”,
“SIP/460002490537654”) in new stack
== Using SIP RTP CoS mark 5
– Called 460002490537654
– SIP/460002490537654-0862fe70 is ringing
– SIP/460002490537654-0862fe70 is ringing
– SIP/460002490537654-0862fe70 is ringing
(2)Message from the apps/ console windows:
[email protected]:~/download/openbts/apps# ./OpenBTS900 | grep SIP
1252826667.141493 2985675664: SIPInterface.cpp:147 SIPInterface::drive()
blocking on socket
1252826682.297491 2817862544: SIPEngine.cpp:124 SIPEngine:
SIPEngine::Register mState=Null 0
1252826682.297629 2817862544: SIPEngine.cpp:160 SIPEngine:
SIPEngine::Register writing 0x9c1b908
1252826682.297685 2817862544: SIPInterface.cpp:134 SIPInterface::write:
REGISTER sip:127.0.0.1 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5062;branch=z9hG4bK42358
1252826682.297724 2817862544: SIPInterface.cpp:73 SIPMessageMap::read
105485028
1252826682.297734 2817862544: SIPInterface.cpp:79 SIPMessageMap::read
blocking on fifo 0x9c1af10
1252826685.772566 2985675664: SIPInterface.cpp:149 SIPInterface::drive()
read SIP/2.0 200 OK
Via: SIP/2.0/UDP 127.0.0.1:5062;branch=z9hG4bK42358;received=127.0.0.1
1252826685.772694 2985675664: SIPInterface.cpp:161 drive() read (no
method)
1252826685.772705 2985675664: SIPInterface.cpp:198
SIPInterface::checkInvite
1252826685.772719 2985675664: SIPInterface.cpp:183 drive: got message
0x9c1b908 with call id 105485028 and writing it to the map.
1252826685.772728 2985675664: SIPInterface.cpp:61 SIPMessageMap::write
105485028 msg 0x9c1b908
1252826685.772736 2985675664: SIPInterface.cpp:67 SIPMessage::write on
fifo
0x9c1af10
1252826685.772750 2985675664: SIPInterface.cpp:147 SIPInterface::drive()
blocking on socket
1252826685.772764 2817862544: SIPEngine.cpp:185 SIPEngine:
SIPEngine::Register success
1252826685.772799 2817862544: MobilityManagement.cpp:137 ControlLayer
LocationUpdatingController : SIPRegistration -> SUCCESS
1252826685.772808 2817862544: LocationUpdatingController :
SIPRegistration
-> SUCCESS
1252826696.203126 2750737296: SIPEngine.cpp:124 SIPEngine:
SIPEngine::Register mState=Null 0
1252826696.203186 2750737296: SIPEngine.cpp:160 SIPEngine:
SIPEngine::Register writing 0x9c1be68
1252826696.203226 2750737296: SIPInterface.cpp:134 SIPInterface::write:
REGISTER sip:127.0.0.1 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5062;branch=z9hG4bK18517
1252826696.203256 2750737296: SIPInterface.cpp:73 SIPMessageMap::read
873845498
1252826696.203265 2750737296: SIPInterface.cpp:79 SIPMessageMap::read
blocking on fifo 0x9c1af10
1252826696.216425 2985675664: SIPInterface.cpp:149 SIPInterface::drive()
read SIP/2.0 200 OK
Via: SIP/2.0/UDP 127.0.0.1:5062;branch=z9hG4bK18517;received=127.0.0.1
1252826696.216519 2985675664: SIPInterface.cpp:161 drive() read (no
method)
1252826696.216529 2985675664: SIPInterface.cpp:198
SIPInterface::checkInvite
1252826696.216537 2985675664: SIPInterface.cpp:183 drive: got message
0x9c1be68 with call id 873845498 and writing it to the map.
1252826696.216546 2985675664: SIPInterface.cpp:61 SIPMessageMap::write
873845498 msg 0x9c1be68
1252826696.216555 2985675664: SIPInterface.cpp:67 SIPMessage::write on
fifo
0x9c1af10
1252826696.216566 2985675664: SIPInterface.cpp:147 SIPInterface::drive()
blocking on socket
1252826696.216579 2750737296: SIPEngine.cpp:185 SIPEngine:
SIPEngine::Register success
1252826696.216603 2750737296: MobilityManagement.cpp:137 ControlLayer
LocationUpdatingController : SIPRegistration -> SUCCESS
1252826696.216611 2750737296: LocationUpdatingController :
SIPRegistration
-> SUCCESS
1252826720.729948 2616486800: CallControl.cpp:524 ControlLayer MOC: SIP
start engine
1252826720.730013 2616486800: CallControl.cpp:549 ControlLayer MOC:
starting
SIP (INVITE) Calling 2104
1252826720.730024 2616486800: SIPEngine.cpp:202 SIPEngine:
SIPEngine::MOCSendINVITE mState=Null
1252826720.730159 2616486800: SIPInterface.cpp:134 SIPInterface::write:
INVITE sip:[email protected] sip%[email protected] SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5062;branch=z9hG4bK12195
1252826720.730212 2616486800: CallControl.cpp:552 ControlLayer MOC: SIP
state=Starting
1252826720.730582 2985675664: SIPInterface.cpp:149 SIPInterface::drive()
read SIP/2.0 100 Trying
Via: SIP/2.0/UDP 127.0.0.1:5062;branch=z9hG4bK12195;received=127.0.0.1
1252826720.730648 2985675664: SIPInterface.cpp:161 drive() read (no
method)
1252826720.730657 2985675664: SIPInterface.cpp:198
SIPInterface::checkInvite
1252826720.730665 2985675664: SIPInterface.cpp:183 drive: got message
0x9c1c9a0 with call id 777527602 and writing it to the map.
1252826720.730674 2985675664: SIPInterface.cpp:61 SIPMessageMap::write
777527602 msg 0x9c1c9a0
1252826720.730682 2985675664: SIPInterface.cpp:67 SIPMessage::write on
fifo
0x9c1c380
1252826720.730690 2985675664: SIPInterface.cpp:147 SIPInterface::drive()
blocking on socket
1252826720.732635 2985675664: SIPInterface.cpp:149 SIPInterface::drive()
read INVITE sip:[email protected]:5062 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK6c1eaa55;rport
1252826720.732728 2985675664: SIPInterface.cpp:159 drive() read method
INVITE
1252826720.732739 2985675664: SIPInterface.cpp:198
SIPInterface::checkInvite
1252826720.732752 2985675664: SIPInterface.cpp:217
SIPInterface::checkInvite: invitation to
sip:[email protected]:5062
1252826720.732766 2985675664: SIPInterface.cpp:241
SIPInterface::checkInvite: make new transaction
1252826720.732836 2985675664: SIPInterface.cpp:255
SIPInterface::checkInvite: making transaction and add to transaction
table
ID= 1804289385
1252826720.732845 2985675664: SIPInterface.cpp:256
SIPInterface::checkInvite: adding mobile ID IMSI=460002490537654
1252826720.732853 2985675664: SIPInterface.cpp:259
SIPInterface::checkInvite: new SIP invite, initial paging
1252826720.732879 2985675664: SIPInterface.cpp:183 drive: got message
0x9c1e708 with call id 19cc00eb7f3b8fc402c1faad5ac323b6 and writing it
to
the map.
1252826720.732887 2985675664: SIPInterface.cpp:61 SIPMessageMap::write
19cc00eb7f3b8fc402c1faad5ac323b6 msg 0x9c1e708
1252826720.732895 2985675664: SIPInterface.cpp:67 SIPMessage::write on
fifo
0x9c1f660
1252826720.732902 2985675664: SIPInterface.cpp:147 SIPInterface::drive()
blocking on socket
1252826721.732136 2985675664: SIPInterface.cpp:149 SIPInterface::drive()
read INVITE sip:[email protected]:5062 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK6c1eaa55;rport
1252826721.732368 2985675664: SIPInterface.cpp:159 drive() read method
INVITE
1252826721.732395 2985675664: SIPInterface.cpp:198
SIPInterface::checkInvite
1252826721.732441 2985675664: SIPInterface.cpp:217
SIPInterface::checkInvite: invitation to
sip:[email protected]:5062
1252826721.732504 2985675664: SIPInterface.cpp:229
SIPInterface::checkInvite: repeated SIP invite, repaging
1252826721.732575 2985675664: SIPInterface.cpp:183 drive: got message
0x9c20990 with call id 19cc00eb7f3b8fc402c1faad5ac323b6 and writing it
to
the map.
1252826721.732597 2985675664: SIPInterface.cpp:61 SIPMessageMap::write
19cc00eb7f3b8fc402c1faad5ac323b6 msg 0x9c20990
1252826721.732618 2985675664: SIPInterface.cpp:67 SIPMessage::write on
fifo
0x9c1f660
1252826721.732638 2985675664: SIPInterface.cpp:147 SIPInterface::drive()
blocking on socket
1252826721.873787 2465454992: SIPEngine.cpp:244 SIPEngine:
SIPEngine::MOCWaitForOK mState=Starting
1252826721.873798 2465454992: SIPInterface.cpp:73 SIPMessageMap::read
777527602
1252826721.873806 2465454992: SIPInterface.cpp:79 SIPMessageMap::read
blocking on fifo 0x9c1c380
1252826721.873815 2465454992: SIPEngine.cpp:259 SIPEngine:
SIPEngine::MOCWaitForOK: received 100
1252826721.873823 2465454992: SIPEngine.cpp:263 SIPEngine:
SIPEngine::MOCWaitForOK: TRYING/PROGRESS
1252826721.873843 2465454992: CallControl.cpp:609 ControlLayer MOC A:
SIP
state=Proceeding
1252826721.873851 2465454992: CallControl.cpp:628 ControlLayer MOC A:
SIP:Proceeding, send progress
1252826722.130258 2465454992: SIPEngine.cpp:244 SIPEngine:
SIPEngine::MOCWaitForOK mState=Proceeding
1252826722.130281 2465454992: SIPInterface.cpp:73 SIPMessageMap::read
777527602
1252826722.130302 2465454992: SIPInterface.cpp:79 SIPMessageMap::read
blocking on fifo 0x9c1c380
1252826722.733140 2985675664: SIPInterface.cpp:149 SIPInterface::drive()
read INVITE sip:[email protected]:5062 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK6c1eaa55;rport
1252826722.733365 2985675664: SIPInterface.cpp:159 drive() read method
INVITE
1252826722.733391 2985675664: SIPInterface.cpp:198
SIPInterface::checkInvite
1252826722.733420 2985675664: SIPInterface.cpp:217
SIPInterface::checkInvite: invitation to
sip:[email protected]:5062
1252826722.733466 2985675664: SIPInterface.cpp:229
SIPInterface::checkInvite: repeated SIP invite, repaging
1252826722.733547 2985675664: SIPInterface.cpp:183 drive: got message
0x9c21da0 with call id 19cc00eb7f3b8fc402c1faad5ac323b6 and writing it
to
the map.
1252826722.733571 2985675664: SIPInterface.cpp:61 SIPMessageMap::write
19cc00eb7f3b8fc402c1faad5ac323b6 msg 0x9c21da0
1252826722.733591 2985675664: SIPInterface.cpp:67 SIPMessage::write on
fifo
0x9c1f660
1252826722.733612 2985675664: SIPInterface.cpp:147 SIPInterface::drive()
blocking on socket
1252826722.759537 2045922192: SIPEngine.cpp:416 SIPEngine: MTCSendTrying
mState=Null
1252826722.759796 2045922192: SIPInterface.cpp:134 SIPInterface::write:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK6c1eaa55;rport
1252826723.041241 2045922192: SIPEngine.cpp:469 SIPEngine:
SIPEngine::MTCWaitForACK: okay sentwaiting for ack
1252826723.041254 2045922192: SIPInterface.cpp:73 SIPMessageMap::read
19cc00eb7f3b8fc402c1faad5ac323b6
1252826723.041269 2045922192: SIPInterface.cpp:79 SIPMessageMap::read
blocking on fifo 0x9c1f660
1252826723.041292 2045922192: SIPEngine.cpp:493 SIPEngine:
SIPEngine::MTCWaitForACK: received sip_method=INVITE
1252826723.041306 2045922192: SIPEngine.cpp:497 SIPEngine:
SIPEngine::MTCWaitForACK: Received duplicate INVITE
1252826723.882496 2045922192: CallControl.cpp:806 ControlLayer MTC::
sending
SIP Ringing
1252826723.882515 2045922192: SIPEngine.cpp:428 SIPEngine:
MTCSendRinging
mState=Proceeding
1252826723.882551 2045922192: SIPEngine.cpp:436 SIPEngine:
MTCSendRinging:
send ringing
1252826723.882745 2045922192: SIPInterface.cpp:134 SIPInterface::write:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK6c1eaa55;rport
1252826723.882823 2045922192: SIPEngine.cpp:469 SIPEngine:
SIPEngine::MTCWaitForACK: okay sentwaiting for ack
1252826723.882847 2045922192: SIPInterface.cpp:73 SIPMessageMap::read
19cc00eb7f3b8fc402c1faad5ac323b6
1252826723.882868 2045922192: SIPInterface.cpp:79 SIPMessageMap::read
blocking on fifo 0x9c1f660
1252826723.882889 2045922192: SIPEngine.cpp:493 SIPEngine:
SIPEngine::MTCWaitForACK: received sip_method=INVITE
1252826723.882909 2045922192: SIPEngine.cpp:497 SIPEngine:
SIPEngine::MTCWaitForACK: Received duplicate INVITE
1252826723.883941 2985675664: SIPInterface.cpp:149 SIPInterface::drive()
read SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 127.0.0.1:5062;branch=z9hG4bK12195;received=127.0.0.1
1252826723.884136 2985675664: SIPInterface.cpp:161 drive() read (no
method)
1252826723.884162 2985675664: SIPInterface.cpp:198
SIPInterface::checkInvite
1252826723.884181 2985675664: SIPInterface.cpp:183 drive: got message
0x9c20990 with call id 777527602 and writing it to the map.
1252826723.884203 2985675664: SIPInterface.cpp:61 SIPMessageMap::write
777527602 msg 0x9c20990
1252826723.884224 2985675664: SIPInterface.cpp:67 SIPMessage::write on
fifo
0x9c1c380
1252826723.884250 2985675664: SIPInterface.cpp:147 SIPInterface::drive()
blocking on socket
1252826723.884283 2465454992: SIPEngine.cpp:259 SIPEngine:
SIPEngine::MOCWaitForOK: received 180
1252826723.884307 2465454992: SIPEngine.cpp:267 SIPEngine:
SIPEngine::MOCWaitForOK: RINGING
1252826723.884349 2465454992: CallControl.cpp:609 ControlLayer MOC A:
SIP
state=Ringing
1252826723.884370 2465454992: CallControl.cpp:618 ControlLayer MOC A:
SIP:Ringing, send Alerting and move on
1252826723.896232 2465454992: CallControl.cpp:648 ControlLayer MOC: wait
for
SIP OKAY
1252826723.896276 2465454992: CallControl.cpp:652 ControlLayer MOC: wait
for
SIP session start
1252826723.896298 2465454992: SIPEngine.cpp:244 SIPEngine:
SIPEngine::MOCWaitForOK mState=Ringing
1252826723.896317 2465454992: SIPInterface.cpp:73 SIPMessageMap::read
777527602
1252826723.896336 2465454992: SIPInterface.cpp:79 SIPMessageMap::read
blocking on fifo 0x9c1c380
1252826724.883235 2045922192: CallControl.cpp:806 ControlLayer MTC::
sending
SIP Ringing
1252826724.883270 2045922192: SIPEngine.cpp:428 SIPEngine:
MTCSendRinging
mState=Proceeding
1252826724.883295 2045922192: SIPEngine.cpp:436 SIPEngine:
MTCSendRinging:
send ringing
1252826724.883476 2045922192: SIPInterface.cpp:134 SIPInterface::write:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK6c1eaa55;rport
1252826724.883551 2045922192: SIPEngine.cpp:469 SIPEngine:
SIPEngine::MTCWaitForACK: okay sentwaiting for ack
1252826724.883576 2045922192: SIPInterface.cpp:73 SIPMessageMap::read
19cc00eb7f3b8fc402c1faad5ac323b6
1252826724.883598 2045922192: SIPInterface.cpp:79 SIPMessageMap::read
blocking on fifo 0x9c1f660
1252826724.883620 2045922192: SIPEngine.cpp:493 SIPEngine:
SIPEngine::MTCWaitForACK: received sip_method=INVITE
1252826724.883640 2045922192: SIPEngine.cpp:497 SIPEngine:
SIPEngine::MTCWaitForACK: Received duplicate INVITE
1252826725.883845 2045922192: CallControl.cpp:806 ControlLayer MTC::
sending
SIP Ringing
1252826725.883874 2045922192: SIPEngine.cpp:428 SIPEngine:
MTCSendRinging
mState=Proceeding
1252826725.883892 2045922192: SIPEngine.cpp:436 SIPEngine:
MTCSendRinging:
send ringing
1252826725.884025 2045922192: SIPInterface.cpp:134 SIPInterface::write:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK6c1eaa55;rport
1252826725.884090 2045922192: SIPEngine.cpp:469 SIPEngine:
SIPEngine::MTCWaitForACK: okay sentwaiting for ack
1252826725.884107 2045922192: SIPInterface.cpp:73 SIPMessageMap::read
19cc00eb7f3b8fc402c1faad5ac323b6
1252826725.884122 2045922192: SIPInterface.cpp:79 SIPMessageMap::read
blocking on fifo 0x9c1f660
1252826725.896625 2465454992: SIPEngine.cpp:254 SIPEngine:
SIPEngine::MOCWaitForOK: TIMEOUT
1252826725.896670 2465454992: CallControl.cpp:654 ControlLayer MOC: SIP
state Timeout
1252826725.896845 2465454992: CallControl.cpp:652 ControlLayer MOC: wait
for
SIP session start
1252826725.896859 2465454992: SIPEngine.cpp:244 SIPEngine:
SIPEngine::MOCWaitForOK mState=Timeout
1252826725.896872 2465454992: SIPInterface.cpp:73 SIPMessageMap::read
777527602
1252826725.896885 2465454992: SIPInterface.cpp:79 SIPMessageMap::read
blocking on fifo 0x9c1c380
(after the above message, the application exit…)
–
Best wishes
陈èè