SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
ADOBE® FLASH® MEDIA GATEWAY 2.0
QUICK START GUIDE
© 2010 Adobe Systems Incorporated. All rights reserved.
Adobe® Flash® Media Gateway Quick Start Guide for Windows®.
This Quick Start Guide is licensed for use under the terms of the Creative Commons Attribution Non-Commercial 3.0 License. This License allows users to copy, distribute, and
transmit the guide for noncommercial purposes only so long as (1) proper attribution to Adobe is given as the owner of the guide; and (2) any reuse or distribution of the guide
contains a notice that use of the guide is governed by these terms. The best way to provide notice is to include the following link. To view a copy of this license, visit http://creative-
commons.org/licenses/by-nc-sa/3.0/.
Adobe, the Adobe logo, and Flash are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Intel and Pentium
4 are trademarks of Intel Corporation in the U.S. and other countries. Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries. All other trademarks are the property of their respective owners.
Adobe Systems Incorporated, 345 Park Avenue, San Jose, California 95110, USA.
1




Adobe® Flash® Media Gateway (FMG) provides programmable interfaces to integrate applications built on Flash
platform with VoIP communication infrastructure. FMG thus creates opportunities for a new class of rich internet
applications.



What to do first
Check the system requirements
If you’re not sure whether FMG can run on your computer, review the complete system requirements and recom-
mendations for your Adobe software. See the ReadMe file included with the installation file.
The additional software dependencies are as follows.
• FMG requires Adobe® Flash® Media Server® (FMS) 3.0 or higher to provide telephony services to Flash clients. A
  free, development version of FMS can be obtained from http://www.adobe.com/products/flashmediaserver.
• (Optional) FMG requires a SIP-compliant client to make calls to/from SIP phones within the local network.
Note: FMG has been tested with X-lite® and Zoiper® SIP phones.
• (Optional) You require a user account at an external SIP gateway service to make/receive calls to/from third-party
  SIP accounts, including calls to mobile and PSTN networks.
Note: FMG has been tested with Asterisk® 1.4 and 1.6 releases.


Install the software
To install FMG, run FMGSetup.exe and follow the prompts in the installation wizard. For more information on the
installation process, see Adobe® Flash® Media Gateway Installation and Configuration Guide.




Deploy sample telephony applications
Scenario 1 FMS and FMG are running on the same host machine

Copy the ${FMG-Install-Folder}/FMSApplicationstelephony folder to ${FMS-Install-Folder}applications.
Note: ${FMS-Install-Folder} refers to the FMS installation folder. On a windows machine, the default location is
C:Program FilesAdobeFlash Media Server x.x.
$(FMG-Install-Folder} refers to the FMG installation folder; the default location is C:Program FilesAdobeFlash
Media Gateway.
Scenario 2 FMS and FMG are running on different machines

Specify the IP address of the machine running the FMS. $(FMG-Install-Folder}/conf/rtmp.xml contains the entries
that specify the FMS host name and the FMS applications that can use the telephony services provided by FMG. The
default “localhost” is the FMS host. Replace the entries with the host name or IP address of the machine running the
FMS.



Configure the FMS
ADOBE FLASH MEDIA GATEWAY 2.0 2
                                                                                                               Quick Start Guide




Note: Configuring latest Flash Media Sever 4.0 requires updating following configuration to enable registry core which
is critical for FMG to provide telephony services to an FMS applications. Older versions of FMS do not require this step.
In Server.xml file placed at C:/Program Files/Adobe/Flash Media Server 4/conf, under <Server> tag add <Registry
enabled="true" /> to enable registry core.




Configure the SIP phone and gateway
sip.xml contains the default entries for the following:
• Two SIP phones
• One SIP gateway
Specify the IP address/host name of the SIP client phones or the SIP gateway in the <remoteSipHost> tag of sip.xml.
Ensure that the user name/password is correct. For all other settings, see the comments in sip.xml.
Note: Restart FMG to enforce the changes made in the configuration files.



