[Freeswitch-users] Load Balance Trunks

Michael Collins msc at freeswitch.org
Fri Jul 1 20:09:38 MSD 2011


How does the provider notify you that each trunk has used its allotted time?
-MC

On Fri, Jul 1, 2011 at 8:54 AM, Abid Saleem <abid_freeswitch at live.com>wrote:

>  Dear David,
>
> Thanks for answer. This is the only provider choice I have. Also I am not
> good at programming, so can you help me writing such a script that can do
> this please.
>
>
>
> ------------------------------
> From: david.ponzone at ipeva.fr
> Date: Wed, 29 Jun 2011 17:41:41 +0200
> To: freeswitch-users at lists.freeswitch.org
> Subject: Re: [Freeswitch-users] Load Balance Trunks
>
> 1- I have 100 Trunks from my SIP Provider. My provider restricts me to send
> only 120 minutes call duration per Trunk per each day. This means around 30
> calls per Trunk per day with an ACD of 3 minutes. Please help me how to
> configure this if it is possible?
>
>
> Can't you find another provider with no such ... limitations ?
>
> You can do what Avi told you, or you can write your own piece of LUA script
> which would check in a DB which trunk to use, and then would bridge using
> this trunk, and will update the DB after hangup to add the call duration of
> the last call to the total amount for trunk X and current day (that would
> have to be done with the hangup_hook thingy, probably).
>
> 2- I need to send P-Preferred-Identity<sip:xxxxxxxxx at domain.com> in SIP
> header for each Trunk while dialing out to provider. Please help how to
> configure this.
>
> bridge {sip_cid_type=none,sip_h_P-Preferred-Identity=XXXXXXX}sofia/.....
>  -> I am sure of this one
> or
> bridge {sip_cid_type=pid}sofia/.... -> never tested
>
> Thanks in Advance.
>
> Rgrds
> -----------
> Abid Saleem
> Technical Manager NGN
> Terminus Technologies
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> 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
>
>
>
> _______________________________________________ Join us at ClueCon 2011,
> Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE 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
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> 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/20110701/c14a6577/attachment-0001.html 


More information about the FreeSWITCH-users mailing list