Jolly M. Recto
2006-Jan-31 05:03 UTC
[Asterisk-Users] Individual SIP account how to make it Trunk
Hi, i have diffirent provider example(3 single account in deltathree, 4 account in packet8 and so on) . How this possible to make the three individual sip account in deltathree act as trunk so that i cannot get a busy call. If line one fail goto line 2 then line 3 or another trunk line 1 then line 2 then line3....I read it in asterisk at home but the script i am copying is not working . any help is very much appreciated.. TIA //jollyr
Ronald Wiplinger
2006-Jan-31 05:22 UTC
[Asterisk-Users] Individual SIP account how to make it Trunk
Jolly M. Recto wrote:> Hi, > > i have diffirent provider example(3 single account in deltathree, 4 > account in packet8 and so on) . How this possible to make the three > individual sip account in deltathree act as trunk so that i cannot get > a busy call. If line one fail goto line 2 then line 3 or another trunk > line 1 then line 2 then line3....I read it in asterisk at home but the > script i am copying is not working . >Have you had a look at GetGroupMatchCount? http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+GetGroupMatchCount and from page http://www.voip-info.org/wiki/view/Asterisk+cmd+SetGroup is the example below: Example 7 Using Categories in 1.2.x (Ramon's example) Using categories you are able to set multiple groups on only one active channel. So you are able to set the amount of calls on the called channel but also on the calling channel. exten => 200,1,Set(GROUP(${EXTEN})=OUTBOUND_GROUP) ; Increase number of calls on the called channel exten => 200,n,GotoIf($[${GROUP_COUNT(OUTBOUND_GROUP@${EXTEN})} > 1]?BLOCK) ; Check if called channel has more than 1 call. exten => 200,n,Set(GROUP(${CALLERIDNUM})=OUNTBOUND_GROUP) ; Increase number of calls on the calling channel exten => 200,n,Dial(SIP/200) ; Call the extension exten => 200,n(BLOCK),Busy ; GotoIf jumped here if the was more than 1 call using labels
Dovid Bender
2006-Jan-31 10:58 UTC
[Asterisk-Users] Individual SIP account how to make it Trunk
Not sure if this will help but for multiple reasons we send all calls thru astcc. In astcc you specify what route you want it to use. If a route isnt available then it tries the next one you specified and so on. --- "Jolly M. Recto" <jollyr@itextron.com> wrote:> Hi, > > i have diffirent provider example(3 single account > in deltathree, 4 > account in packet8 and so on) . How this possible > to make the three > individual sip account in deltathree act as trunk so > that i cannot get a > busy call. If line one fail goto line 2 then line 3 > or another trunk > line 1 then line 2 then line3....I read it in > asterisk at home but the > script i am copying is not working . > > any help is very much appreciated.. > TIA > > //jollyr > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com > -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > >http://lists.digium.com/mailman/listinfo/asterisk-users>__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Rajeev Natarajan
2006-Jan-31 23:47 UTC
[Asterisk-Users] Individual SIP account how to make it Trunk
Have you tried using the Trunk Sequence AMP --> Setup --> Outbound Routing Seems to work for us! Rajeev -- Chief Technology Officer Gyantec Consulting (I) Pvt. Ltd. Chennai, INDIA Phone: +91-44-4205-4446 Mob : +91-944-407-2925 Fax : +91-44-4205-4546 VoIP : +1-360-519-5969 Dovid Bender wrote:> Not sure if this will help but for multiple reasons we > send all calls thru astcc. In astcc you specify what > route you want it to use. If a route isnt available > then it tries the next one you specified and so on. > > --- "Jolly M. Recto" <jollyr@itextron.com> wrote: > > >>Hi, >> >>i have diffirent provider example(3 single account >>in deltathree, 4 >>account in packet8 and so on) . How this possible >>to make the three >>individual sip account in deltathree act as trunk so >>that i cannot get a >>busy call. If line one fail goto line 2 then line 3 >>or another trunk >>line 1 then line 2 then line3....I read it in >>asterisk at home but the >>script i am copying is not working . >> >>any help is very much appreciated.. >>TIA >> >>//jollyr >>_______________________________________________ >>--Bandwidth and Colocation provided by Easynews.com >>-- >> >>Asterisk-Users mailing list >>To UNSUBSCRIBE or update options visit: >> >> > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >