[Freeswitch-users] Anybody tried with Trunk between asterisk and freeswitch...?

Peter P GMX Prometheus001 at gmx.net
Thu Nov 6 06:23:52 PST 2008

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
<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/$1 at asterisk.domain"/>

You should already be able to make outgoing calls via asterisk.

Best regards

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
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

More information about the FreeSWITCH-users mailing list