[Blink] Call history for Blink?

Mike O'Connor mjo at dojo.mi.org
Fri Oct 1 22:22:04 CEST 2010


:Yes, the history is saved. Check you logs maybe there is some error or exception, if so paste it here. 
:
:See the Help page for how to read the logs.

Here's the activity log.

2010-10-01 16:02:56   Starting VNC server at port 5979...
2010-10-01 16:02:58   Account('mjo at my.sip.provider') activated
2010-10-01 16:02:58   Initiating DNS Lookup for STUN servers of domain my.sip.provider
2010-10-01 16:03:01   Error: DNS Lookup for my.sip.provider failed: No stun servers found for domain my.sip.provider
2010-10-01 16:03:03   2010-10-01 16:03:03 Registered Contact Address "sip:udshmlon at 10.220.3.159:62226" for sip:mjolap0604 at my.sip.provider at XXX.XXX.XXX.XXX:5060;transport=udp (expires in 600 seconds).

2010-10-01 16:03:03   mjolap0604 at my.sip.provider was registered
2010-10-01 16:03:09   Incoming session from From: "2484345508" <sip:2484345508 at XXX.XXX.XXX.XXX>;tag=as74172a16 with proposed streams audio
2010-10-01 16:03:12   Accepting session to From: "2484345508" <sip:2484345508 at XXX.XXX.XXX.XXX>;tag=as74172a16
2010-10-01 16:03:12   [session to 2484345508] Handling incoming audio Stream
2010-10-01 16:03:12   [session to 2484345508] Changing audio state to INCOMING
2010-10-01 16:03:12   [session to 2484345508] Session will start
2010-10-01 16:03:12   [session to 2484345508] Audio stream started
2010-10-01 16:03:12   [session to 2484345508] Changing audio state to CONNECTED
2010-10-01 16:03:12   [session to 2484345508 <2484345508 at XXX.XXX.XXX.XXX>] Changing Session state to CONNECTED
2010-10-01 16:03:12   [session to 2484345508 <2484345508 at XXX.XXX.XXX.XXX>] Session started
2010-10-01 16:03:18   [session to 2484345508 <2484345508 at XXX.XXX.XXX.XXX>] Ending audio session in CONNECTED
2010-10-01 16:03:18   [session to 2484345508 <2484345508 at XXX.XXX.XXX.XXX>] Ending Session ([<sipsimple.streams.rtp.AudioStream object at 0xf7adfb0>])
2010-10-01 16:03:18   [session to 2484345508 <2484345508 at XXX.XXX.XXX.XXX>] Changing audio state to DISCONNECTING
2010-10-01 16:03:18   [session to 2484345508 <2484345508 at XXX.XXX.XXX.XXX>] Session will end (local)
2010-10-01 16:03:18   [session to 2484345508 <2484345508 at XXX.XXX.XXX.XXX>] Audio stream ended
2010-10-01 16:03:18   [session to 2484345508 <2484345508 at XXX.XXX.XXX.XXX>] Changing Session state to FINISHED
2010-10-01 16:03:18   [session to 2484345508 <2484345508 at XXX.XXX.XXX.XXX>] Changing audio state to IDLE
2010-10-01 16:03:18   Session <sipsimple.session.Session object at 0xf7bc9f0> ended, disposing...
2010-10-01 16:03:18   [session to 2484345508 <2484345508 at XXX.XXX.XXX.XXX>] Session ended

Based on this Window->Logs activity log (which has been somewhat
sanitized) for 2484345508 calling me, I would reasonably expect
2484345508 to appear as a phone number that called me in the History
menu.  Instead, all I get is the Redial option, and 2484345508 does
NOT appear.  

Looking at the SYSTEM logs in /var/log/system.log, I see:

Oct  1 16:16:54 mojojojo Blink[34961]: Traceback (most recent call last):
Oct  1 16:16:54 mojojojo Blink[34961]:   File "/Applications/Blink.app/Contents/Resources/ContactWindowController.py", line 1432, in updateHistoryMenu
Oct  1 16:16:54 mojojojo Blink[34961]:     res = self.backend.get_last_call_history_entries(12)
Oct  1 16:16:54 mojojojo Blink[34961]:   File "/Applications/Blink.app/Contents/Resources/SIPManager.py", line 740, in get_last_call_history_entries
Oct  1 16:16:54 mojojojo Blink[34961]:     address, display_name, full_uri, fancy_uri = format_identity_from_text(party)
Oct  1 16:16:54 mojojojo Blink[34961]:   File "/Applications/Blink.app/Contents/Resources/util.py", line 101, in format_identity_from_text
Oct  1 16:16:54 mojojojo Blink[34961]:     toks = shlex.split(text_uri)
Oct  1 16:16:54 mojojojo Blink[34961]:   File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/shlex.py", line 279, in split
Oct  1 16:16:54 mojojojo Blink[34961]:     return list(lex)
Oct  1 16:16:54 mojojojo Blink[34961]:   File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/shlex.py", line 269, in next
Oct  1 16:16:54 mojojojo Blink[34961]:     token = self.get_token()
Oct  1 16:16:54 mojojojo Blink[34961]:   File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/shlex.py", line 96, in get_token
Oct  1 16:16:54 mojojojo Blink[34961]:     raw = self.read_token()
Oct  1 16:16:54 mojojojo Blink[34961]:   File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/shlex.py", line 172, in read_token
Oct  1 16:16:54 mojojojo Blink[34961]:     raise ValueError, "No closing quotation"
Oct  1 16:16:54 mojojojo Blink[34961]: ValueError: No closing quotation
Oct  1 16:16:54 mojojojo Blink[34961]: <type 'exceptions.UnboundLocalError'>: local variable 'res' referenced before assignment

which might have something to do with the problem.

:Adrian
:
:
:On Oct 1, 2010, at 8:19 PM, Mike O'Connor wrote:
:
:> I'm running Blink 20.2 on MacOS 10.5.8 to a SIP provider that lets me
:> call to and accept calls from the PSTN.
:> 
:> When someone calls me, logically, should the History menu record the
:> phone number that called me?  Should the phone numbers I dial also be
:> logged?  
:> 
:> AFAICT, apart from going into the application logs from Window->Logs,
:> I don't see where there's a history of calls made and received.  All 
:> the History menu item contains is "Redial", regardless of who I call
:> or am called by.  
:> 
:> Ideally, if I'm gone and miss a few calls, I'd like it to be obvious
:> who I missed so I can call some of them back.  I'd even like that call
:> history to persist across starting/restarting the application, much as
:> I have a local history of who called me and who I called on my cell
:> phone when I turn it off and on.  
:> 
:> Am I missing something obvious, here?

--
 Michael J. O'Connor                                          mjo at dojo.mi.org
 =--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--=
"For all eternity we don't exist, except for now."           -Robyn Hitchcock



More information about the Blink mailing list