-
Notifications
You must be signed in to change notification settings - Fork 34
Patton smartnode
daver360 edited this page Jan 20, 2014
·
5 revisions
Unter http://{IP-Gemeinschaft}/gs_parameters muss der Parameter send_ringing_to_gateways auf true gesetzt werden damit der Anrufende ein Freiton erhält.
Die Einstellungen werden direkt im GUI unter ab GS5.1.2 unter Gatewayeinstellungen gemacht:
| Name | Value |
|---|---|
| domain | {IP-Adresse des Smartnode} |
| register | false |
| auth_source | sip_from_host |
| auth_pattern | IP-Adresse des Smartnode |
| number_source | sip_to_user |
| Name | Value |
|---|---|
| send_ringing_to_gateways | true |
| caller-id-in-from | true |
Hängt von der Konfiguration der Patton ab!!
| Var in | Var out | Pattern | Replacement | Action | Mandatory |
|---|---|---|---|---|---|
| val:caller_id_numbers | caller_id_number | ^+49(%d+)$ | 0%1 | set | true |
Im Beispiel wurde ein SmartNode 4638 mit der Softwareversion R5.2 2009-01-14 H323 SIP BRI verwendet.
#----------------------------------------------------------------#
# #
# SN4638/5BIS #
# R5.2 2009-01-14 H323 SIP BRI #
# 2013-04-04T09:50:47 #
# SN/xxxxxxxxxxxx #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
dns-client server {dns-IP}
dns-client server {dns2-IP}
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4
system
ic voice 0
low-bitrate-codec g729
system
clock-source 1 bri 0 0
clock-source 2 bri 0 1
clock-source 3 bri 0 2
clock-source 4 bri 0 3
clock-source 5 bri 0 4
profile napt NAPT_WAN
profile ppp default
profile tone-set default
profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
profile pstn default
profile sip default
profile aaa default
method 1 local
method 2 none
context ip router
interface WAN
ipaddress dhcp
use profile napt NAPT_WAN
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
interface LAN
ipaddress {IP-Adresse Patton} 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context ip router
route 0.0.0.0 0.0.0.0 {Gateway-IP} 0
context cs switch
routing-table calling-e164 RT_CALLED
interface isdn IF_TE_00
route call dest-interface IF_SIP_ASTERISK
dtmf-dialing
interface isdn IF_TE_01
route call dest-interface IF_SIP_ASTERISK
dtmf-dialing
interface isdn IF_TE_02
route call dest-interface IF_SIP_ASTERISK
dtmf-dialing
interface isdn IF_TE_03
route call dest-interface IF_SIP_ASTERISK
interface isdn IF_TE_04
interface sip IF_SIP_ASTERISK
bind context sip-gateway Gemeinschaft
route call dest-interface IF_TE_00
remote {IP-Adresse Gemeinschaft} 5060
context cs switch
no shutdown
context sip-gateway Gemeinschaft
interface IF_GW_LAN
bind interface LAN context router port 5060
context sip-gateway Gemeinschaft
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface WAN router
no shutdown
port ethernet 0 1
medium auto
encapsulation ip
bind interface LAN router
no shutdown
port bri 0 0
clock auto
encapsulation q921
q921
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_TE_00 switch
port bri 0 0
no shutdown
port bri 0 1
clock auto
encapsulation q921
q921
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_TE_01 switch
port bri 0 1
no shutdown
port bri 0 2
clock auto
encapsulation q921
q921
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_TE_02 switch
port bri 0 2
no shutdown
port bri 0 3
clock auto
encapsulation q921
q921
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_TE_03 switch
port bri 0 3
no shutdown
port bri 0 4
clock auto
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
port bri 0 4
shutdown
Important: The Tables of Content are generated. Any change will be overridden on the next update.
For more information: GitHub Wikifier
Proxysetting not working at all ... we could not change the Proxy by itself