- Mitglied seit
- 6 Aug 2012
- Beiträge
- 2
- Punkte für Reaktionen
- 0
- Punkte
- 0
Hi wir haben die Smartnodes ganz neu und sind schon ganz froh das sie soweit laufen. Jetzt haben wir noch das Problem das die eingehende Nummer nicht angezeigt wird. Hat hier vielleicht jemand einen Rat ??
und
Danke schon mal !!!
Code:
#----------------------------------------------------------------#
# #
# SN4524/JO/EUI #
#----------------------------------------------------------------#
cli version 3.20
webserver port 80 language en
system
ic voice 0
low-bitrate-codec g729
profile napt NAPT
profile ppp default
profile tone-set default
profile voip default
codec 1 g729 rx-length 20 tx-length 20
codec 2 g711alaw64k rx-length 20 tx-length 20
codec 3 g711ulaw64k rx-length 20 tx-length 20
fax transmission 1 relay t38-udp
profile pstn default
profile sip default
profile dhcp-server DHCP
profile aaa default
method 1 local
method 2 none
context ip router
interface eth0
# SET on the line below the IP address of this SmartNode
ipaddress 172.20.11.240 255.255.255.0
use profile napt NAPT
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
interface eth1
ipaddress 192.168.0.1 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context ip router
# SET on the line below the default gateway`s IP address
route 0.0.0.0 0.0.0.0 172.20.11.1 0
context cs switch
routing-table called-e164 fromFxo0
route default dest-interface SIP_CPE setCdPN200
routing-table called-e164 fromFxo1
route default dest-interface SIP_CPE setCdPN201
routing-table calling-e164 DEMUX
route 200 dest-interface Line0
route 201 dest-interface Line1
mapping-table called-e164 to called-e164 setCdPN200
map default to 200
mapping-table called-e164 to called-e164 setCdPN201
map default to 201
interface sip SIP_CPE
bind context sip-gateway GW_SIP
route call dest-table DEMUX
#SET on the line below the IP of the other SmartNode
remote 172.20.11.241
interface fxo Line1
route call dest-table fromFxo1
disconnect-signal loop-break
ring-number 1
dial-after timeout 1
no use profile tone-set
interface fxo Line0
route call dest-table fromFxo0
disconnect-signal loop-break
ring-number 1
dial-after timeout 1
no use profile tone-set
context cs switch
no shutdown
context sip-gateway GW_SIP
no shutdown
interface SIP
bind interface eth0 context router port 5060
context sip-gateway GW_SIP
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface eth0 router
no shutdown
port ethernet 0 1
medium auto
encapsulation ip
bind interface eth1 router
no shutdown
port fxo 0 0
encapsulation cc-fxo
bind interface Line0 switch
no shutdown
port fxo 0 1
encapsulation cc-fxo
bind interface Line1 switch
no shutdown
und
Code:
cli version 3.20
webserver port 80 language en
system
ic voice 0
low-bitrate-codec g729
profile napt NAPT
profile ppp default
profile tone-set default
profile voip default
codec 1 g729 rx-length 20 tx-length 20
codec 2 g711alaw64k rx-length 20 tx-length 20
codec 3 g711ulaw64k rx-length 20 tx-length 20
fax transmission 1 relay t38-udp
profile pstn default
profile ringing-cadence default
play 1 1000
pause 2 4000
profile sip default
profile dhcp-server DHCP
profile aaa default
method 1 local
method 2 none
context ip router
interface eth0
# SET on the line below the IP address of this SmartNode
ipaddress 172.20.11.241 255.255.255.0
use profile napt NAPT
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
interface eth1
ipaddress 192.168.0.1 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context ip router
# SET on the line below the default gateway`s IP address
route 0.0.0.0 0.0.0.0 172.20.11.1 0
context cs switch
routing-table called-e164 fromFxo0
route default dest-interface SIP_CPE setCdPN200
routing-table called-e164 fromFxo1
route default dest-interface SIP_CPE setCdPN201
routing-table called-e164 DEMUX
route 200 dest-interface Line0
route 201 dest-interface Line1
mapping-table called-e164 to called-e164 setCdPN200
map default to 200
mapping-table called-e164 to called-e164 setCdPN201
map default to 201
interface sip SIP_CPE
bind context sip-gateway GW_SIP
route call dest-table DEMUX
#SET on the line below the IP of the other SmartNode
remote 172.20.11.240
interface fxs Line0
route call dest-interface SIP_CPE
caller-id-presentation pre-ring
subscriber-number 200
interface fxs Line1
route call dest-interface SIP_CPE
caller-id-presentation pre-ring
subscriber-number 201
context cs switch
no shutdown
context sip-gateway GW_SIP
interface SIP
bind interface eth0 context router port 5060
context sip-gateway GW_SIP
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface eth0 router
no shutdown
port ethernet 0 1
medium auto
encapsulation ip
bind interface eth1 router
no shutdown
port fxs 0 0
encapsulation cc-fxs
bind interface Line0 switch
no shutdown
port fxs 0 1
encapsulation cc-fxs
bind interface Line1 switch
no shutdown
Danke schon mal !!!