makboney / siphon

Automatically exported from code.google.com/p/siphon
0 stars 0 forks source link

Siphon Crash when i try to make a call on Iphone simulator #562

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open Siphon 
2. Compose telephone number
3. Click on green button to make call

What is the expected output? What do you see instead?
I'm expect to make a call

What version of the product are you using? On what operating system?
Siphon2 downloaded from svn

Please provide any additional information below.
I compiled pjsip with configure-iphone bash updated with ./aconfigure 
--host=arm-apple-darwin9 --disable-floating-point $*
On debug console i get the following messages:

16:42:37.463 sip_endpoint.c  .Message Response msg 407/INVITE/cseq=14586 
(rdata0x7309814) from 82.113.XXX.XXX:5060 was dropped/unhandled by any modules

16:42:39.391   tsx0x82ef864  Timeout timer event
16:42:39.391   tsx0x82ef864  .State changed from Completed to Terminated, 
event=TIMER
16:42:39.391   tsx0x82ef864  Timeout timer event
16:42:39.391   tsx0x82ef864  .State changed from Terminated to Destroyed, 
event=TIMER
16:42:39.392   tsx0x82ef864  ..Transaction destroyed!
16:42:39.468   tsx0x72f4e64  Timeout timer event
16:42:39.468   tsx0x72f4e64  .State changed from Completed to Terminated, 
event=TIMER
16:42:39.468   tsx0x72f4e64  Timeout timer event
16:42:39.468   tsx0x72f4e64  .State changed from Terminated to Destroyed, 
event=TIMER
16:42:39.468  tdta0x82ee800  ..Destroying txdata Request msg REGISTER/cseq=3303 
(tdta0x82ee800)
16:42:39.468   tsx0x72f4e64  ..Transaction destroyed!
16:42:39.545   tsx0x7303464  Timeout timer event
16:42:39.545   tsx0x7303464  .State changed from Completed to Terminated, 
event=TIMER
16:42:39.545   dlg0xdae6c64  ..Transaction tsx0x7303464 state changed to 
Terminated
16:42:39.545 evsub0xdab8014  ...Subscription destroyed
16:42:39.545   dlg0xdae6c64  ....Session count dec to 1 by mod-evsub
16:42:39.545   dlg0xdae6c64  ...Dialog destroyed
16:42:39.547   tsx0x7303464  Timeout timer event
16:42:39.547   tsx0x7303464  .State changed from Terminated to Destroyed, 
event=TIMER
16:42:39.547  tdta0xdae7400  ..Destroying txdata Request msg 
SUBSCRIBE/cseq=26299 (tdta0xdae7400)
16:42:39.547   tsx0x7303464  ..Transaction destroyed!
16:42:44.109 sip_endpoint.c  Processing incoming message: Request msg 
NOTIFY/cseq=1 (rdata0x8ad2c14)
16:42:44.109   pjsua_core.c  .RX 271 bytes Request msg NOTIFY/cseq=1 
(rdata0x8ad2c14) from UDP 82.113.XXX.XXX:5060:
NOTIFY sip:217.133.XXX.XXX:5060 SIP/2.0
Via: SIP/2.0/UDP 82.113.XXX.XXX:5060;branch=0
From: sip:keepalive@82.113.XXX.XXX;tag=ac28f4d
To: sip:217.133.XXX.XXX:5060
Call-ID: 5e6988b5-73fb779f-ae3c8@82.113.XXX.XXX
CSeq: 1 NOTIFY
Event: keep-alive
Content-Length: 0

--end msg--
16:42:44.109 sip_endpoint.c  .Message Request msg NOTIFY/cseq=1 
(rdata0x8ad2c14) from 82.113.XXX.XXX:5060 was dropped/unhandled by any modules
16:42:49.467    pjsua_acc.c  Sending 2 bytes keep-alive packet for acc 0 to 
82.113.XXX.XXX:5060
16:42:49.467  tdta0x8ad2c00  Destroying txdata raw
16:42:50.875         call.m !Calling URI "sip:39349XXXXXXX@sipbg.XXX.XX".
16:42:50.875   pjsua_call.c  Making call with acc #0 to 
sip:3934XXXXXXX@sipbg.XXX.XX
16:42:50.875    pjsua_aud.c  .Set sound device: capture=-1, playback=-2
16:42:50.875    pjsua_aud.c  ..Opening sound device PCM@16000/1/20ms

