Dieses Config Snippet zeigt, wie ein Patton SmartNode mit Trinity-Firmware korrekt an einem DeutschlandLAN SIP-Trunk der Deutschen Telekom betrieben wird:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
profile voip TELEKOM codec 1 g711alaw64k rx-length 20 tx-length 20 dtmf-relay rtp context cs SWITCH interface sip IF_SIP_TELEKOM bind context sip-gateway GW_SIP_WAN route call dest-table RT_FROM_WAN remote reg.sip-trunk.telekom.de early-disconnect privacy address-translation outgoing-call to-header user-part call host-part fix sip-trunk.telekom.de address-translation outgoing-call request-uri user-part call host-part fix sip-trunk.telekom.de target-param none address-translation outgoing-call identity-header user-part call e164 single-primary host-part fix sip-trunk.telekom.de address-translation incoming-call calling-e164 from-header address-translation incoming-call called-e164 p-called-party-id use profile voip TELEKOM authentication-service AUTH_TELEKOM username <Zugangsnummer> password <Kennwort> location-service LOC_TELEKOM domain 1 sip-trunk.telekom.de match-any-domain identity <Registrierungsrufnummer +49...> alias expression .+ user phone authentication outbound authenticate 1 authentication-service AUTH_TELEKOM username <Zugangsnummer> registration outbound registrar sip-trunk.telekom.de transport-protocol force tcp proxy 1 reg.sip-trunk.telekom.de lifetime 600 register auto flows nat-traversal crlf 55 call outbound proxy 1 reg.sip-trunk.telekom.de transport-protocol force tcp request-uri dynamic-registrar flows call inbound use profile voip TELEKOM |