[Freeswitch-users] Registering SIP Trunks to Freeswitch

Matt Putnam matt.putnam at lightspar.com
Fri Sep 7 20:52:06 MSD 2012


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 at lightspar.com

-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at 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 at freeswitch.org
http://www.freeswitchsolutions.com

 

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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

-----
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



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list