Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Asterisk Webphone

Avatar for chrismatthieu chrismatthieu
October 25, 2011

Asterisk Webphone

This is my slide deck talking about Voxeo's Phono webphone from Astricon 2011.

Avatar for chrismatthieu

chrismatthieu

October 25, 2011
Tweet

More Decks by chrismatthieu

Other Decks in Technology

Transcript

  1. © Voxeo Corporation © Voxeo Corporation © Voxeo Corporation ©

    Voxeo Corporation | CONFIDENTIAL Phono :: Javascript Phone API JavaScript jQuery Library Make and Receive SIP Calls XMPP Instant Messaging Open Source - github.com/phono Bob Alice
  2. © Voxeo Corporation © Voxeo Corporation © Voxeo Corporation ©

    Voxeo Corporation | CONFIDENTIAL Phono Architecture Phone Share / Play Jingle XMPP Flash Java iOS Messaging Chat Presence Media Plugins
  3. •Asterisk / EC2 •OpenVXI / VoiceGlue •PhoneML (XML or JSON):

    7 commands Speak - Play - Input - Record Transfer - Goto - Hangup Architecture
  4. [general] context=phoneglue ; Default context for incoming calls allowguest=yes allowoverlap=no

    ; Disable overlap dialing support. (Default is yes) bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all) srvlookup=yes ; Enable DNS SRV lookups on outbound calls nat=route externip=184.73.185.22 localnet=10.0.0.0/255.0.0.0 dtmfmode=rfc2833 relaxdtmf=yes Asterisk SIP.conf
  5. Asterisk and Phono can use SIP headers! Asterisk: exten =>

    s,1,Set(foo=${SIP_HEADER(x- headername)}) SIP Headers
  6. Asterisk and Phono can use SIP headers! Phono: phone.dial("sip:[email protected]", {

    headers: [ { name:"x-headername", value:"any data" }]}); SIP Headers
  7. © Voxeo Corporation © Voxeo Corporation © Voxeo Corporation ©

    Voxeo Corporation | CONFIDENTIAL Phono Mobile for iOS and Android + = Pure Awesome!