[pjsip] incoming call problem
Maya Zalcberg
maya at zemingo.com
Sun Mar 7 09:20:56 CST 2010
Hi Alex,
Even though i fixed my client, so now it's annex b returns yes, i still have
the same problem with the incoming call.
i am attaching a new log:
[Session started at 2010-03-07 17:10:51 +0200.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1128) (Sat Sep 26 06:46:24 UTC
2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i386-apple-darwin
--target=arm-apple-darwin".tty /dev/ttys003
sharedlibrary apply-load-rules all
Loading program into debugger…
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-15884-33
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
run
Running…
[Switching to thread 11779]
[Switching to thread 11779]
(gdb) continue
warning: Couldn't raise load state for requested shlib: "MySIPhoneV2" for
breakpoint 1.
warning: Couldn't raise load state for requested shlib: "MySIPhoneV2" for
breakpoint 2.
warning: Couldn't raise load state for requested shlib: "MySIPhoneV2" for
breakpoint 3.
warning: Couldn't raise load state for requested shlib: "MySIPhoneV2" for
breakpoint 4.
warning: Couldn't raise load state for requested shlib: "MySIPhoneV2" for
breakpoint 5.
warning: Couldn't raise load state for requested shlib: "MySIPhoneV2" for
breakpoint 6.
17:11:24.107 os_core_unix.c pjlib 1.5.5 for POSIX initialized
17:11:24.140 sip_endpoint.c Creating endpoint instance...
17:11:24.155 pjlib select() I/O Queue created (0x1d9094)
17:11:24.158 sip_endpoint.c Module "mod-msg-print" registered
17:11:24.161 sip_transport. Transport manager created.
17:11:24.172 sip_endpoint.c Module "mod-pjsua-log" registered
17:11:24.177 sip_endpoint.c Module "mod-tsx-layer" registered
17:11:24.179 sip_endpoint.c Module "mod-stateful-util" registered
17:11:24.183 sip_endpoint.c Module "mod-ua" registered
17:11:24.188 sip_endpoint.c Module "mod-100rel" registered
17:11:24.190 sip_endpoint.c Module "mod-pjsua" registered
17:11:24.194 sip_endpoint.c Module "mod-invite" registered
17:11:24.272 pjlib select() I/O Queue created (0x813214)
17:11:24.285 sip_endpoint.c Module "mod-evsub" registered
17:11:24.290 sip_endpoint.c Module "mod-presence" registered
17:11:24.292 sip_endpoint.c Module "mod-mwi" registered
17:11:24.295 sip_endpoint.c Module "mod-refer" registered
17:11:24.298 sip_endpoint.c Module "mod-pjsua-pres" registered
17:11:24.300 sip_endpoint.c Module "mod-pjsua-im" registered
17:11:24.302 sip_endpoint.c Module "mod-pjsua-options" registered
17:11:24.304 pjsua_core.c 1 SIP worker threads created
17:11:24.306 pjsua_core.c pjsua version 1.5.5 for arm-apple-darwin9
initialized
17:11:24.318 pjsua_core.c SIP UDP socket reachable at 192.168.1.57:5060
17:11:24.321 sip_transport_ Error setting SO_RCVBUF: No buffer space
available [120055]
17:11:24.323 sip_transport_ Error setting SO_SNDBUF: No buffer space
available [120055]
17:11:24.326 udp0x84ba00 SIP UDP transport started, published address
is 192.168.1.57:5060
17:11:24.331 pjsua_acc.c Account <sip:192.168.1.57:5060> added with id
0
17:11:24.342 tcplis:5060 SIP TCP listener ready for incoming
connections at 192.168.1.57:5060
17:11:24.345 pjsua_acc.c Account <sip:192.168.1.57:5060;transport=TCP>
added with id 1
17:11:24.356 pjsua_media.c RTP socket reachable at 192.168.1.57:4000
17:11:24.358 pjsua_media.c RTCP socket reachable at 192.168.1.57:4001
17:11:24.369 pjsua_media.c RTP socket reachable at 192.168.1.57:4002
17:11:24.371 pjsua_media.c RTCP socket reachable at 192.168.1.57:4003
17:11:24.376 pjsua_media.c RTP socket reachable at 192.168.1.57:4004
17:11:24.377 pjsua_media.c RTCP socket reachable at 192.168.1.57:4005
17:11:24.381 pjsua_media.c RTP socket reachable at 192.168.1.57:4006
17:11:24.382 pjsua_media.c RTCP socket reachable at 192.168.1.57:4007
17:11:24.384 sip_endpoint.c Module "mod-unsolicited-mwi" registered
17:11:24.392 pjsua_acc.c Account
sip:722511874 at 072.012.net<sip%3A722511874 at 072.012.net>added with id 2
17:11:24.409 pjsua_core.c TX 426 bytes Request msg REGISTER/cseq=27423
(tdta0x84e200) to UDP 80.179.0.4:5060:
REGISTER sip:072.012.net SIP/2.0
Via: SIP/2.0/UDP 192.168.1.57:5060
;rport;branch=z9hG4bKPjWTdAn5I--IlRXjvdcHI.QDhiLv3lGQTs
Max-Forwards: 70
From: <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>
>;tag=Ulm4ZKXDozw1DOTfDon94zV3C2x92I.u
To: <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>>
Call-ID: 9uObJttlG-qapv2AdkSx9A9AUB9nGA7d
CSeq: 27423 REGISTER
User-Agent: PJSUA v1.5.5/darwin
Contact: <sip:722511874 at 192.168.1.57:5060>
Expires: 300
Content-Length: 0
--end msg--
17:11:24.422 pjsua_acc.c Registration sent
List of codecs:
128 GSM/8000/1
128 PCMU/8000/1
128 PCMA/8000/1
128 G729/8000/1
254 G729/8000/1
128 PCMU/8000/1
128 PCMA/8000/1
128 GSM/8000/1
17:11:24.584 pjsua_core.c RX 457 bytes Response msg
401/REGISTER/cseq=27423 (rdata0x84d064) from UDP 80.179.0.4:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.57:5060
;received=192.168.1.57;branch=z9hG4bKPjWTdAn5I--IlRXjvdcHI.QDhiLv3lGQTs;rport=1069
From: <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>
>;tag=Ulm4ZKXDozw1DOTfDon94zV3C2x92I.u
To: <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>>;tag=SD0o5m799-
Call-ID: 9uObJttlG-qapv2AdkSx9A9AUB9nGA7d
CSeq: 27423 REGISTER
WWW-Authenticate: DIGEST
realm="BroadWorks",qop="auth",algorithm=MD5,nonce="BroadWorksXg6hzdsr3TiekrahBW"
Content-Length: 0
--end msg--
17:11:24.585 pjsua_core.c TX 677 bytes Request msg REGISTER/cseq=27424
(tdta0x84e200) to UDP 80.179.0.4:5060:
REGISTER sip:072.012.net SIP/2.0
Via: SIP/2.0/UDP 192.168.1.57:5060
;rport;branch=z9hG4bKPjvnoY2fakwwLkpg4GCTLK-3Yeg9bFRF-5
Max-Forwards: 70
From: <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>
>;tag=Ulm4ZKXDozw1DOTfDon94zV3C2x92I.u
To: <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>>
Call-ID: 9uObJttlG-qapv2AdkSx9A9AUB9nGA7d
CSeq: 27424 REGISTER
User-Agent: PJSUA v1.5.5/darwin
Contact: <sip:722511874 at 192.168.1.57:5060>
Expires: 300
Authorization: Digest username="722511874", realm="BroadWorks",
nonce="BroadWorksXg6hzdsr3TiekrahBW", uri="sip:072.012.net",
response="f1462965899348f42e4e39f4ae17465d", algorithm=MD5,
cnonce="-RUotGDx.Tsn8t5.-eQo9wkZQJHe3LST", qop=auth, nc=00000001
Content-Length: 0
--end msg--
17:11:24.789 pjsua_core.c RX 403 bytes Response msg
200/REGISTER/cseq=27424 (rdata0x84d064) from UDP 80.179.0.4:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.57:5060
;received=192.168.1.57;branch=z9hG4bKPjvnoY2fakwwLkpg4GCTLK-3Yeg9bFRF-5;rport=1069
From: <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>
>;tag=Ulm4ZKXDozw1DOTfDon94zV3C2x92I.u
To: <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>>;tag=SD0o5m799-
Call-ID: 9uObJttlG-qapv2AdkSx9A9AUB9nGA7d
CSeq: 27424 REGISTER
Contact: <sip:722511874 at 192.168.1.57:5060>;expires=1800;q=0.5
Content-Length: 0
--end msg--
17:11:24.789 pjsua_acc.c
sip:722511874 at 072.012.net<sip%3A722511874 at 072.012.net>:
registration success, status=200 (OK), will re-register in 1800 seconds
17:11:24.790 pjsua_acc.c Keep-alive timer started for acc 2,
destination:80.179.0.4:5060, interval:15s
17:11:39.332 pjsua_core.c RX 834 bytes Request msg INVITE/cseq=479668524
(rdata0x84d064) from UDP 80.179.0.4:5060:
INVITE sip:722511874 at 192.168.1.57:5060 SIP/2.0
Via: SIP/2.0/UDP 80.179.0.4:5060;branch=z9hG4bK8p0oda30fo406oc7v6g1.1
From: "a 1"<sip:0722511898 at 072.012.net <sip%3A0722511898 at 072.012.net>
;user=phone>;tag=SDmtcle01-539279165-1267974689367-
To: "a 1"<sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>>
Call-ID: SDmtcle01-78f2352745d936bde409788395e1f254-06al420
CSeq: 479668524 INVITE
Contact: <sip:0722511898 at 80.179.0.4:5060;transport=udp>
Allow: ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY
Accept: multipart/mixed,application/media_control+xml,application/sdp
Supported:
Max-Forwards: 4
Content-Type: application/sdp
Content-Length: 227
v=0
o=BroadWorks 183032661 1 IN IP4 212.199.138.8
s=-
c=IN IP4 212.199.138.8
t=0 0
m=audio 24650 RTP/AVP 18 101
a=fmtp:18 annexb=yes
a=fmtp:101 0-15
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
--end msg--
17:11:39.344 pjsua_media.c Media index 0 selected for call 0
17:11:39.354 pjsua_core.c TX 349 bytes Response msg
100/INVITE/cseq=479668524 (tdta0x868e00) to UDP 80.179.0.4:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 80.179.0.4:5060
;received=80.179.0.4;branch=z9hG4bK8p0oda30fo406oc7v6g1.1
Call-ID: SDmtcle01-78f2352745d936bde409788395e1f254-06al420
From: "a 1" <sip:0722511898 at 072.012.net <sip%3A0722511898 at 072.012.net>
;user=phone>;tag=SDmtcle01-539279165-1267974689367-
To: "a 1" <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>>
CSeq: 479668524 INVITE
Content-Length: 0
--end msg--
17:11:39.360 pjsua_media.c Opening sound device PCM at 16000/1/20ms
17:11:39.598 ec0x243670 Echo suppressor created, clock_rate=16000,
channel=1, samples per frame=320, tail length=200 ms, latency=140 ms
17:11:39.868 conference.c Port 2 (ring) transmitting to port 0 (iPhone
Sound Device)
17:11:39.869 pjsua_core.c TX 523 bytes Response msg
180/INVITE/cseq=479668524 (tdta0x868e00) to UDP 80.179.0.4:5060:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 80.179.0.4:5060
;received=80.179.0.4;branch=z9hG4bK8p0oda30fo406oc7v6g1.1
Call-ID: SDmtcle01-78f2352745d936bde409788395e1f254-06al420
From: "a 1" <sip:0722511898 at 072.012.net <sip%3A0722511898 at 072.012.net>
;user=phone>;tag=SDmtcle01-539279165-1267974689367-
To: "a 1" <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>
>;tag=JxCLv8Z6GvnwvjvE16m3n-J4NYtyv.4p
CSeq: 479668524 INVITE
Contact: <sip:722511874 at 192.168.1.57:5060>
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER,
MESSAGE, OPTIONS
Content-Length: 0
--end msg--
17:11:39.872 pjsua_app.c Call 0 state changed to EARLY (180 Ringing)
17:11:39.875 pjsua_app.c Incoming call for account 2!
From: "a 1" <sip:0722511898 at 072.012.net <sip%3A0722511898 at 072.012.net>
;user=phone>
To: "a 1" <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>>
Press a to answer or h to reject call
2010-03-07 17:11:39.928 MySIPhoneV2[6713:207] Could not load the "siax.png"
image referenced from a nib in the bundle with identifier
"com.zemingo.MySIPhoneV2"
17:11:41.949 strm0x877b74 VAD temporarily disabled
17:11:41.957 strm0x877b74 Encoder stream started
17:11:41.957 strm0x877b74 Decoder stream started
17:11:41.958 pjsua_media.c Media updates, stream #0: G729 (sendrecv)
17:11:41.958 conference.c Port 2 (ring) stop transmitting to port 0
(iPhone Sound Device)
17:11:41.959 conference.c Port 3
(sip:0722511898 at 072.012.net<sip%3A0722511898 at 072.012.net>;user=phone)
transmitting to port 0 (iPhone Sound Device)
17:11:41.959 conference.c Port 0 (iPhone Sound Device) transmitting to
port 3 (sip:0722511898 at 072.012.net <sip%3A0722511898 at 072.012.net>
;user=phone)
17:11:41.959 pjsua_app.c Media for call 0 is active
17:11:41.959 pjsua_core.c TX 875 bytes Response msg
200/INVITE/cseq=479668524 (tdta0x868e00) to UDP 80.179.0.4:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 80.179.0.4:5060
;received=80.179.0.4;branch=z9hG4bK8p0oda30fo406oc7v6g1.1
Call-ID: SDmtcle01-78f2352745d936bde409788395e1f254-06al420
From: "a 1" <sip:0722511898 at 072.012.net <sip%3A0722511898 at 072.012.net>
;user=phone>;tag=SDmtcle01-539279165-1267974689367-
To: "a 1" <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>
>;tag=JxCLv8Z6GvnwvjvE16m3n-J4NYtyv.4p
CSeq: 479668524 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER,
MESSAGE, OPTIONS
Contact: <sip:722511874 at 192.168.1.57:5060>
Supported: replaces, 100rel, timer, norefersub
Content-Type: application/sdp
Content-Length: 275
v=0
o=- 3476963499 3476963500 IN IP4 192.168.1.57
s=pjmedia
c=IN IP4 192.168.1.57
t=0 0
a=X-nat:0
m=audio 4000 RTP/AVP 18 101
a=rtcp:4001 IN IP4 192.168.1.57
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
--end msg--
17:11:41.961 pjsua_app.c Call 0 state changed to CONNECTING
17:11:42.203 pjsua_core.c RX 461 bytes Request msg ACK/cseq=479668524
(rdata0x84d064) from UDP 80.179.0.4:5060:
ACK sip:722511874 at 192.168.1.57:5060 SIP/2.0
Via: SIP/2.0/UDP 80.179.0.4:5060;branch=z9hG4bK6nn1dh003gs0dk4mi6s1.1
From: "a 1" <sip:0722511898 at 072.012.net <sip%3A0722511898 at 072.012.net>
;user=phone>;tag=SDmtcle01-539279165-1267974689367-
To: "a 1" <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>
>;tag=JxCLv8Z6GvnwvjvE16m3n-J4NYtyv.4p
Call-ID: SDmtcle01-78f2352745d936bde409788395e1f254-06al420
CSeq: 479668524 ACK
Contact: <sip:0722511898 at 80.179.0.4:5060;transport=udp>
Max-Forwards: 4
Content-Length: 0
--end msg--
17:11:42.205 pjsua_app.c Call 0 state changed to CONFIRMED
17:11:45.884 pjsua_core.c RX 413 bytes Request msg BYE/cseq=479668525
(rdata0x84d064) from UDP 80.179.0.4:5060:
BYE sip:722511874 at 192.168.1.57:5060 SIP/2.0
Via: SIP/2.0/UDP 80.179.0.4:5060
;branch=z9hG4bK6nn1dh003gs0dk4mi6s1cdso5jim0.1
From: "a 1" <sip:0722511898 at 072.012.net <sip%3A0722511898 at 072.012.net>
;user=phone>;tag=SDmtcle01-539279165-1267974689367-
To: "a 1" <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>
>;tag=JxCLv8Z6GvnwvjvE16m3n-J4NYtyv.4p
Call-ID: SDmtcle01-78f2352745d936bde409788395e1f254-06al420
CSeq: 479668525 BYE
Max-Forwards: 4
Content-Length: 0
--end msg--
17:11:45.885 pjsua_core.c TX 388 bytes Response msg
200/BYE/cseq=479668525 (tdta0x868e00) to UDP 80.179.0.4:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 80.179.0.4:5060
;received=80.179.0.4;branch=z9hG4bK6nn1dh003gs0dk4mi6s1cdso5jim0.1
Call-ID: SDmtcle01-78f2352745d936bde409788395e1f254-06al420
From: "a 1" <sip:0722511898 at 072.012.net <sip%3A0722511898 at 072.012.net>
;user=phone>;tag=SDmtcle01-539279165-1267974689367-
To: "a 1" <sip:722511874 at 072.012.net <sip%3A722511874 at 072.012.net>
>;tag=JxCLv8Z6GvnwvjvE16m3n-J4NYtyv.4p
CSeq: 479668525 BYE
Content-Length: 0
--end msg--
2010-03-07 17:11:45.902 MySIPhoneV2[6713:4b03] legacy_dev::snd_play_cb
17:11:45.904 pjsua_app.c Call 0 is DISCONNECTED [reason=200 (Normal
call clearing)]
17:11:45.906 pjsua_media.c Media session for call 0 is destroyed
17:11:46.904 pjsua_media.c Closing sound device after idle for 1 seconds
17:11:46.905 pjsua_media.c Closing iPhone Sound Device sound playback
device and iPhone Sound Device sound capture device
Regards,
Maya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100307/31789021/attachment-0001.html>
More information about the pjsip
mailing list