[Freeswitch-users] Easy question, I hope just need to proxy port 5060 to 5080

David Ponzone david.ponzone at ipeva.fr
Thu Aug 26 00:59:44 PDT 2010


Sure it will work, it's basically the same.
My idea was just to have a specific file with only the specific  
dialplan for each direction.
But if he never needs to add anything in the dialplan, it's perhaps  
overkill.

David Ponzone  Direction Technique
email: david.ponzone at ipeva.fr
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26
www.ipeva.fr  -   www.ipeva-studio.com

Ce message et toutes les pièces jointes sont confidentiels et établis  
à l'intention exclusive de ses destinataires. Toute utilisation ou  
diffusion non autorisée est interdite. Tout message électronique est  
susceptible d'altération. IPeva décline toute responsabilité au titre  
de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes  
pas destinataire de ce message, merci de le détruire immédiatement et  
d'avertir l'expéditeur.




Le 26/08/2010 à 07:49, jesse a écrit :

> I feel Michael's idea should also work:  If call is from X.X.X.X, then
> bridge the call with the same
> destination_number ($1) to sipxecs gateway.
>
> <extension name="from_provider">
>    <condition field="network_addr" expression="X.X.X.X"/>
>    <condition field="destination_number" expression="^(.*)$">
>      <action application="bridge" data="sofia/gateway/sipxecs/$1"/>
>    </condition>
>  </extension>
>
>
> On Wed, Aug 25, 2010 at 4:33 PM, David Ponzone  
> <david.ponzone at ipeva.fr> wrote:
>> It is right.
>> You just transfer to another dialplan (context) in order to make it  
>> more
>> readable.
>> You'll be able to add all your rules in the provider context,  
>> because only
>> calls coming from provider X.X.X.X will go into this dialplan.
>> Remember: extension name has absolutely NO importance in FS. It's  
>> just a
>> label.
>> So to sum it all:
>> if call from X.X.X.X, transfer to context provider, with the same
>> destination_number ($1).
>> In context provider, if destination_number is XXX, then bridge the  
>> call to
>> sipxecs.
>> David Ponzone  Direction Technique
>> email: david.ponzone at ipeva.fr
>> tel:      01 74 03 18 97
>> gsm:   06 66 98 76 34
>> Service Client IPeva
>> tel:      0811 46 26 26
>> www.ipeva.fr  -   www.ipeva-studio.com
>> Ce message et toutes les pièces jointes sont confidentiels et  
>> établis à
>> l'intention exclusive de ses destinataires. Toute utilisation ou  
>> diffusion
>> non autorisée est interdite. Tout message électronique est  
>> susceptible
>> d'altération. IPeva décline toute responsabilité au titre de ce  
>> message s'il
>> a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire  
>> de ce
>> message, merci de le détruire immédiatement et d'avertir  
>> l'expéditeur.
>>
>>
>>
>> Le 25/08/2010 à 22:46, Michael Scheidell a écrit :
>>
>> this doesn't 'feel' right:
>>
>> On 8/25/10 3:17 PM, Michael Scheidell wrote:
>>
>>   <extension name="from_provider">
>>     <condition field="network_addr" expression="X.X.X.X"/>
>>     <condition field="destination_number" expression="^(.*)$">
>>       <action application="transfer" data="$1 XML provider"/>
>>     </condition>
>>   </extension>
>>
>> if its FROM _provider, shouldn't you transfer to $1 XML sipxecs?
>>
>> and you are using 'transfer' and not 'bridge', right?
>>
>> --
>> Michael Scheidell, CTO
>> o: 561-999-5000
>> d: 561-948-2259
>> ISN: 1259*1300
>>>  | SECNAP Network Security Corporation
>>
>> Certified SNORT Integrator
>> 2008-9 Hot Company Award Winner, World Executive Alliance
>> Five-Star Partner Program 2009, VARBusiness
>> Best in Email Security,2010: Network Products Guide
>> King of Spam Filters, SC Magazine 2008
>>
>> ________________________________
>>
>> This email has been scanned and certified safe by SpammerTrap®.
>> For Information please see http://www.secnap.com/products/ 
>> spammertrap/
>>
>> ________________________________
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100826/8cd7b2fb/attachment.html 


More information about the FreeSWITCH-users mailing list