Difference between revisions of "User:Jimbodude/Orbiter Phone"

From LinuxMCE
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
This project has been abandoned due to lack of time and knowledge.  Images for DT360 with SimplePhone installed are available upon request.
 +
 
==Plan==
 
==Plan==
 
#Modify template 1759 to be "controlled by" template 8-Orbiter
 
#Modify template 1759 to be "controlled by" template 8-Orbiter
Line 67: Line 69:
 
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6d71000)
 
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6d71000)
 
</pre>
 
</pre>
*Attempting to install using deb packages
+
*Installed using deb packages
 
**Created an apt repository with all LMCE packages on a USB flash drive
 
**Created an apt repository with all LMCE packages on a USB flash drive
**Not enough room on the tablet's flash to install all packages right now...
+
**Removed some extra packages (including gdb)
 +
**Got it to fit - with 4.7MB free...
 +
**Initial install did NOT work - packages that had newer versions were taken from Debian apt repository instead of the LMCE repository on the USB drive.  Several libraries were not compatible.
 +
**Had to remove Debian repository except for packages that were not in LMCE repository
 +
*Added SimplePhone child device
 +
**Confirmed functionality of child device's extension using Ekiga
 +
*Attempted to run SimplePhone on the DT
 +
**Console output was:
 +
<pre>
 +
  1.
 +
      orbiter:~# /usr/pluto/bin/SimplePhone -d 86
 +
  2.
 +
      SimplePhone, v.2.0.0.44.0804112200
 +
  3.
 +
      Visit www.plutohome.com for source code and license information
 +
  4.
 +
     
 +
  5.
 +
      10      12/04/08 16:07:10.957          Device: 86 starting.  Connecting to: dcerouter <0xb73c06c0>
 +
  6.
 +
      10      12/04/08 16:07:10.968          Setting timeout for socket 3 to 20 <0xb73c06c0>
 +
  7.
 +
      05      12/04/08 16:07:11.073          Server IP: dcerouter <0xb73c06c0>
 +
  8.
 +
      10      12/04/08 16:07:11.074          Socket::SendMessage type 5 id 88 from 86 to -1000 <0xb73c06c0>
 +
  9.
 +
      10      12/04/08 16:07:11.116          MD Audio Settings: ERR Parameter not found <0xb73c06c0>
 +
  10.
 +
      10      12/04/08 16:07:11.116          Flag unprocessed: 'E' <0xb73c06c0>
 +
  11.
 +
      10      12/04/08 16:07:11.117          Flag unprocessed: 'R' <0xb73c06c0>
 +
  12.
 +
      10      12/04/08 16:07:11.117          Flag unprocessed: 'R' <0xb73c06c0>
 +
  13.
 +
      10      12/04/08 16:07:11.117          Flag unprocessed: ' ' <0xb73c06c0>
 +
  14.
 +
      10      12/04/08 16:07:11.118          Flag unprocessed: 'P' <0xb73c06c0>
 +
  15.
 +
      10      12/04/08 16:07:11.118          Flag unprocessed: 'a' <0xb73c06c0>
 +
  16.
 +
      10      12/04/08 16:07:11.118          Flag unprocessed: 'r' <0xb73c06c0>
 +
  17.
 +
      10      12/04/08 16:07:11.119          Flag unprocessed: 'a' <0xb73c06c0>
 +
  18.
 +
      10      12/04/08 16:07:11.119          Flag unprocessed: 'm' <0xb73c06c0>
 +
  19.
 +
      10      12/04/08 16:07:11.119          Flag unprocessed: 'e' <0xb73c06c0>
 +
  20.
 +
      10      12/04/08 16:07:11.119          Flag unprocessed: 't' <0xb73c06c0>
 +
  21.
 +
      10      12/04/08 16:07:11.119          Flag unprocessed: 'e' <0xb73c06c0>
 +
  22.
 +
      10      12/04/08 16:07:11.120          Flag unprocessed: 'r' <0xb73c06c0>
 +
  23.
 +
      10      12/04/08 16:07:11.120          Flag unprocessed: ' ' <0xb73c06c0>
 +
  24.
 +
      10      12/04/08 16:07:11.120          Flag unprocessed: 'n' <0xb73c06c0>
 +
  25.
 +
      10      12/04/08 16:07:11.120          Flag unprocessed: 'o' <0xb73c06c0>
 +
  26.
 +
      10      12/04/08 16:07:11.121          Flag unprocessed: 't' <0xb73c06c0>
 +
  27.
 +
      10      12/04/08 16:07:11.121          Flag unprocessed: ' ' <0xb73c06c0>
 +
  28.
 +
      10      12/04/08 16:07:11.121          Flag unprocessed: 'f' <0xb73c06c0>
 +
  29.
 +
      10      12/04/08 16:07:11.121          Flag unprocessed: 'o' <0xb73c06c0>
 +
  30.
 +
      10      12/04/08 16:07:11.122          Flag unprocessed: 'u' <0xb73c06c0>
 +
  31.
 +
      10      12/04/08 16:07:11.122          Flag unprocessed: 'n' <0xb73c06c0>
 +
  32.
 +
      10      12/04/08 16:07:11.122          Flag unprocessed: 'd' <0xb73c06c0>
 +
  33.
 +
      10      12/04/08 16:07:11.125          Socket::SendMessage type 5 id 31 from 86 to -1000 <0xb73c06c0>
 +
  34.
 +
      10      12/04/08 16:07:11.136          SimplePhone::GetConfig: Starting with extension '203' <0xb73c06c0>
 +
  35.
 +
      sh: /usr/pluto/bin/SoundCards_SetupAudioCapture.sh: No such file or directory
 +
  36.
 +
      10      12/04/08 16:07:11.149          Requesthandler 0x9b27b58 (device: 86) runThread now running <0xb6bafb90>
 +
  37.
 +
      10      12/04/08 16:07:11.150          Connect OK <0xb73c06c0>
 +
  38.
 +
      10      12/04/08 16:07:11.150          LS_InitProxy - called <0xb63afb90>
 +
  39.
 +
      10      12/04/08 16:07:11.151          LS_InitProxy -- Proxy: sip:dcerouter; Extension: 203; Identity: sip:203@dcerouter <0xb63afb90>
 +
  40.
 +
      10      12/04/08 16:07:11.152          LS_InitProxy - exited <0xb63afb90>
 +
  41.
 +
      10      12/04/08 16:07:11.152          Started SIP/Linphone thread <0xb63afb90>
 +
  42.
 +
      10      12/04/08 16:07:11.153          LS_RegisterWithAsterisk - called <0xb63afb90>
 +
  43.
 +
      ortp-message-oRTP-0.13.1 initialized.
 +
  44.
 +
      ortp-message-Registering all filters...
 +
  45.
 +
      ortp-message-Registering all soundcard handlers
 +
  46.
 +
      ortp-message-Card ALSA: default device added
 +
  47.
 +
      ortp-message-Card ALSA: CS5535 Audio added
 +
  48.
 +
      ortp-message-Loading plugins
 +
  49.
 +
      ortp-message-Cannot open directory /usr/lib/mediastreamer/plugins: No such file or directory
 +
  50.
 +
      ortp-message-ms_init() done
 +
  51.
 +
      ortp-message-Adding new codec PCMU/8000
 +
  52.
 +
      ortp-message-Adding new codec GSM/8000
 +
  53.
 +
      ortp-message-Adding new codec PCMA/8000
 +
  54.
 +
      ortp-message-Adding new codec theora/90000
 +
  55.
 +
      ortp-message-Adding new codec H263-1998/90000
 +
  56.
 +
      ortp-message-Adding new codec MP4V-ES/90000
 +
  57.
 +
      ortp-message-Adding new codec speex/8000
 +
  58.
 +
      ortp-message-Adding new codec speex/16000
 +
  59.
 +
      | INFO1 | <eXutils.c: 159> Outgoing interface to reach 15.128.128.93 is 192.168.80.194.
 +
  60.
 +
     
 +
  61.
 +
      | INFO1 | <eXosip.c: 333> eXosip: Reseting timer to 15s before waking up!
 +
  62.
 +
      10      12/04/08 16:07:11.165          SimplePhone: lib message: 'Ready' <0xb63afb90>
 +
  63.
 +
      | INFO1 | <eXutils.c: 159> Outgoing interface to reach dcerouter is 192.168.80.194.
 +
  64.
 +
     
 +
  65.
 +
      | INFO2 | <osip_transaction.c: 131> allocating transaction ressource 1 408561296
 +
  66.
 +
      | INFO2 | <nict.c: 34> allocating NICT context
 +
  67.
 +
      | INFO2 | <eXutils.c: 237> Not an IPv4 or IPv6 address: dcerouter
 +
  68.
 +
      | INFO2 | <eXutils.c: 267> DNS resolution with dcerouter:5060
 +
  69.
 +
      | INFO1 | <jcallback.c: 148> Message sent:
 +
  70.
 +
      REGISTER sip:dcerouter SIP/2.0
 +
  71.
 +
      Via: SIP/2.0/UDP 192.168.80.194:5061;rport;branch=z9hG4bK1841486180
 +
  72.
 +
      From: <sip:203@dcerouter>;tag=463549899
 +
  73.
 +
      To: <sip:203@dcerouter>
 +
  74.
 +
      Call-ID: 408561296@192.168.80.194
 +
  75.
 +
      CSeq: 1 REGISTER
 +
  76.
 +
      Contact: <sip:203@192.168.80.194:5061>
 +
  77.
 +
      Max-Forwards: 70
 +
  78.
 +
      User-Agent: Linphone-1.7.1/eXosip
 +
  79.
 +
      Expires: 600
 +
  80.
 +
      Content-Length: 0
 +
  81.
 +
     
 +
  82.
 +
      (len=16 sizeof(addr)=128 28)
 +
  83.
 +
      | INFO1 | <jcallback.c: 525> cb_sndregister (id=1)
 +
  84.
 +
      | INFO1 | <eXosip.c: 340> eXosip: timer sec:0 usec:498189!
 +
  85.
 +
      10      12/04/08 16:07:11.187          LS_RegisterWithAsterisk - exited <0xb63afb90>
 +
  86.
 +
      10      12/04/08 16:07:11.187          LS_Main_Loop - called <0xb63afb90>
 +
  87.
 +
      | INFO1 | <udp.c: 2210> Received message:
 +
  88.
 +
      SIP/2.0 100 Trying
 +
  89.
 +
      Via: SIP/2.0/UDP 192.168.80.194:5061;branch=z9hG4bK1841486180;received=192.168.80.194;rport=5061
 +
  90.
 +
      From: <sip:203@dcerouter>;tag=463549899
 +
  91.
 +
      To: <sip:203@dcerouter>
 +
  92.
 +
      Call-ID: 408561296@192.168.80.194
 +
  93.
 +
      CSeq: 1 REGISTER
 +
  94.
 +
      User-Agent: Asterisk PBX
 +
  95.
 +
      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
 +
  96.
 +
      Supported: replaces
 +
  97.
 +
      Contact: <sip:203@192.168.80.1>
 +
  98.
 +
      Content-Length: 0
 +
  99.
 +
     
 +
