From: david.ponzone@ipeva.fr
Date: Wed, 29 Jun 2011 17:41:41 +0200
To: freeswitch-users@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@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
_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org