Re: Привязать ext к транку
sip.conf:
[240]
type=friend
host=dynamic
username=240
context=for-240
canreinvate=no
[241]
type=friend
host=dynamic
username=241
context=for-241
canreinvate=no
[TRUNK1]
type=peer
host=10.11.12.13
[TRUNK2]
type=peer
host=10.11.12.14
extensions.conf:
[for-240]
exten => _X.,1,Dial(SIP/TRUNK1)
[for-241]
exten => _X.,1,Dial(SIP/TRUNK2)
|