Skip navigation
Currently Being Moderated

Interfaceing Flash Media Gateway With Asterisks PBX

Feb 8, 2012 5:01 AM

Tags: #flash #media #gateway #sip #asterisk



I have successfully installed and configured Flash media gateway! I have tested the sample Flash Phone provided with the product. Both Flash media gateway and Asterisks are on the same Linux server!

Now the problem is i am unable to get Asterisks work with FMG. The scenario is:


A short code will be dialed from the web interface, now this request needs to be handled in Asterisk Extension instead of FMG's own workflow.xml !


How should i configure FMG? Please help me asap!

  • Currently Being Moderated
    Feb 8, 2012 5:38 AM   in reply to Vectracom

    Can you please elaborate with examples of number/short-code you want to dial using FMG?

    Mark as:
  • Currently Being Moderated
    Feb 8, 2012 6:51 AM   in reply to Vectracom

    1) In workflow.xml findout rtmp context node i.e. <Context name="rtmp">

    2) Put following entry within rtmp Node (as first child);


        <Condition variable="destNum" value="^9595$">

            <AppNode sequence="1" app="bridge" args="sip|${destNum}@sipGateway"/>

            <AppNode sequence="2" app="hangup" args="null"/>



    3) Ensure that sipGateway (as in above entry); points to your asterisk server & defined in sip.xml.


    Alternatively, you can use <Condition variable="destNum" value="^.*$"> instead to forward all numbers to asterisk. 

    This entry already exists in default workflow.xml; these conditions are matched sequentially and first match is executed. You need to ensure that the condition you intend to match does get a chance. Once you attempt a call, Core00.log will provide info to help you understand, which condition is getting matched.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points