Page 1 of 1

Separate SIP trunk for agents

PostPosted: Fri Jul 18, 2008 2:34 am
by ciacho
Hi,


Is it possible to configure extensions.conf / sip.conf / iax.conf so that each agent was assigned a separate sip provider account (only outband)?
Agents use softphones (IAX2). Autodialer is on.
Is it possible to set an additional pool sip provider accounts for autodialer?

PostPosted: Fri Jul 18, 2008 7:46 am
by mflorell
Yes, you could do that, but it would not be the easiest configuration to set up or maintain.

PostPosted: Mon Jul 21, 2008 3:16 am
by ciacho
Thanks for answer,

If it is difficult to setup, maybe easier is make a pool of sip providers account and use it in the circle? But how can I do this?

PostPosted: Mon Jul 21, 2008 7:09 am
by mflorell
The only way I can think of to do that without too much effort is to use a different carrier for each of the last digits of the phone number being dialed. Something like this:

exten => _91NXXNXXXXX0,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXX0,2,Dial(${TRUNKA}/${EXTEN:1},,To)
exten => _91NXXNXXXXX0,3,Hangup

exten => _91NXXNXXXXX1,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXX1,2,Dial(${TRUNKB}/${EXTEN:1},,To)
exten => _91NXXNXXXXX1,3,Hangup

exten => _91NXXNXXXXX2,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXX2,2,Dial(${TRUNKC}/${EXTEN:1},,To)
exten => _91NXXNXXXXX2,3,Hangup

etc...

PostPosted: Tue Jul 22, 2008 2:47 am
by ciacho
Matt, thank You for good and simple solution.

I've another question:

Is it possible to restrict (exclude) outgoing calls made by hand (for example, through Zoiper) by all agents?

I am thinking of making connections to allow only through an ASTguiclient panel.

PostPosted: Tue Jul 22, 2008 3:47 am
by Op3r
Yes you can do that.

You can configure what context of the extensions.conf the sip or iax account of the agents can access.