100.
 +
     
 +
101.
 +
      | INFO3 | <osip_event.c: 89> MESSAGE REC. CALLID:408561296
 +
102.
 +
      | INFO1 | <jcallback.c: 601> cb_rcv1xx (id=1)
 +
103.
 +
      | INFO1 | <eXosip.c: 340> eXosip: timer sec:0 usec:480877!
 +
104.
 +
      | INFO1 | <udp.c: 2210> Received message:
 +
105.
 +
      SIP/2.0 401 Unauthorized
 +
106.
 +
      Via: SIP/2.0/UDP 192.168.80.194:5061;branch=z9hG4bK1841486180;received=192.168.80.194;rport=5061
 +
107.
 +
      From: <sip:203@dcerouter>;tag=463549899
 +
108.
 +
      To: <sip:203@dcerouter>;tag=as0947acc2
 +
109.
 +
      Call-ID: 408561296@192.168.80.194
 +
110.
 +
      CSeq: 1 REGISTER
 +
111.
 +
      User-Agent: Asterisk PBX
 +
112.
 +
      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
 +
113.
 +
      Supported: replaces
 +
114.
 +
      WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="6ce374da"
 +
115.
 +
      Content-Length: 0
 +
116.
 +
     
 +
117.
 +
     
 +
118.
 +
      | INFO3 | <osip_event.c: 89> MESSAGE REC. CALLID:408561296
 +
