====== SIP Trunk ====== ===== Server A ===== [serverA] type = peer host = 192.168.1.101 username = serverB secret = apples context = incoming disallow = all allow = alaw exten => _5XXX,1,Dial(SIP/${EXTEN}@serverA) ===== Server B ===== [serverB] type = peer host = 192.168.1.102 username = serverA secret = apples context = incoming disallow = all allow = alaw exten => _6XXX,1,Dial(SIP/${EXTEN}@serverB) ===== Trunk s registrací ===== [general] ... register => username:password@your.provider.tld ... [myprovider] type = peer host = your.provider.tld username = username secret = password ; Most providers won't authenticate when they send calls to you, ; so you need this line to just accept their calls. insecure = invite dtmfmode = rfc2833 disallow = all allow = alaw exten => _XXXXXXXXX,1,Dial(SIP/${EXTEN}@myprovider) ===== Šifrování hovorů (SIP TLS, SRTP) ===== FIXME str.150