<div dir="ltr"><div>Hi Abid.. see inline.</div><div><br></div>On Wed, Jun 29, 2011 at 4:59 PM, Abid Saleem <<a href="mailto:abid_freeswitch@live.com">abid_freeswitch@live.com</a>> wrote:<br>> Hi All,<br>> Please help me the following 2 issues.<br>
><br>> 1- I have 100 Trunks from my SIP Provider. My provider restricts me to send<br>> only 120 minutes call duration per Trunk per each day. This means around 30<br>> calls per Trunk per day with an ACD of 3 minutes. Please help me how to<br>
> configure this if it is possible?<br><br>You can use: <a href="http://wiki.freeswitch.org/wiki/Mod_distributor">http://wiki.freeswitch.org/wiki/Mod_distributor</a><br><br>OR, a more precise way.. scrape your CDRs and then query them before making calls.<br>
Or, have a lua script that picks a random one from the list that a cron updates every 30 minutes to use slightly less resources.<br><br>> 2- I need to send P-Preferred-Identity<<a href="mailto:sip%3Axxxxxxxxx@domain.com">sip:xxxxxxxxx@domain.com</a>> in SIP<br>
> header for each Trunk while dialing out to provider. Please help how to<br>> configure this.<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://wiki.freeswitch.org/wiki/Variable_sip_cid_type">http://wiki.freeswitch.org/wiki/Variable_sip_cid_type</a> has some info on using PID.</div>
<div>You can use "sofia profile external siptrace on" to see your SIP messages from FS to debug.</div><div><br></div><div>-Avi</div></div>