2012-03-28 16:42:50.904 Siphon[86102:11003] Error loading 
/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn
.bundle/Contents/MacOS/AudioIPCPlugIn:  
dlopen(/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIP
CPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn, 262): Symbol not found: 
___CFObjCIsCollectable
  Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
  Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
 in /System/Library/Frameworks/Security.framework/Versions/A/Security

2012-03-28 16:42:50.910 Siphon[86102:11003] Error loading 
/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn
.bundle/Contents/MacOS/AudioIPCPlugIn:  
dlopen(/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIP
CPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn, 262): Symbol not found: 
___CFObjCIsCollectable
  Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
  Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
 in /System/Library/Frameworks/Security.framework/Versions/A/Security

2012-03-28 16:42:50.935 Siphon[86102:11003] Error loading 
/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bund
le/Contents/MacOS/AppleHDAHALPlugIn:  
dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlug
In.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: 
___CFObjCIsCollectable
  Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
  Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
 in /System/Library/Frameworks/Security.framework/Versions/A/Security

2012-03-28 16:42:50.942 Siphon[86102:11003] Error loading 
/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bund
le/Contents/MacOS/AppleHDAHALPlugIn:  
dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlug
In.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: 
___CFObjCIsCollectable
  Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
  Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
 in /System/Library/Frameworks/Security.framework/Versions/A/Security

2012-03-28 16:42:50.954 Siphon[86102:11003] Error loading 
/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bund
le/Contents/MacOS/AppleHDAHALPlugIn:  
dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlug
In.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: 
___CFObjCIsCollectable
  Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
  Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
 in /System/Library/Frameworks/Security.framework/Versions/A/Security

2012-03-28 16:42:50.960 Siphon[86102:11003] Error loading 
/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bund
le/Contents/MacOS/AppleHDAHALPlugIn:  
dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlug
In.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: 
___CFObjCIsCollectable
  Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
  Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
 in /System/Library/Frameworks/Security.framework/Versions/A/Security

16:42:52.100 coreaudio_dev.  ...core audio stream started
16:42:52.100   dlg0x7330864  .UAC dialog created
16:42:52.100   dlg0x7330864  ..Session count inc to 2 by mod-pjsua
16:42:52.100  pjsua_media.c  .Call 0: initializing media..
16:42:52.100  pjsua_media.c  ..RTP socket reachable at 192.168.111.118:40000
16:42:52.101  pjsua_media.c  ..RTCP socket reachable at 192.168.111.118:40001
16:42:52.101  pjsua_media.c  ..Media index 0 selected for audio call 0
16:42:52.101   dlg0x7330864  ..Session count dec to 2 by mod-pjsua
16:42:52.101   dlg0x7330864  .Module mod-invite added as dialog usage, 
data=0x72ea4ac
16:42:52.101   dlg0x7330864  ..Session count inc to 4 by mod-invite
16:42:52.101   dlg0x7330864  .Module mod-100rel added as dialog usage, 
data=0x7346ecc
16:42:52.101   dlg0x7330864  .100rel module attached
16:42:52.101   inv0x7330864  .UAC invite session created for dialog dlg0x7330864
16:42:52.101       endpoint  .Request msg INVITE/cseq=8180 (tdta0x7347400) 
created.
16:42:52.101   inv0x7330864  ..Sending Request msg INVITE/cseq=8180 
(tdta0x7347400)
16:42:52.101   dlg0x7330864  ...Sending Request msg INVITE/cseq=8180 
(tdta0x7347400)
16:42:52.101   tsx0x7349464  ....Transaction created for Request msg 
INVITE/cseq=8179 (tdta0x7347400)
16:42:52.101   tsx0x7349464  ...Sending Request msg INVITE/cseq=8179 
(tdta0x7347400) in state Null
16:42:52.101  sip_resolve.c  ....DNS resolver not available, target 
'sipbg.XXXX.XX:0' type=Unspecified will be resolved with getaddrinfo()
16:42:52.103  sip_resolve.c  ....Target 'sipbg.XXXX.XX:0' type=Unspecified 
resolved to '82.113.XXX.XXX:5060' type=UDP (UDP transport)
16:42:52.103   pjsua_core.c  ....TX 1114 bytes Request msg INVITE/cseq=8179 
(tdta0x7347400) to UDP 82.113.XXX.XXX:5060:
INVITE sip:349XXXXXXX@sipbg.XXXX.XX SIP/2.0
Via: SIP/2.0/UDP 
192.168.111.118:5060;rport;branch=z9hG4bKPjG8qBmmOJWg5pP99iBnHTZkhyGDsoWBF4
Max-Forwards: 70
From: sip:3932XXXXXXXX@sipbg.XXXX.XX;tag=1wAJb7VzPLEO-zG2O9CDDpLIWbIbaEi-
To: sip:39349XXXXXXX@sipbg.XXXX.XX
Contact: <sip:3932XXXXXXXX@192.168.111.118:5060;ob>
Call-ID: zzJS2E-eZCgah6l9aanlF5f.loHYnY4A
CSeq: 8179 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, 
MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: Siphon PjSip v2.0.0-beta-svn/arm-apple-darwin9
Content-Type: application/sdp
Content-Length:   439

