A
A
Alexander Gess2014-11-17 21:16:48
Asterisk
Alexander Gess, 2014-11-17 21:16:48

How to configure asterisk for subscribers to use their trunks?

Good day to all. I set it up correctly, but it does not work as it should.
Task: during an outgoing call, each call from the subscriber group log should go to its trunk and make a call. Actually the problem is that all calls must be made transparently (ie without a set of additional prefixes).
Given:

  • 4 trunks (respectively 4 numbers behind them)
  • 4 logical groups
  • asterisk with freePBX
u06yrDn5ta-JVIJ2HDJQBukVoMXQq8eZIhS7G4fG
One of the solutions I configure Outgoing routes for each trunk. What with a dot (any typed), what without it - the route does not seem to work.
vILj_ZElQozmtQHSETA759XLHxo_d_dtyAiOM6uZ
Tell me what can be done to ensure transparent dialing for everyone ?? What other ways are there to provide the service?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lobodesov, 2014-11-27
@lobodesov

exten => _[27]XXXXXX/202,1,NoOp(${EXTEN})
exten => _[27]XXXXXX/202,n,Set(CDR(clid)=alfa)
exten => _[27]XXXXXX /202,n,Dial(SIP/8351${EXTEN}@7298626)
exten => _7351[27]XXXXXX/202,n,Dial(SIP/8${EXTEN:1}@7298626)
exten => _7800XXXXXXX/202 ,n,Dial(SIP/8${EXTEN:1}@7298626)
exten => _8351[27]XXXXXX/202,n,Dial(SIP/${EXTEN}@7298626)
exten => _8800XXXXXXX/202,n, Dial(SIP/${EXTEN}@7298626)
exten => _[27]XXXXXX/200,1,NoOp(${EXTEN})
exten => _[27]XXXXXX/200,n,Set(CDR(clid) =alfa)
exten => _[27]XXXXXX/200,n,Dial(SIP/8351${EXTEN}@7298626)
exten => _7351[27]XXXXXX/200,n,Dial(SIP/8${EXTEN: 1}@7298626)
exten => _7800XXXXXXX/200,n,Dial(SIP/8${EXTEN:1}@7298626)
exten => _8351[27]XXXXXX/200,n,Dial(SIP/${EXTEN}@7298626)
exten => _8800XXXXXXX/200,n,Dial(SIP/${EXTEN}@7298626)
That's where 7298626 is the name any trunk
Everything is done in ex_com.cof

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question