- Lab Server.
- -----------
- sip.conf:
- [trunk]
- type=friend
- allow=all
- context=from-trunk
- host=192.168.2.77
- dtmfmode=rfc2833
- extensions.conf
- [phones]
- exten => _3XXX,1,Dial(SIP/${EXTEN}@trunk)
- [from-trunk]
- exten => _[12]XXX,1,Goto(phones,${EXTEN},1)
- Other server.
- sip.conf:
- [trunk]
- type=friend
- allow=all
- context=from-trunk
- host=192.168.2.118
- dtmfmode=rfc2833
- extensions.conf
- [phones]
- exten => _[12]XXX,1,Dial(SIP/${EXTEN}@trunk)
- [from-trunk]
- exten => _3XXX,1,Goto(phones,${EXTEN},1)
Raw Paste