Edmar Cruz <darklion11@yahoo.com> wrote:
This is my dialpla/public/00_test.xml <condition field="destination_number" expression="^(\d+)$">
Where's your <extension name="test_extension"> tag to open the extension element and give it a name?
<action application="set" data="gate_site_id=1"/> <action application="set" data="effective_caller_id_name=${effective_caller_id_name}"/> <action application="set" data="effective_caller_id_number=${effective_caller_id_number}"/>
The above two lines won't do anything - you're setting the variables to values that they already have.
<action application="bridge" data="sofia/default/$1@116.45.15.10"/>
You now need to close the elements: </condition> </extension>
Actually am connecting Freeswitch and Asterisks
Do you think the issue is the codec?
No. I've explained this already: the issue in the log that you provided is a failure of FreeSWITCH to match your dial plan extension.