[Freeswitch-users] tricky bridge

Brian West brian at freeswitch.org
Wed Sep 3 16:13:28 PDT 2008


This is in the default config that does exactly that:

     <extension name="ruri">
       <condition field="destination_number" expression="^ruri$">
         <action application="bridge" data="sofia/${ruri_profile}/$ 
{ruri_user}${regex(${sofia_contact(${ruri_contact})}|^[^\@]+(.*)|%1)}"/>
       </condition>
     </extension>

     <extension name="7004">
       <condition field="destination_number" expression="^7004$">
         <action application="set" data="ruri_profile=default"/>
         <action application="set" data="ruri_user=2000"/>
         <action application="set" data="ruri_contact=1001@$${domain}"/>
         <action application="execute_extension" data="ruri"/>
       </condition>
     </extension>





On Sep 3, 2008, at 6:05 PM, Tamas wrote:

> Hello,
>
> I have a sip pbx registered to FS. How can I send to that registered
> user call with defined called number?
> Example:
> I set userA with userApwd in directory. userA is registered to FS. I
> would like to dial number 1234 through that registration.
> How should the bridge data look like?
>
> Thanks in advance,
>    Tamas
>
> _______________________________________________
> 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

Brian West
sip:brian at freeswitch.org










More information about the FreeSWITCH-users mailing list