119.
 +
      | INFO1 | <jcallback.c: 1442> cb_rcv4xx (id=1)
 +
120.
 +
      | INFO1 | <eXosip.c: 340> eXosip: timer sec:4 usec:999989!
 +
121.
 +
      ortp-message-REGISTRATION_FAILURE
 +
122.
 +
     
 +
123.
 +
      ortp-message-cfg= sip:dcerouter, cfg->rid=1, rid=1
 +
124.
 +
      10      12/04/08 16:07:11.209          callback: auth_requested - called <0xb63afb90>
 +
125.
 +
      10      12/04/08 16:07:11.209          SimplePhone: Authorisation requested, realm: '"asterisk"', username '203' <0xb63afb90>
 +
126.
 +
      10      12/04/08 16:07:11.210          callback: auth_requested - exited <0xb63afb90>
 +
127.
 +
      Segmentation fault
 +
</pre>
 +
**GDB stack trace:
 +
<pre>
 +
#0  0x41383a15 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string
 +
    () from /usr/lib/libstdc++.so.6
 +
#1  0x08057e66 in DCE::SimplePhone::GetExtension (this=0x0) at SimplePhone.cpp:397
 +
#2  0x08064c79 in LS_SetupAuth () at SIP_Thread.cpp:148
 +
#3  0x08064d72 in LS_Main_Loop () at SIP_Thread.cpp:90
 +