v=0
o=- 3541934572 3541934572 IN IP4 192.168.111.118
s=pjmedia
c=IN IP4 192.168.111.118
b=AS:84
t=0 0
a=X-nat:0
m=audio 40000 RTP/AVP 98 97 99 104 0 96
c=IN IP4 192.168.111.118
b=TIAS:64000
a=rtcp:40001 IN IP4 192.168.111.118
a=sendrecv
a=rtpmap:98 speex/16000
a=rtpmap:97 speex/8000
a=rtpmap:99 speex/32000
a=rtpmap:104 iLBC/8000
a=fmtp:104 mode=30
a=rtpmap:0 PCMU/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15

--end msg--
16:42:52.104   tsx0x7349464  ....State changed from Null to Calling, 
event=TX_MSG
16:42:52.104   dlg0x7330864  .....Transaction tsx0x7349464 state changed to 
Calling
16:42:52.104         call.m  .......Call 0 state=CALLING

2012-03-28 16:42:52.107 Siphon[86102:11003] +[UIImage defaultDesktopImage]: 
unrecognized selector sent to class 0xb9d248

2012-03-28 16:42:52.107 Siphon[86102:11003] *** Terminating app due to uncaught 
exception 'NSInvalidArgumentException', reason: '+[UIImage 
defaultDesktopImage]: unrecognized selector sent to class 0xb9d248'

*** First throw call stack:
(0x1ea9022 0x1b94cd6 0x1eaaaad 0x1e0fed0 0x1e0fcb2 0x13aba 0x5bb99b 0x5c49bc 
0x5bf818 0x7db565 0x5c2857 0x5c29bc 0x5c29fc 0x71f9 0x258a29 0x1e74855 
0x1e74778 0x19d19a 0x18a0d 0x1224d 0x10204 0xc666c 0xadfa4 0xae4c9 0xae363 
0xa06ca 0xa3ff3 0x9bc13 0x9bda2 0x9e12b 0xa13fe 0xb0379 0xc5a94 0xc60e5 0x11a80 
0x11c06 0x6f86 0xdbbd 0x1eaae99 0x4f714e 0x4f70e6 0x59dade 0x59dfa7 0x59cd8a 
0x51c2cf 0x51c5e6 0x502dc4 0x4f6634 0x2321ef5 0x1e7d195 0x1de1ff2 0x1de08da 
0x1ddfd84 0x1ddfc9b 0x23207d8 0x232088a 0x4f4626 0x7b90 0x2a45 0x1)
terminate called throwing an exception

Original issue reported on code.google.com by pasqual...@gmail.com on 28 Mar 2012 at 3:02

GoogleCodeExporter commented 8 years ago
i am also having the same error

