<html><head><base href="x-msg://718/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><div dir="ltr"><div><div>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?</div></div></div></div></span></blockquote><div><br></div><div>Can't you find another provider with no such ... limitations ?</div><div><br></div>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).</div><div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><div dir="ltr"><div>2- I need to send P-Preferred-Identity&lt;<a href="sip:xxxxxxxxx@domain.com">sip:xxxxxxxxx@domain.com</a>&gt; in SIP header for each Trunk while dialing out to provider. Please help how to configure this.</div><div><br></div></div></div></span></blockquote>bridge {sip_cid_type=none,sip_h_P-Preferred-Identity=XXXXXXX}sofia/..... &nbsp;-&gt; I am sure of this one</div><div>or</div><div>bridge {sip_cid_type=pid}sofia/.... -&gt; never tested</div><div><br><blockquote type="cite"><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><div dir="ltr"><div>Thanks in Advance.</div><div><br></div><div>Rgrds</div><div>-----------</div><div>Abid Saleem</div><div>Technical Manager NGN</div><div>Terminus Technologies</div></div>_______________________________________________<br>Join us at ClueCon 2011, Aug 9-11, Chicago<br><a href="http://www.cluecon.com">http://www.cluecon.com</a><span class="Apple-converted-space">&nbsp;</span>877-7-4ACLUE<br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div></blockquote></div><br></body></html>