[Freeswitch-users] From domain

Alex Gusak alex.gusak at gmail.com
Thu Jul 24 07:12:37 PDT 2008


2008/7/24 Brian West <brian at freeswitch.org>:
> Show us your bridge line .. how you call the gateway.
>
>

You want to see dialplan or channel vars?

Dialplan looks like this:

<context name="from_gw1">
<extension name="GW2">
<condition field="destination_number" expression="^(.*)$">
<action application="set" data="dialed_ext=$1"/>
<action application="set" data="call_timeout=30"/>
<action application="ring_ready"/>
<action application="set" data="ringback=%(2000, 4000, 440.0, 480.0)"/>
<action application="set"
data="continue_on_fail=NORMAL_CLEARING,NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER"/>
<action application="bridge" data="sofia/profile1/$1 at domain.net"/>
<action application="gentones"
data="%(274,0,913.8);%(274,0,1370.6);%(380,0,1776.7)"/>
<action application="sleep" data="1300"/>
<action application="gentones"
data="%(274,0,913.8);%(274,0,1370.6);%(380,0,1776.7)"/>
<action application="sleep" data="1300"/>
<action application="hangup"/>
</condition>
</extension>
</context>






> On Jul 24, 2008, at 8:46 AM, Alex Gusak wrote:
>
>>
>> How to make that pass in the header From: the domain name domain.net?
>
> Brian West
> sip:brian at freeswitch.org
>
>
>
>
> _______________________________________________
> 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
>



-- 
Alex Gusak




More information about the FreeSWITCH-users mailing list