17:37:49.409 os_core_unix.c !pjlib 2.1-svn for POSIX initialized
17:37:49.416 sip_endpoint.c  .Creating endpoint instance...
17:37:49.420          pjlib  .select() I/O Queue created (0x1ea5b944)
17:37:49.420 sip_endpoint.c  .Module "mod-msg-print" registered
17:37:49.420 sip_transport.  .Transport manager created.
17:37:49.422   pjsua_core.c  .PJSUA state changed: NULL --> CREATED
2013-07-04 17:37:49.422 GossipExample[1362:907] pjsua_created
17:37:49.426 sip_endpoint.c  .Module "mod-pjsua-log" registered
17:37:49.430 sip_endpoint.c  .Module "mod-tsx-layer" registered
17:37:49.430 sip_endpoint.c  .Module "mod-stateful-util" registered
17:37:49.431 sip_endpoint.c  .Module "mod-ua" registered
17:37:49.432 sip_endpoint.c  .Module "mod-100rel" registered
17:37:49.432 sip_endpoint.c  .Module "mod-pjsua" registered
17:37:49.433 sip_endpoint.c  .Module "mod-invite" registered
17:37:49.436 coreaudio_dev.  .. dev_id 0: iPhone IO device  (in=1, out=1) 8000Hz
17:37:49.439 coreaudio_dev.  ..core audio initialized
17:37:49.440          pjlib  ..select() I/O Queue created (0x1ea59214)
17:37:49.480 sip_endpoint.c  .Module "mod-evsub" registered
17:37:49.481 sip_endpoint.c  .Module "mod-presence" registered
17:37:49.481 sip_endpoint.c  .Module "mod-mwi" registered
17:37:49.481 sip_endpoint.c  .Module "mod-refer" registered
17:37:49.481 sip_endpoint.c  .Module "mod-pjsua-pres" registered
17:37:49.481 sip_endpoint.c  .Module "mod-pjsua-im" registered
17:37:49.481 sip_endpoint.c  .Module "mod-pjsua-options" registered
17:37:49.481   pjsua_core.c  .1 SIP worker threads created
17:37:49.481   pjsua_core.c  .pjsua version 2.1-svn for iPhone 
OS-6.0/arm/iOS-SDK-6.0 initialized
17:37:49.481   pjsua_core.c  .PJSUA state changed: CREATED --> INIT
2013-07-04 17:37:49.481 GossipExample[1362:907] transporttype=1
17:37:49.484   pjsua_core.c  SIP UDP socket reachable at 192.168.5.115:5060
17:37:49.484  udp0x1e245e00  SIP UDP transport started, published address is 
192.168.5.115:5060
17:37:50.780    pjsua_acc.c  Adding account: id=sip:chakrit@sip2sip.info
17:37:50.781    pjsua_acc.c  .Account sip:chakrit@sip2sip.info added with id 0
17:37:50.781   pjsua_core.c  PJSUA state changed: INIT --> STARTING
17:37:50.781 sip_endpoint.c  .Module "mod-unsolicited-mwi" registered
17:37:50.781   pjsua_core.c  .PJSUA state changed: STARTING --> RUNNING
2013-07-04 17:37:50.783 GossipExample[1362:907] agent.account=<GSAccount: 
0x1dda3390>
2013-07-04 17:37:50.786 GossipExample[1362:907] menu.account=<GSAccount: 
0x1dda3390>
2013-07-04 17:37:52.830 GossipExample[1362:907] array at index 1=
2013-07-04 17:37:52.833 GossipExample[1362:907] Disabling: speex/16000/1
2013-07-04 17:37:52.835 GossipExample[1362:907] Disabling: speex/8000/1
2013-07-04 17:37:52.837 GossipExample[1362:907] Disabling: speex/32000/1
2013-07-04 17:37:52.838 GossipExample[1362:907] Disabling: iLBC/8000/1
2013-07-04 17:37:52.840 GossipExample[1362:907] Disabling: GSM/8000/1
2013-07-04 17:37:52.842 GossipExample[1362:907] Disabling: PCMU/8000/1
2013-07-04 17:37:52.844 GossipExample[1362:907] Disabling: PCMA/8000/1
17:37:53.913    pjsua_acc.c  Acc 0: setting registration..
17:37:54.871   pjsua_core.c  ..TX 540 bytes Request msg REGISTER/cseq=47940 
(tdta0x1ea7aa00) to UDP 81.23.228.129:5060:
REGISTER sip:sip2sip.info SIP/2.0

Via: SIP/2.0/UDP 
192.168.5.115:5060;rport;branch=z9hG4bKPj51D37390-B9C4-416A-87E0-7932831A6FE5

