Using your code with the variables causes freeswitch on my gateway to crash. If I replace the variables with hard coded number and ip it doesn't crash but I get the error below. 2012-09-07 11:37:41.036394 [NOTICE] switch_ivr_originate.c:2554 Cannot create outgoing channel of type [user] cause: [EXCHANGE_ROUT ING_ERROR] Thanks, Matt Putnam matt.putnam@lightspar.com -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Paul Cupis Sent: Friday, September 07, 2012 11:04 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Registering SIP Trunks to Freeswitch On Fri, Sep 07, 2012 at 09:50:45AM -0500, Matt Putnam wrote:
Thanks for the response Michael. Below is my code that I have been using in my directory the problem is that when the call is placed to the user they see the call as coming from lightspar1 not 9725551212.
I'm not suggesting that this is necessarily the "correct" way to implement what you are trying to setup, but you may find that this works for this specific scenario: <action application="bridge" data="{sip_invite_req_uri=sip:${destination_number}@${domain}}user/lightspar1@${domain}"/> Regards, _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2197 / Virus Database: 2437/5254 - Release Date: 09/07/12