I am wondering if there is a way to create a SIP/IAX group of outgoing
lines like Zap groups.
I am currently using the following method, but would like to use
features such as ?g2? that would list all the accounts for a SIP or IAX
connection.
exten =>
_1NXXNXXXXXX,1,Dial(SIP/account_name:Password@gw5.voicepulse.com/${EXTEN
})
exten =>
_1NXXNXXXXXX,102,Dial(IAX2/account_name:Password@gwiaxt02.voicepulse.com
/${EXTEN})
exten => _1NXXNXXXXXX,2,Congestion
Thanks.
Tim.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20041106/c7408c88/attachment.htm
Would this be a correct statement to do?
exten =>
_1NXXNXXXXXX,1,Dial(IAX2/first_account_name:first_Password@gwiaxt02.voic
epulse.com/${EXTEN})
exten =>
_1NXXNXXXXXX,102,Dial(IAX2/2nd_account_name:2nd_Password@gwiaxt02.voicep
ulse.com/${EXTEN})
exten =>
_1NXXNXXXXXX,204,Dial(IAX2/3rd_account_name:3rd_Password@gwiaxt02.voicep
ulse.com/${EXTEN})
exten =>
_1NXXNXXXXXX,306,Dial(IAX2/4th_account_name:4th_Password@gwiaxt02.voicep
ulse.com/${EXTEN})
etc.
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Franceen
Thompson
Sent: Saturday, November 06, 2004 8:23 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] SIP Groups
I am wondering if there is a way to create a SIP/IAX group of outgoing
lines like Zap groups.
I am currently using the following method, but would like to use
features such as ?g2? that would list all the accounts for a SIP or IAX
connection.
exten =>
_1NXXNXXXXXX,1,Dial(SIP/account_name:Password@gw5.voicepulse.com/${EXTEN
})
exten =>
_1NXXNXXXXXX,102,Dial(IAX2/account_name:Password@gwiaxt02.voicepulse.com
/${EXTEN})
exten => _1NXXNXXXXXX,2,Congestion
Thanks.
Tim.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20041107/09353aaf/attachment.htm
I have 5 broadvoice accounts and have set up some database gets/puts to determine of the account is in use when someone needs to make an outbound call. I have tried adding "group=6" in sip.conf and then dial(sip/G6) in extensions.conf to no avail. Should the group declaration work in sip.conf? Tracy Peek tracyp@sufcu.com
Tracy Peek wrote:> I have 5 broadvoice accounts and have set up some database gets/puts to > determine of the account is in use when someone needs to make an > outbound call. I have tried adding "group=6" in sip.conf and then > dial(sip/G6) in extensions.conf to no avail. Should the group > declaration work in sip.conf?No. For -HEAD, use: ${GROUP_COUNT()} and Set(GROUP()) Example: GotoIf($[ ${GROUP_COUNT(g1)} > 22 ]?g2) Set(GROUP()=g1) NoOp(${GROUP_COUNT(g1)}) Otherwise, I think it corresponds to CheckGroup and SetGroup. Kevin
Hi, In the Zap Channel Module's configuration file (zapata.conf<http://www.voip-info.org/wiki/index.php?page=Asterisk+config+zapata.conf>), you can define groups of Zap channels that get treated as a single channel as far as the Dial<http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Dial>command is concerned. I want to know if it's possible to do same thing with SIP channels. Because I have found some not too clear information about itr, and I think I need queues and agents.... Thanks in advance! -- Mar?a -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060213/64a62329/attachment.htm
In article <43F052C3.1080408@edvina.net>, oej@edvina.net says...> You can not define groups in sip.conf > > But there are, as you hint, other ways to solve the problem, like using > queues or implementing it in dialplan logic.Do you have any example how to do that? -- Tomislav Parcina name.surname@email.t-com.hr