13
SIP / H.323 / IAX SIP / H.323 / IAX telephone telephone customization customization 3 3 rd rd term presentation term presentation Brendan Marlborough Brendan Marlborough Supervisor: Alfredo Supervisor: Alfredo Terzoli Terzoli

SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

Embed Size (px)

Citation preview

Page 1: SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

SIP / H.323 / IAX telephone SIP / H.323 / IAX telephone customizationcustomization

33rdrd term presentation term presentation

Brendan MarlboroughBrendan Marlborough

Supervisor: Alfredo TerzoliSupervisor: Alfredo Terzoli

Page 2: SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

ContentsContents

Some background to VoIP devicesSome background to VoIP devices The hardware structure of the phoneThe hardware structure of the phone The software structureThe software structure What I have doneWhat I have done What I must doWhat I must do

Page 3: SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

BackgroundBackground

The telecommunications industry is The telecommunications industry is shifting towards using VoIPshifting towards using VoIP

Needs VoIP technologyNeeds VoIP technology People are used to normal People are used to normal

telephonestelephones

Page 4: SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

VoIP Device HistoryVoIP Device History

First software phone was written in First software phone was written in 1995, and many more have made an 1995, and many more have made an appearance.appearance.

Phone adapters – converts POTS to Phone adapters – converts POTS to ethernetethernet

VoIP phonesVoIP phones

Page 5: SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

Hardware structureHardware structure

Consists of:ControllerPA1688 ProcessorDSP

Other interfaces for Flash MemorySDRamAC97 AudioEthernet

Page 6: SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

Hardware componentsHardware components

ControllerController Controls memory interface and sdramControls memory interface and sdram

CPUCPU Intel MCS8051 at 50MHzIntel MCS8051 at 50MHz

DSPDSP ADSP2181 at 33MHzADSP2181 at 33MHz

Flash MemoryFlash Memory 1Mb, used to store program memory and 1Mb, used to store program memory and

initializing datainitializing data

Page 7: SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

Hardware componentsHardware components

SDRamSDRam 16Mb, Ac97 buffers TCP/IP router info, 16Mb, Ac97 buffers TCP/IP router info,

dialled calls etc.dialled calls etc. AC97 CodecAC97 Codec

Encodes / Decodes audio at 8Khz Encodes / Decodes audio at 8Khz

Page 8: SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

Software structureSoftware structure

Uses bank switchingUses bank switching Allows programs to be bigger than the Allows programs to be bigger than the

cpu can addresscpu can address Written in c and compiled to MCS Written in c and compiled to MCS

8051 instruction set8051 instruction set Libraries have recently been made Libraries have recently been made

open sourceopen source

Page 9: SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

Program FlowProgram Flow

Page 10: SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

CompilerCompiler

Keil 7Keil 7 Free version only compiles object files Free version only compiles object files

up to 2kbup to 2kb Full version +- R10000Full version +- R10000

Other free 8051 compilers such as Other free 8051 compilers such as SDCCSDCC

Palmtool used to generate bin filePalmtool used to generate bin file

Page 11: SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

What I have doneWhat I have done

Done background research which has Done background research which has culminated into the ‘literature review’culminated into the ‘literature review’

Studied the chip in detailStudied the chip in detail Looked through the code and gained Looked through the code and gained

a basic understandinga basic understanding Installed and tested a windows Installed and tested a windows

version of asterisk on my pcversion of asterisk on my pc Got the code partially to compileGot the code partially to compile

Page 12: SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

What I have to doWhat I have to do

Decide what must be changed about the Decide what must be changed about the phone and implement itphone and implement it

Some ideasSome ideas LED shows something user selectable when on LED shows something user selectable when on

idle (might need updating web interface)idle (might need updating web interface) Time of the day / message waitingTime of the day / message waiting Display fetches info of web such as temperatureDisplay fetches info of web such as temperature

Re-write some of the documentation in Re-write some of the documentation in better Englishbetter English

Do final write-upDo final write-up

Page 13: SIP / H.323 / IAX telephone customization 3 rd term presentation Brendan Marlborough Supervisor: Alfredo Terzoli

Thank youThank you

Questions?Questions?