Route: <sip:proxy.sipthor.net;lr>

Max-Forwards: 70

From: <sip:chakrit@sip2sip.info>;tag=298BD219-34C8-46E8-976E-0D666E197388

To: <sip:chakrit@sip2sip.info>

Call-ID: F07F8732-14D8-4021-BA82-E69632B3CE97

CSeq: 47940 REGISTER

Contact: <sip:chakrit@192.168.5.115:5060;ob>

Expires: 300

Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, 
MESSAGE, OPTIONS

Content-Length:  0

--end msg--
2013-07-04 17:37:54.871 GossipExample[1362:907] Gossip: 
dispatchRegistrationStarted(0, 1)
17:37:54.875    pjsua_acc.c  .Acc 0: Registration sent
17:37:54.875    pjsua_acc.c  Acc 0: setting online status to 1..
17:37:55.176   pjsua_core.c  .RX 525 bytes Response msg 401/REGISTER/cseq=47940 
(rdata0x1e270214) from UDP 81.23.228.129:5060:
SIP/2.0 401 Unauthorized

Via: SIP/2.0/UDP 
192.168.5.115:5060;received=220.227.69.18;rport=5060;branch=z9hG4bKPj51D37390-B9
C4-416A-87E0-7932831A6FE5

From: <sip:chakrit@sip2sip.info>;tag=298BD219-34C8-46E8-976E-0D666E197388

To: <sip:chakrit@sip2sip.info>;tag=f2f36c970cbb772c79daadc5c9d6e415.2fa3

Call-ID: F07F8732-14D8-4021-BA82-E69632B3CE97

CSeq: 47940 REGISTER

WWW-Authenticate: Digest realm="sip2sip.info", 
nonce="51d565bbcb3c55f72fdd97b3241d190f69f90dbd"

Server: SIP Thor on OpenSIPS XS 1.9.0

Content-Length: 0

--end msg--
17:37:55.176   pjsua_core.c  ....TX 723 bytes Request msg REGISTER/cseq=47941 
(tdta0x1ea7aa00) to UDP 81.23.228.129:5060:
REGISTER sip:sip2sip.info SIP/2.0

Via: SIP/2.0/UDP 
192.168.5.115:5060;rport;branch=z9hG4bKPj788F63B7-F4A9-4991-A41B-494FA5A3F07F

Route: <sip:proxy.sipthor.net;lr>

Max-Forwards: 70

From: <sip:chakrit@sip2sip.info>;tag=298BD219-34C8-46E8-976E-0D666E197388

To: <sip:chakrit@sip2sip.info>

Call-ID: F07F8732-14D8-4021-BA82-E69632B3CE97

CSeq: 47941 REGISTER

Contact: <sip:chakrit@192.168.5.115:5060;ob>

Expires: 300

Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, 
MESSAGE, OPTIONS

Authorization: Digest username="chakrit", realm="sip2sip.info", 
nonce="51d565bbcb3c55f72fdd97b3241d190f69f90dbd", uri="sip:sip2sip.info", 
response="77757aa3395d961dfd7f3f9f9c3ea232"

Content-Length:  0

--end msg--
17:37:55.482   pjsua_core.c  .RX 510 bytes Response msg 200/REGISTER/cseq=47941 
(rdata0x1e270214) from UDP 81.23.228.129:5060:
SIP/2.0 200 OK

Via: SIP/2.0/UDP 
192.168.5.115:5060;received=220.227.69.18;rport=5060;branch=z9hG4bKPj788F63B7-F4
A9-4991-A41B-494FA5A3F07F

From: <sip:chakrit@sip2sip.info>;tag=298BD219-34C8-46E8-976E-0D666E197388

To: <sip:chakrit@sip2sip.info>;tag=f2f36c970cbb772c79daadc5c9d6e415.6bf5

Call-ID: F07F8732-14D8-4021-BA82-E69632B3CE97

CSeq: 47941 REGISTER

Contact: 
<sip:chakrit@192.168.5.115:5060;ob>;expires=300;received="sip:220.227.69.18:5060
"

Server: SIP Thor on OpenSIPS XS 1.9.0

Content-Length: 0