Making VoIP calls using sample telephony applications
FMG includes sample telephony applications to test the installation with simple use cases. To make VoIP calls using
the sample applications, do the following:
• Deploy the sample telephony applications in the FMS application folder.
• Ensure that FMS and FMG are running. (Confirm from Windows > Control Panel> Administrative Tools >
  Services.)


Sign in using sample Flash phone
1 On the machine running the FMS, open the sample Flash phone file, $(FMS-Install-Folder}applica-
tionstelephonyFlashPhoneflashPhone.html.
2 Do one of the following:
• If the file is open on the same machine as the one running the FMS, the default entries don’t require any modifi-
  cations. Click Connect to view the next screen.
• If the file is open on a machine other than the one running the FMS, replace localhost with the FMS hostname in
  the server URL field.
  The sample application assigns phone numbers sequentially (such as 1000, 1001, and 1002). This phone number
  is displayed at the top-left corner of the telephone screen.
Note: A unique phone number is assigned to a Flash phone at each successful sign in.


Make calls using the sample Flash phone

Basic: Telephony samples
1 Dial 8888 to listen to a continuous music playback from FMG.
2 Dial 9999 to record your voice. During the call, press # to stop recording and listen to the recorded voice.
ADOBE FLASH MEDIA GATEWAY 2.0 3
                                                                                                                Quick Start Guide




3 Open another flashPhone.html on the same or a different machine in the Local Area Network and sign in after
modifying the RTMP URL (if FMS isn’t present on the localhost: rtmp://<fms-machine-hostName-or-
IPAddress>/telephony/).
4 Dial the 1xxx series number of the previously opened phone and press the Call button.
5 Wait for the ring. Accept the call when the receiver phone displays the incoming call.
6 Start the conversation and hang up when the conversation is complete.
Note: On dialing any other number, FMG routes the call to the SIP interface per the default SIP profile defined in sip.xml
and workflow.xml.

Advance: Call to SIP soft phones and video conferencing devices
1 Configure a SIP soft phone as described in Configure the SIP phone and gateway.
2 After the SIP phone is connected to FMG per the above settings, dial 777 or 888 from the Flash phone. The call is
routed to the corresponding SIP phone.
3 Once you have hands on experience of placing audio calls using FMG; configure FMG to place calls to a video
conference endpoint using following steps.
  a In FMG configuration file conf/sip.xml; locate profile 'sipVideoPhone'. Update <remoteSipHost> tag with the
IPaddress of SIP video device.
  b By default FMG is configured to call user '999' on the SIP video device configured in 'step a.' If your SIP device
doesn't accept call to arbitrary username; you may choose to configure FMG to call desired user on your SIP video
device using following steps.
    i Locate tag conf/workflow.xml and open for edit.
     ii Locate <Context name="rtmp"> in the workflow.xml; under this tag locate the handling for dialed number
'999'; and replace ${destNum} with <valid_userName_on_SIP_device> . This will configure FMG to route calls to
the configured user at your SIPvideo endpoint whenever '999' is dialed from the 'Sample Flash Phone'. Restart FMG.
4 Now, use the separately provided Sample FlashPhone.swf with video display to connect in the same manner as
was done to make audio calls using flashphone.html.
5 Dial number "999" to place call on your video device. Upon call answer, the Flashphone will display the remote
video.The video stream being shown on Flashphone stays available for web distribution on FMS for complete
duration of the call.

Advanced: Call to external numbers using a SIP gateway
This requires a SIP account with an external SIP server. FMG can use such accounts to route calls from RTMP/SIP
to any valid number through an external SIP server.
1 Open $(FMG-Install-Folder}/conf/sip.xml and modify the default entry for SIP server, as described in the XML
comments.
2 Restart FMG from Windows > Control Panel > Administrative Tools > Services.
3 On the FMS host, restart/open a new instance of flashPhone.html, and log in as described in Sign in using sample
Flash phone.
4 Dial any number provided in the external SIP gateway to make a VoIP call that is routed through an external SIP
server.
ADOBE FLASH MEDIA GATEWAY 2.0 4
                                                                                                    Quick Start Guide