#4  0x08064f54 in LS_Thread (arg=0x9612b58) at SIP_Thread.cpp:174
 +
#5  0x41191f3b in start_thread () from /lib/libpthread.so.0
 +
#6  0x410e8b6e in clone () from /lib/libc.so.6
 +
</pre>

Latest revision as of 18:03, 30 December 2009

This project has been abandoned due to lack of time and knowledge. Images for DT360 with SimplePhone installed are available upon request.

Plan

  1. Modify template 1759 to be "controlled by" template 8-Orbiter
  2. Add 1759 as a child device to an orbiter
  3. Find out if Orbiter starts simplephone, or if it must be started manually
  4. Look at the buttons on the telecom screens for "answer on this orbiter" - see how that works
    • Does this cause the phone to be answered on the MD? or the orbiter?

Progress

  • Template 1759 updated to be controlled by Orbiter (in addition to On-Screen Orbiter - which was already there)
  • Started SoftPhone install on WebDT
    • SimplePhone lives at /usr/pluto/bin/SimplePhone
    • ldd output is:
linuxmce@dcerouter:/usr/pluto/bin$ ldd SimplePhone 
	linux-gate.so.1 =>  (0xffffe000)
	libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7fcf000)
	librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7fc6000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7fc1000)
	libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7fbd000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7f00000)
	liblinphone.so.1 => /usr/lib/liblinphone.so.1 (0xb7ebf000)
	libSerializeClass.so => /usr/pluto/lib/libSerializeClass.so (0xb7ea4000)
	libDCECommon.so => /usr/pluto/lib/libDCECommon.so (0xb7dc1000)
	libPlutoUtils.so => /usr/pluto/lib/libPlutoUtils.so (0xb7d62000)
	libmysqlclient_r.so.15 => /usr/lib/libmysqlclient_r.so.15 (0xb7b77000)
	libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7b5f000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7a6c000)
	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7a47000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a3c000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb78f1000)
	/lib/ld-linux.so.2 (0xb7fe6000)
	libquickstream.so.0 => /usr/lib/libquickstream.so.0 (0xb78eb000)
	libosip2.so.3 => /usr/lib/libosip2.so.3 (0xb78d4000)
	libosipparser2.so.3 => /usr/lib/libosipparser2.so.3 (0xb78a9000)
	libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7891000)
	libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7862000)
	libz.so.1 => /usr/lib/libz.so.1 (0xb784d000)
	libmediastreamer.so.0 => /usr/lib/libmediastreamer.so.0 (0xb7828000)
	libavcodec.so.1d => /usr/lib/libavcodec.so.1d (0xb73cd000)
	libortp.so.5 => /usr/lib/libortp.so.5 (0xb73b6000)
	libasound.so.2 => /usr/lib/libasound.so.2 (0xb72ef000)
	libspeex.so.1 => /usr/lib/libspeex.so.1 (0xb72cf000)
	libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7296000)
	libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb719d000)
	libraw1394.so.8 => /usr/lib/libraw1394.so.8 (0xb7197000)
	libavutil.so.1d => /usr/lib/libavutil.so.1d (0xb718d000)
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7164000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0xb715f000)
	libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb70c8000)
	libgsm.so.1 => /usr/lib/libgsm.so.1 (0xb70b8000)
	libartsc.so.0 => /usr/lib/libartsc.so.0 (0xb70b2000)
	libesd.so.0 => /usr/lib/libesd.so.0 (0xb70a7000)
	libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0xb7085000)
	libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb706f000)
	libXt.so.6 => /usr/lib/libXt.so.6 (0xb701e000)
	libdirectfb-0.9.so.25 => /usr/lib/libdirectfb-0.9.so.25 (0xb6fc7000)
	libfusion-0.9.so.25 => /usr/lib/libfusion-0.9.so.25 (0xb6fc1000)
	libdirect-0.9.so.25 => /usr/lib/libdirect-0.9.so.25 (0xb6fb1000)
	libaa.so.1 => /usr/lib/libaa.so.1 (0xb6f96000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0xb6f8e000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0xb6f76000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb6e85000)
	libncurses.so.5 => /lib/libncurses.so.5 (0xb6e40000)
	libslang.so.2 => /lib/libslang.so.2 (0xb6d7f000)
	libgpm.so.1 => /usr/lib/libgpm.so.1 (0xb6d79000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb6d76000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6d71000)
  • Installed using deb packages
    • Created an apt repository with all LMCE packages on a USB flash drive
    • Removed some extra packages (including gdb)
    • Got it to fit - with 4.7MB free...
    • Initial install did NOT work - packages that had newer versions were taken from Debian apt repository instead of the LMCE repository on the USB drive. Several libraries were not compatible.
    • Had to remove Debian repository except for packages that were not in LMCE repository
  • Added SimplePhone child device
    • Confirmed functionality of child device's extension using Ekiga
  • Attempted to run SimplePhone on the DT
    • Console output was:
   1.
      orbiter:~# /usr/pluto/bin/SimplePhone -d 86
   2.
      SimplePhone, v.2.0.0.44.0804112200
   3.
      Visit www.plutohome.com for source code and license information
   4.
       
   5.
      10      12/04/08 16:07:10.957           Device: 86 starting.  Connecting to: dcerouter <0xb73c06c0>
   6.
      10      12/04/08 16:07:10.968           Setting timeout for socket 3 to 20 <0xb73c06c0>
   7.
      05      12/04/08 16:07:11.073           Server IP: dcerouter <0xb73c06c0>
   8.
      10      12/04/08 16:07:11.074           Socket::SendMessage type 5 id 88 from 86 to -1000 <0xb73c06c0>
   9.
      10      12/04/08 16:07:11.116           MD Audio Settings: ERR Parameter not found <0xb73c06c0>
  10.
      10      12/04/08 16:07:11.116           Flag unprocessed: 'E' <0xb73c06c0>
  11.
      10      12/04/08 16:07:11.117           Flag unprocessed: 'R' <0xb73c06c0>
  12.
      10      12/04/08 16:07:11.117           Flag unprocessed: 'R' <0xb73c06c0>
  13.
      10      12/04/08 16:07:11.117           Flag unprocessed: ' ' <0xb73c06c0>
  14.
      10      12/04/08 16:07:11.118           Flag unprocessed: 'P' <0xb73c06c0>
  15.
      10      12/04/08 16:07:11.118           Flag unprocessed: 'a' <0xb73c06c0>
  16.
      10      12/04/08 16:07:11.118           Flag unprocessed: 'r' <0xb73c06c0>
  17.
      10      12/04/08 16:07:11.119           Flag unprocessed: 'a' <0xb73c06c0>
  18.
      10      12/04/08 16:07:11.119           Flag unprocessed: 'm' <0xb73c06c0>
  19.
      10      12/04/08 16:07:11.119           Flag unprocessed: 'e' <0xb73c06c0>
  20.
      10      12/04/08 16:07:11.119           Flag unprocessed: 't' <0xb73c06c0>
  21.
      10      12/04/08 16:07:11.119           Flag unprocessed: 'e' <0xb73c06c0>
  22.
      10      12/04/08 16:07:11.120           Flag unprocessed: 'r' <0xb73c06c0>
  23.
      10      12/04/08 16:07:11.120           Flag unprocessed: ' ' <0xb73c06c0>
  24.
      10      12/04/08 16:07:11.120           Flag unprocessed: 'n' <0xb73c06c0>
  25.
      10      12/04/08 16:07:11.120           Flag unprocessed: 'o' <0xb73c06c0>
  26.
      10      12/04/08 16:07:11.121           Flag unprocessed: 't' <0xb73c06c0>
  27.
      10      12/04/08 16:07:11.121           Flag unprocessed: ' ' <0xb73c06c0>
  28.
      10      12/04/08 16:07:11.121           Flag unprocessed: 'f' <0xb73c06c0>
  29.
      10      12/04/08 16:07:11.121           Flag unprocessed: 'o' <0xb73c06c0>
  30.
      10      12/04/08 16:07:11.122           Flag unprocessed: 'u' <0xb73c06c0>
  31.
      10      12/04/08 16:07:11.122           Flag unprocessed: 'n' <0xb73c06c0>
  32.
      10      12/04/08 16:07:11.122           Flag unprocessed: 'd' <0xb73c06c0>
  33.
      10      12/04/08 16:07:11.125           Socket::SendMessage type 5 id 31 from 86 to -1000 <0xb73c06c0>
  34.
      10      12/04/08 16:07:11.136           SimplePhone::GetConfig: Starting with extension '203' <0xb73c06c0>
  35.
      sh: /usr/pluto/bin/SoundCards_SetupAudioCapture.sh: No such file or directory
  36.
      10      12/04/08 16:07:11.149           Requesthandler 0x9b27b58 (device: 86) runThread now running <0xb6bafb90>
  37.
      10      12/04/08 16:07:11.150           Connect OK <0xb73c06c0>
  38.
      10      12/04/08 16:07:11.150           LS_InitProxy - called <0xb63afb90>
  39.
      10      12/04/08 16:07:11.151           LS_InitProxy -- Proxy: sip:dcerouter; Extension: 203; Identity: sip:203@dcerouter <0xb63afb90>
  40.
      10      12/04/08 16:07:11.152           LS_InitProxy - exited <0xb63afb90>
  41.
      10      12/04/08 16:07:11.152           Started SIP/Linphone thread <0xb63afb90>
  42.
      10      12/04/08 16:07:11.153           LS_RegisterWithAsterisk - called <0xb63afb90>
  43.
      ortp-message-oRTP-0.13.1 initialized.
  44.
      ortp-message-Registering all filters...
  45.
      ortp-message-Registering all soundcard handlers
  46.
      ortp-message-Card ALSA: default device added
  47.
      ortp-message-Card ALSA: CS5535 Audio added
  48.
      ortp-message-Loading plugins
  49.
      ortp-message-Cannot open directory /usr/lib/mediastreamer/plugins: No such file or directory
  50.
      ortp-message-ms_init() done
  51.
      ortp-message-Adding new codec PCMU/8000
  52.
      ortp-message-Adding new codec GSM/8000
  53.
      ortp-message-Adding new codec PCMA/8000
  54.
      ortp-message-Adding new codec theora/90000
  55.
      ortp-message-Adding new codec H263-1998/90000
  56.
      ortp-message-Adding new codec MP4V-ES/90000
  57.
      ortp-message-Adding new codec speex/8000
  58.
      ortp-message-Adding new codec speex/16000
  59.
      | INFO1 | <eXutils.c: 159> Outgoing interface to reach 15.128.128.93 is 192.168.80.194.
  60.
       
  61.
      | INFO1 | <eXosip.c: 333> eXosip: Reseting timer to 15s before waking up!
  62.
      10      12/04/08 16:07:11.165           SimplePhone: lib message: 'Ready' <0xb63afb90>
  63.
      | INFO1 | <eXutils.c: 159> Outgoing interface to reach dcerouter is 192.168.80.194.
  64.
       
  65.
      | INFO2 | <osip_transaction.c: 131> allocating transaction ressource 1 408561296
  66.
      | INFO2 | <nict.c: 34> allocating NICT context
  67.
      | INFO2 | <eXutils.c: 237> Not an IPv4 or IPv6 address: dcerouter
  68.
      | INFO2 | <eXutils.c: 267> DNS resolution with dcerouter:5060
  69.
      | INFO1 | <jcallback.c: 148> Message sent:
  70.
      REGISTER sip:dcerouter SIP/2.0
  71.
      Via: SIP/2.0/UDP 192.168.80.194:5061;rport;branch=z9hG4bK1841486180
  72.
      From: <sip:203@dcerouter>;tag=463549899
  73.
      To: <sip:203@dcerouter>
  74.
      Call-ID: 408561296@192.168.80.194
  75.
      CSeq: 1 REGISTER
  76.
      Contact: <sip:203@192.168.80.194:5061>
  77.
      Max-Forwards: 70
  78.
      User-Agent: Linphone-1.7.1/eXosip
  79.
      Expires: 600
  80.
      Content-Length: 0
  81.
       
  82.
       (len=16 sizeof(addr)=128 28)
  83.
      | INFO1 | <jcallback.c: 525> cb_sndregister (id=1)
  84.
      | INFO1 | <eXosip.c: 340> eXosip: timer sec:0 usec:498189!
  85.
      10      12/04/08 16:07:11.187           LS_RegisterWithAsterisk - exited <0xb63afb90>
  86.
      10      12/04/08 16:07:11.187           LS_Main_Loop - called <0xb63afb90>
  87.
      | INFO1 | <udp.c: 2210> Received message:
  88.
      SIP/2.0 100 Trying
  89.
      Via: SIP/2.0/UDP 192.168.80.194:5061;branch=z9hG4bK1841486180;received=192.168.80.194;rport=5061
  90.
      From: <sip:203@dcerouter>;tag=463549899
  91.
      To: <sip:203@dcerouter>
  92.
      Call-ID: 408561296@192.168.80.194
  93.
      CSeq: 1 REGISTER
  94.
      User-Agent: Asterisk PBX
  95.
      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
  96.
      Supported: replaces
  97.
      Contact: <sip:203@192.168.80.1>
  98.
      Content-Length: 0
  99.
       
 100.
       
 101.
      | INFO3 | <osip_event.c: 89> MESSAGE REC. CALLID:408561296
 102.
      | INFO1 | <jcallback.c: 601> cb_rcv1xx (id=1)
 103.
      | INFO1 | <eXosip.c: 340> eXosip: timer sec:0 usec:480877!
 104.
      | INFO1 | <udp.c: 2210> Received message:
 105.
      SIP/2.0 401 Unauthorized
 106.
      Via: SIP/2.0/UDP 192.168.80.194:5061;branch=z9hG4bK1841486180;received=192.168.80.194;rport=5061
 107.
      From: <sip:203@dcerouter>;tag=463549899
 108.
      To: <sip:203@dcerouter>;tag=as0947acc2
 109.
      Call-ID: 408561296@192.168.80.194
 110.
      CSeq: 1 REGISTER
 111.
      User-Agent: Asterisk PBX
 112.
      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
 113.
      Supported: replaces
 114.
      WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="6ce374da"
 115.
      Content-Length: 0
 116.
       
 117.
       
 118.
      | INFO3 | <osip_event.c: 89> MESSAGE REC. CALLID:408561296
 119.
      | INFO1 | <jcallback.c: 1442> cb_rcv4xx (id=1)
 120.
      | INFO1 | <eXosip.c: 340> eXosip: timer sec:4 usec:999989!
 121.
      ortp-message-REGISTRATION_FAILURE
 122.
       
 123.
      ortp-message-cfg= sip:dcerouter, cfg->rid=1, rid=1
 124.
      10      12/04/08 16:07:11.209           callback: auth_requested - called <0xb63afb90>
 125.
      10      12/04/08 16:07:11.209           SimplePhone: Authorisation requested, realm: '"asterisk"', username '203' <0xb63afb90>
 126.
      10      12/04/08 16:07:11.210           callback: auth_requested - exited <0xb63afb90>
 127.
      Segmentation fault
    • GDB stack trace:
#0  0x41383a15 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string
    () from /usr/lib/libstdc++.so.6
#1  0x08057e66 in DCE::SimplePhone::GetExtension (this=0x0) at SimplePhone.cpp:397
#2  0x08064c79 in LS_SetupAuth () at SIP_Thread.cpp:148
#3  0x08064d72 in LS_Main_Loop () at SIP_Thread.cpp:90
#4  0x08064f54 in LS_Thread (arg=0x9612b58) at SIP_Thread.cpp:174
#5  0x41191f3b in start_thread () from /lib/libpthread.so.0
#6  0x410e8b6e in clone () from /lib/libc.so.6