--end msg--
17:37:55.483    pjsua_acc.c  ....SIP outbound status for acc 0 is not active
17:37:55.483    pjsua_acc.c  ....IP address change detected for account 0 
(192.168.5.115:5060 --> 220.227.69.18:5060). Updating registration (using 
method 2)
17:37:55.483    pjsua_acc.c  ....Acc 0: setting registration..
17:37:55.486   pjsua_core.c  ......TX 596 bytes Request msg REGISTER/cseq=47942 
(tdta0x1e24b000) to UDP 81.23.228.129:5060:
REGISTER sip:sip2sip.info SIP/2.0

Via: SIP/2.0/UDP 
220.227.69.18:5060;rport;branch=z9hG4bKPjD988D8E0-DA4E-44AE-8EBF-9AEA6F0A6C97

Route: <sip:proxy.sipthor.net;lr>

Max-Forwards: 70

From: <sip:chakrit@sip2sip.info>;tag=DBCD6CC0-F2BA-481B-B50C-E92EFF996BCB

To: <sip:chakrit@sip2sip.info>

Call-ID: F07F8732-14D8-4021-BA82-E69632B3CE97

CSeq: 47942 REGISTER

Contact: <sip:chakrit@220.227.69.18:5060;ob>

Contact: <sip:chakrit@192.168.5.115:5060;ob>;expires=0

Expires: 300

Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, 
MESSAGE, OPTIONS

Content-Length:  0

--end msg--
2013-07-04 17:37:55.487 GossipExample[1362:4703] Gossip: 
dispatchRegistrationStarted(0, 1)
17:37:55.489    pjsua_acc.c  .....Acc 0: Registration sent
17:37:55.790   pjsua_core.c  .RX 525 bytes Response msg 401/REGISTER/cseq=47942 
(rdata0x1e270214) from UDP 81.23.228.129:5060:
SIP/2.0 401 Unauthorized

Via: SIP/2.0/UDP 
220.227.69.18:5060;received=220.227.69.18;rport=5060;branch=z9hG4bKPjD988D8E0-DA
4E-44AE-8EBF-9AEA6F0A6C97

From: <sip:chakrit@sip2sip.info>;tag=DBCD6CC0-F2BA-481B-B50C-E92EFF996BCB

To: <sip:chakrit@sip2sip.info>;tag=f2f36c970cbb772c79daadc5c9d6e415.dc66

Call-ID: F07F8732-14D8-4021-BA82-E69632B3CE97

CSeq: 47942 REGISTER

WWW-Authenticate: Digest realm="sip2sip.info", 
nonce="51d565bcb3b7d5ea779c37053eb44c4937c5b70e"

Server: SIP Thor on OpenSIPS XS 1.9.0

Content-Length: 0

--end msg--
17:37:55.790   pjsua_core.c  ....TX 779 bytes Request msg REGISTER/cseq=47943 
(tdta0x1e24b000) to UDP 81.23.228.129:5060:
REGISTER sip:sip2sip.info SIP/2.0

Via: SIP/2.0/UDP 
220.227.69.18:5060;rport;branch=z9hG4bKPjE6BD3682-C1E1-44E6-85CB-C775C4D5560F

Route: <sip:proxy.sipthor.net;lr>

Max-Forwards: 70

From: <sip:chakrit@sip2sip.info>;tag=DBCD6CC0-F2BA-481B-B50C-E92EFF996BCB

To: <sip:chakrit@sip2sip.info>

Call-ID: F07F8732-14D8-4021-BA82-E69632B3CE97

CSeq: 47943 REGISTER

Contact: <sip:chakrit@220.227.69.18:5060;ob>

Contact: <sip:chakrit@192.168.5.115:5060;ob>;expires=0

Expires: 300

Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, 
MESSAGE, OPTIONS

Authorization: Digest username="chakrit", realm="sip2sip.info", 
nonce="51d565bcb3b7d5ea779c37053eb44c4937c5b70e", uri="sip:sip2sip.info", 
response="f1ef39930b316e8e76c4c526616e612e"

Content-Length:  0

--end msg--
17:37:56.097   pjsua_core.c  .RX 476 bytes Response msg 200/REGISTER/cseq=47943 
(rdata0x1ea7d014) from UDP 81.23.228.129:5060:
SIP/2.0 200 OK