See Also
Note: All paths displayed in this section are the default installation paths.
For FMG Telephony Leg Service API reference and usage instructions, see C:program filesAdobeFlash Media
GatewaydocsFMG Leg Service API.pdf.
For information on configuring FMG, see C:program filesAdobeFlash Media GatewaydocsFMG Installation
and Configuration.pdf.
For FMG Control Service API reference, see C:program filesAdobeFlash Media GatewaydocsFMG Control
Service API.pdf.
For working samples with source code, see C:program filesAdobeFlash Media GatewayFMSApplications.
For SSAS Telephony Library files that can be reused, see C:program filesAdobeFlash Media GatewayFMSAppli-
cationstelephonyTelephonyLib.

Mais conteúdo relacionado

Mais procurados

Presentation TalkStorage
Presentation TalkStoragePresentation TalkStorage
Presentation TalkStorage
Quobis
 

Mais procurados (19)

GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worldsGUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
 
SIP servers on embedded systems: Powering SoHo communications
SIP servers on embedded systems: Powering SoHo communicationsSIP servers on embedded systems: Powering SoHo communications
SIP servers on embedded systems: Powering SoHo communications
 
Avaya IP Office Demo V4 2
Avaya IP Office Demo V4 2Avaya IP Office Demo V4 2
Avaya IP Office Demo V4 2
 
Avaya Aura Conferencing 7.2
Avaya Aura Conferencing 7.2Avaya Aura Conferencing 7.2
Avaya Aura Conferencing 7.2
 
Using Asterisk in a SIP softswitch
Using Asterisk in a SIP softswitchUsing Asterisk in a SIP softswitch
Using Asterisk in a SIP softswitch
 
TekConSer Manual
TekConSer ManualTekConSer Manual
TekConSer Manual
 
Communications Server 14 First Look
Communications Server 14 First LookCommunications Server 14 First Look
Communications Server 14 First Look
 
Avaya One-X Mobile SIP for Apple iOS by PacketBase
Avaya One-X Mobile SIP for Apple iOS by PacketBaseAvaya One-X Mobile SIP for Apple iOS by PacketBase
Avaya One-X Mobile SIP for Apple iOS by PacketBase
 
Presentation TalkStorage
Presentation TalkStoragePresentation TalkStorage
Presentation TalkStorage
 
Avaya Aura Application Enablement Services (AES)
Avaya Aura Application Enablement Services (AES)Avaya Aura Application Enablement Services (AES)
Avaya Aura Application Enablement Services (AES)
 
ESI-50
ESI-50ESI-50
ESI-50
 
Avaya Aura 6.x suite licensing
Avaya Aura 6.x suite licensingAvaya Aura 6.x suite licensing
Avaya Aura 6.x suite licensing
 
Asterisk PBX Presentation, 2006
Asterisk PBX Presentation, 2006Asterisk PBX Presentation, 2006
Asterisk PBX Presentation, 2006
 
Simple virtual office PBX with TekSIP
Simple virtual office PBX with TekSIPSimple virtual office PBX with TekSIP
Simple virtual office PBX with TekSIP
 
Avaya ip office beginners training
Avaya ip office beginners trainingAvaya ip office beginners training
Avaya ip office beginners training
 
Cisco Pervasive Conferencing where Voice, Video and Web Meet
Cisco Pervasive Conferencing where Voice, Video and Web MeetCisco Pervasive Conferencing where Voice, Video and Web Meet
Cisco Pervasive Conferencing where Voice, Video and Web Meet
 
First steps after free pbx installation
First steps after free pbx installationFirst steps after free pbx installation
First steps after free pbx installation
 
Avaya and Skype Connect PacketBase is an Avaya BusinessPartner
Avaya and Skype Connect PacketBase is an Avaya BusinessPartnerAvaya and Skype Connect PacketBase is an Avaya BusinessPartner
Avaya and Skype Connect PacketBase is an Avaya BusinessPartner
 
Avaya Aura Messaging Portfolio
Avaya Aura Messaging PortfolioAvaya Aura Messaging Portfolio
Avaya Aura Messaging Portfolio
 

