Talk:Connecting Freeswitch and Asterisk

From FreeSWITCH Wiki
Jump to: navigation, search

I followed the configuration connecting Freeswitch to Asterisk.

I could call from FS to Asterisk, but not the other way around.

Then I added to ${FREESWITCH_HOME}/conf/dialplan/public.xml  :

 <extension name="asterisk_did">
     <condition field="destination_number" expression="^(20[01][0-9])$">
     <action application="transfer" data="$1 XML default"/>

(The numbers in my FS start with 2000, 2001,etc)

Then I could call from Asterisk to FS.