[Freeswitch-users] route inbound - based on sip account

Meftah Tayeb tayeb.meftah at gmail.com
Wed Mar 2 12:42:27 MSK 2011


please try providing a siptrace
sofia global siptrace on
Le 01/03/2011 20:16, Andreas Tuerpe a écrit :
> Hallo FreeSWITCH Users,
>
> I use FS V.0.9.6 on pfSense
> see on ->  [http://doc.pfsense.org/index.php/FreeSWITCH]
>
> Symptom:
> German ISP "Portunity" forward inbound calls without any destination_number.
>
>
> ISP solution tip:
> FS to register over a second sip account to the provider twice.
> Any account has a separate number.
> Based on the channel over which the call come in, I have to decide which
> number is called.
>
> So I need help, which condition assignment must use - howto ???
> - which fields can I use?
> - which syntax I have to use?
>
>
> <!--  here my intention ... ???
>
>     <extension name="test_did">
>       <condition field="channel over which the call come in"
> expression="sip-account-1">
>         <action application="set" data="called_number=111111"/>
>         <action application="transfer" data="1001 XML default"/>
>       <condition field="channel over which the call come in"
> expression="sip-account-2">
>         <action application="set" data="called_number=222222"/>
>         <action application="transfer" data="1002 XML default"/>
>       </condition>
>     </extension>
>
> ??? -->
>
> thanks in advance
>     tuerpean
>
>
> _______________________________________________
> 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
>    


-- 
Meftah Tayeb
inum: +883510001288000
phone: +13477595883




More information about the FreeSWITCH-users mailing list