Semelhante a Flashmedia gateway docs_quickstart

Flash platform fitc
Flash platform fitcFlash platform fitc
Flash platform fitc
Mark Doherty
 
Speereo Voice Translator for Windows Mobile
Speereo Voice Translator for Windows MobileSpeereo Voice Translator for Windows Mobile
Speereo Voice Translator for Windows Mobile
Daniel Ischenko
 

Semelhante a Flashmedia gateway docs_quickstart (20)

Doc_VOIP_Xivo
Doc_VOIP_XivoDoc_VOIP_Xivo
Doc_VOIP_Xivo
 
#1 How to develop a VoIP softphone in C# by using Ozeki VoIP SIP SDK - Part 1
#1 How to develop a VoIP softphone in C# by using Ozeki VoIP SIP SDK - Part 1#1 How to develop a VoIP softphone in C# by using Ozeki VoIP SIP SDK - Part 1
#1 How to develop a VoIP softphone in C# by using Ozeki VoIP SIP SDK - Part 1
 
#1 Basic VoIP Drupal Hands On Experience Webinar
#1 Basic VoIP Drupal Hands On Experience Webinar#1 Basic VoIP Drupal Hands On Experience Webinar
#1 Basic VoIP Drupal Hands On Experience Webinar
 
Basic VoIP Drupal Intro - for BioRAFT
Basic VoIP Drupal Intro - for BioRAFTBasic VoIP Drupal Intro - for BioRAFT
Basic VoIP Drupal Intro - for BioRAFT
 
Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.
 
Flash platform fitc
Flash platform fitcFlash platform fitc
Flash platform fitc
 
Flash Lite, un’occasione da 1.3 Miliardi di mobile phones
Flash Lite, un’occasione da 1.3 Miliardi di mobile phonesFlash Lite, un’occasione da 1.3 Miliardi di mobile phones
Flash Lite, un’occasione da 1.3 Miliardi di mobile phones
 
Flash Builder for PHP and Mobile development
Flash Builder for PHP and Mobile developmentFlash Builder for PHP and Mobile development
Flash Builder for PHP and Mobile development
 
3CX Phone Admin Manual for Version 12
3CX Phone Admin Manual for Version 123CX Phone Admin Manual for Version 12
3CX Phone Admin Manual for Version 12
 
Speereo Voice Translator for Windows Mobile
Speereo Voice Translator for Windows MobileSpeereo Voice Translator for Windows Mobile
Speereo Voice Translator for Windows Mobile
 
Fortran compiling 2
Fortran compiling 2Fortran compiling 2
Fortran compiling 2
 
MoMo Oct Event
MoMo Oct EventMoMo Oct Event
MoMo Oct Event
 
Technology And Life
Technology And LifeTechnology And Life
Technology And Life
 
Technology And Life
Technology And LifeTechnology And Life
Technology And Life
 
Flash-based audio and video communication
Flash-based audio and video communicationFlash-based audio and video communication
Flash-based audio and video communication
 
PHP Melody Installation Manual
PHP Melody Installation ManualPHP Melody Installation Manual
PHP Melody Installation Manual
 
PHP Melody Installation Manual
PHP Melody Installation ManualPHP Melody Installation Manual
PHP Melody Installation Manual
 
PHP Melody Installation Manual
PHP Melody Installation ManualPHP Melody Installation Manual
PHP Melody Installation Manual
 
PHP Melody Installation Manual
PHP Melody Installation ManualPHP Melody Installation Manual
PHP Melody Installation Manual
 
