It's rather simple
- Setup a sip user on asterisk with username/password
- Setup a gateway in freeswitch with the asterisk user credentials (ip,
username, password of asterisk)
- Define a route in the dialplan (e.g. default.xml) to route certain
numbers to the asterisk gateway
e.g.
<extension name="Long Distance -Asterisk">
<condition field="destination_number" expression="^(0[2-9]\d{4,13})$">
<action application="set" data="effective_caller_id_number="/>
<action application="export" data="sip_secure_media=true"/>
<action application="bridge"
data="sofia/gateway/asterisk/[EMAIL PROTECTED]"/>
</condition>
</extension>You should already be able to make outgoing calls via asterisk. Best regards Peter sambasivarao Vemula schrieb: > > > > Hi, > > Any body tried with Trunkig between freeswitch and asterisk . > > If any body tried and its working fine . > > Please share the details. > > Regards > > Samba > > > > > > DISCLAIMER ========== This e-mail may contain privileged and > confidential information which is the property of Persistent Systems > Ltd. It is intended only for the use of the individual or entity to > which it is addressed. If you are not the intended recipient, you are > not authorized to read, retain, copy, print, distribute or use this > message. If you have received this communication in error, please > notify the sender and delete all copies of this message. Persistent > Systems Ltd. does not accept any liability for virus infected mails. > > ------------------------------------------------------------------------ > > _______________________________________________ > Freeswitch-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