Via: SIP/2.0/UDP 
220.227.69.18:5060;received=220.227.69.18;rport=5060;branch=z9hG4bKPjE6BD3682-C1
E1-44E6-85CB-C775C4D5560F

From: <sip:chakrit@sip2sip.info>;tag=DBCD6CC0-F2BA-481B-B50C-E92EFF996BCB

To: <sip:chakrit@sip2sip.info>;tag=f2f36c970cbb772c79daadc5c9d6e415.788c

Call-ID: F07F8732-14D8-4021-BA82-E69632B3CE97

CSeq: 47943 REGISTER

Contact: <sip:chakrit@220.227.69.18:5060;ob>;expires=300

Server: SIP Thor on OpenSIPS XS 1.9.0

Content-Length: 0

--end msg--
17:37:56.098    pjsua_acc.c  ....SIP outbound status for acc 0 is not active
17:37:56.098    pjsua_acc.c  ....sip:chakrit@sip2sip.info: registration 
success, status=200 (OK), will re-register in 300 seconds
17:37:56.098    pjsua_acc.c  ....Keep-alive timer started for acc 0, 
destination:81.23.228.129:5060, interval:15s
2013-07-04 17:37:56.098 GossipExample[1362:4703] Gossip: 
dispatchRegistrationState(0)
17:38:01.481   pjsua_core.c  .RX 266 bytes Request msg NOTIFY/cseq=1 
(rdata0x1e270214) from UDP 81.23.228.129:5060:
NOTIFY sip:220.227.69.18:5060 SIP/2.0

Via: SIP/2.0/UDP 81.23.228.129:5060;branch=0

From: sip:keepalive@81.23.228.129;tag=76c637f9

To: sip:220.227.69.18:5060

Call-ID: 2daf3b4a-75c1994f-24dac6@81.23.228.129

CSeq: 1 NOTIFY

Event: keep-alive

Content-Length: 0

--end msg--
17:38:01.481 sip_endpoint.c  .Request msg NOTIFY/cseq=1 (rdata0x1e270214) from 
81.23.228.129:5060 was dropped/unhandled by any modules
17:38:52.467   pjsua_core.c  .RX 266 bytes Request msg NOTIFY/cseq=1 
(rdata0x1e270214) from UDP 81.23.228.129:5060:
NOTIFY sip:220.227.69.18:5060 SIP/2.0

Via: SIP/2.0/UDP 81.23.228.129:5060;branch=0

From: sip:keepalive@81.23.228.129;tag=76c63abc

To: sip:220.227.69.18:5060

Call-ID: 2daf3b4a-75c19c12-24daf8@81.23.228.129

CSeq: 1 NOTIFY

Event: keep-alive

Content-Length: 0

--end msg--
17:38:52.467 sip_endpoint.c  .Request msg NOTIFY/cseq=1 (rdata0x1e270214) from 
81.23.228.129:5060 was dropped/unhandled by any modules
2013-07-04 17:39:01.000 GossipExample[1362:907] Gossip: ringbackWithSoundNamed: 
/var/mobile/Applications/1B440F28-7F74-46D5-A120-9C0B3C35AD65/GossipExample.app/
ringtone.wav
17:39:01.002    pjsua_aud.c !Creating playlist with 1 file(s)..
17:39:01.003 wav_playlist.c  .WAV playlist 'WAV playlist' created: 
samp.rate=44100, ch=2, bufsize=4KB
17:39:01.005    pjsua_aud.c  .Playlist created, id=0, slot=1
17:39:02.039   pjsua_call.c  Making call with acc #0 to 
sip:chakrit2@getonsip.com
17:39:02.040    pjsua_aud.c  .Set sound device: capture=-1, playback=-2
17:39:02.041    pjsua_aud.c  ..Opening sound device PCM@16000/1/20ms
17:39:02.042 coreaudio_dev.  ...Using RemoteIO audio unit
17:39:02.534 coreaudio_dev.  ...core audio stream started
17:39:02.542  pjsua_media.c  .Call 0: initializing media..
17:39:04.981 os_core_unix.c  Info: possibly re-registering existing thread

After this it generates a trap error and it hangs the app. i am attaching the 
image

Original comment by sour...@letsgomo.com on 4 Jul 2013 at 12:17

Attachments: