Answer the question
In order to leave comments, you need to log in
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:
Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question