Hi,
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!
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"/>
</Condition>
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.
North America
Europe, Middle East and Africa
Asia Pacific