Adobe open screen project ppt
Adobe open screen project pptAdobe open screen project ppt
Adobe open screen project ppt
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Flashmedia gateway docs_quickstart

  • 1. ADOBE® FLASH® MEDIA GATEWAY 2.0 QUICK START GUIDE
  • 2. © 2010 Adobe Systems Incorporated. All rights reserved. Adobe® Flash® Media Gateway Quick Start Guide for Windows®. This Quick Start Guide is licensed for use under the terms of the Creative Commons Attribution Non-Commercial 3.0 License. This License allows users to copy, distribute, and transmit the guide for noncommercial purposes only so long as (1) proper attribution to Adobe is given as the owner of the guide; and (2) any reuse or distribution of the guide contains a notice that use of the guide is governed by these terms. The best way to provide notice is to include the following link. To view a copy of this license, visit http://creative- commons.org/licenses/by-nc-sa/3.0/. Adobe, the Adobe logo, and Flash are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Intel and Pentium 4 are trademarks of Intel Corporation in the U.S. and other countries. Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks are the property of their respective owners. Adobe Systems Incorporated, 345 Park Avenue, San Jose, California 95110, USA.
  • 3. 1 Adobe® Flash® Media Gateway (FMG) provides programmable interfaces to integrate applications built on Flash platform with VoIP communication infrastructure. FMG thus creates opportunities for a new class of rich internet applications. What to do first Check the system requirements If you’re not sure whether FMG can run on your computer, review the complete system requirements and recom- mendations for your Adobe software. See the ReadMe file included with the installation file. The additional software dependencies are as follows. • FMG requires Adobe® Flash® Media Server® (FMS) 3.0 or higher to provide telephony services to Flash clients. A free, development version of FMS can be obtained from http://www.adobe.com/products/flashmediaserver. • (Optional) FMG requires a SIP-compliant client to make calls to/from SIP phones within the local network. Note: FMG has been tested with X-lite® and Zoiper® SIP phones. • (Optional) You require a user account at an external SIP gateway service to make/receive calls to/from third-party SIP accounts, including calls to mobile and PSTN networks. Note: FMG has been tested with Asterisk® 1.4 and 1.6 releases. Install the software To install FMG, run FMGSetup.exe and follow the prompts in the installation wizard. For more information on the installation process, see Adobe® Flash® Media Gateway Installation and Configuration Guide. Deploy sample telephony applications Scenario 1 FMS and FMG are running on the same host machine Copy the ${FMG-Install-Folder}/FMSApplicationstelephony folder to ${FMS-Install-Folder}applications. Note: ${FMS-Install-Folder} refers to the FMS installation folder. On a windows machine, the default location is C:Program FilesAdobeFlash Media Server x.x. $(FMG-Install-Folder} refers to the FMG installation folder; the default location is C:Program FilesAdobeFlash Media Gateway. Scenario 2 FMS and FMG are running on different machines Specify the IP address of the machine running the FMS. $(FMG-Install-Folder}/conf/rtmp.xml contains the entries that specify the FMS host name and the FMS applications that can use the telephony services provided by FMG. The default “localhost” is the FMS host. Replace the entries with the host name or IP address of the machine running the FMS. Configure the FMS
  • 4. ADOBE FLASH MEDIA GATEWAY 2.0 2 Quick Start Guide Note: Configuring latest Flash Media Sever 4.0 requires updating following configuration to enable registry core which is critical for FMG to provide telephony services to an FMS applications. Older versions of FMS do not require this step. In Server.xml file placed at C:/Program Files/Adobe/Flash Media Server 4/conf, under <Server> tag add <Registry enabled="true" /> to enable registry core. Configure the SIP phone and gateway sip.xml contains the default entries for the following: • Two SIP phones • One SIP gateway Specify the IP address/host name of the SIP client phones or the SIP gateway in the <remoteSipHost> tag of sip.xml. Ensure that the user name/password is correct. For all other settings, see the comments in sip.xml. Note: Restart FMG to enforce the changes made in the configuration files. Making VoIP calls using sample telephony applications FMG includes sample telephony applications to test the installation with simple use cases. To make VoIP calls using the sample applications, do the following: • Deploy the sample telephony applications in the FMS application folder. • Ensure that FMS and FMG are running. (Confirm from Windows > Control Panel> Administrative Tools > Services.) Sign in using sample Flash phone 1 On the machine running the FMS, open the sample Flash phone file, $(FMS-Install-Folder}applica- tionstelephonyFlashPhoneflashPhone.html. 2 Do one of the following: • If the file is open on the same machine as the one running the FMS, the default entries don’t require any modifi- cations. Click Connect to view the next screen. • If the file is open on a machine other than the one running the FMS, replace localhost with the FMS hostname in the server URL field. The sample application assigns phone numbers sequentially (such as 1000, 1001, and 1002). This phone number is displayed at the top-left corner of the telephone screen. Note: A unique phone number is assigned to a Flash phone at each successful sign in. Make calls using the sample Flash phone Basic: Telephony samples 1 Dial 8888 to listen to a continuous music playback from FMG. 2 Dial 9999 to record your voice. During the call, press # to stop recording and listen to the recorded voice.
  • 5. ADOBE FLASH MEDIA GATEWAY 2.0 3 Quick Start Guide 3 Open another flashPhone.html on the same or a different machine in the Local Area Network and sign in after modifying the RTMP URL (if FMS isn’t present on the localhost: rtmp://<fms-machine-hostName-or- IPAddress>/telephony/). 4 Dial the 1xxx series number of the previously opened phone and press the Call button. 5 Wait for the ring. Accept the call when the receiver phone displays the incoming call. 6 Start the conversation and hang up when the conversation is complete. Note: On dialing any other number, FMG routes the call to the SIP interface per the default SIP profile defined in sip.xml and workflow.xml. Advance: Call to SIP soft phones and video conferencing devices 1 Configure a SIP soft phone as described in Configure the SIP phone and gateway. 2 After the SIP phone is connected to FMG per the above settings, dial 777 or 888 from the Flash phone. The call is routed to the corresponding SIP phone. 3 Once you have hands on experience of placing audio calls using FMG; configure FMG to place calls to a video conference endpoint using following steps. a In FMG configuration file conf/sip.xml; locate profile 'sipVideoPhone'. Update <remoteSipHost> tag with the IPaddress of SIP video device. b By default FMG is configured to call user '999' on the SIP video device configured in 'step a.' If your SIP device doesn't accept call to arbitrary username; you may choose to configure FMG to call desired user on your SIP video device using following steps. i Locate tag conf/workflow.xml and open for edit. ii Locate <Context name="rtmp"> in the workflow.xml; under this tag locate the handling for dialed number '999'; and replace ${destNum} with <valid_userName_on_SIP_device> . This will configure FMG to route calls to the configured user at your SIPvideo endpoint whenever '999' is dialed from the 'Sample Flash Phone'. Restart FMG. 4 Now, use the separately provided Sample FlashPhone.swf with video display to connect in the same manner as was done to make audio calls using flashphone.html. 5 Dial number "999" to place call on your video device. Upon call answer, the Flashphone will display the remote video.The video stream being shown on Flashphone stays available for web distribution on FMS for complete duration of the call. Advanced: Call to external numbers using a SIP gateway This requires a SIP account with an external SIP server. FMG can use such accounts to route calls from RTMP/SIP to any valid number through an external SIP server. 1 Open $(FMG-Install-Folder}/conf/sip.xml and modify the default entry for SIP server, as described in the XML comments. 2 Restart FMG from Windows > Control Panel > Administrative Tools > Services. 3 On the FMS host, restart/open a new instance of flashPhone.html, and log in as described in Sign in using sample Flash phone. 4 Dial any number provided in the external SIP gateway to make a VoIP call that is routed through an external SIP server.
  • 6. ADOBE FLASH MEDIA GATEWAY 2.0 4 Quick Start Guide See Also Note: All paths displayed in this section are the default installation paths. For FMG Telephony Leg Service API reference and usage instructions, see C:program filesAdobeFlash Media GatewaydocsFMG Leg Service API.pdf. For information on configuring FMG, see C:program filesAdobeFlash Media GatewaydocsFMG Installation and Configuration.pdf. For FMG Control Service API reference, see C:program filesAdobeFlash Media GatewaydocsFMG Control Service API.pdf. For working samples with source code, see C:program filesAdobeFlash Media GatewayFMSApplications. For SSAS Telephony Library files that can be reused, see C:program filesAdobeFlash Media GatewayFMSAppli- cationstelephonyTelephonyLib.