Hi,
die Patton ist mit dem Asterisk Server über eine WAN Verbindung(DSL) verbunden. Mein Problem ist das ich Asterisk nur für die Initialiserung (SIP) verwenden möchte. Leider habe ich das Gefühl das alle Daten erst zum Asterisk und dann zum Telefon gehen. Das heisst die DSL Leitung wird für ein Gespräch 2x belegt.
Ich hätte gern, dass das Telefon direkt mit der Patton kommuniziert und nicht, dass sich der Asterisk noch dazwischen hängt.
extension.conf
die Patton ist mit dem Asterisk Server über eine WAN Verbindung(DSL) verbunden. Mein Problem ist das ich Asterisk nur für die Initialiserung (SIP) verwenden möchte. Leider habe ich das Gefühl das alle Daten erst zum Asterisk und dann zum Telefon gehen. Das heisst die DSL Leitung wird für ein Gespräch 2x belegt.
Ich hätte gern, dass das Telefon direkt mit der Patton kommuniziert und nicht, dass sich der Asterisk noch dazwischen hängt.
extension.conf
Code:
[DID_IN]
include = default
exten = _1230,1,Queue(500,r)
exten = _1231,1,Goto(default|13|1)
exten = _1232,1,Goto(default|14|1)
exten = _1233,1,Goto(default|15|1)
[macro-trunkdial]
exten => s,1,Dial(${ARG1})
exten => s,n,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Hangup
exten => s-BUSY,1,Hangup
exten => _s-.,1,NoOp
Code:
#----------------------------------------------------------------#
# #
# SN4960/4E30V/UI #
# R4.1 2007-03-30 H323 RBS SIP #
# 2000-01-09T23:13:17 #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
operator mw2717 password pJnLqK3UeyDZuMZ5FnYaaQ== encrypted
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4
system hostname sip0601
system
ic voice 0
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 voip VOIP-ASTERISK
codec 1 g729 rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
codec 3 g711alaw64k rx-length 20 tx-length 20
codec 4 g723-6k3 rx-length 30 tx-length 30
rtp traffic-class local-default
dejitter-max-delay 200
profile pstn default
profile sip default
profile aaa default
method 1 local
method 2 none
context ip router
interface WAN
ipaddress dhcp
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
interface LAN
ipaddress 130.10.0.33 255.255.0.0
icmp redirect accept
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context ip router
route 0.0.0.0 0.0.0.0 130.10.0.33 0
context cs switch
digit-collection terminating-char # append-terminating-char set-address-complete-indication
national-prefix 00
international-prefix 000
routing-table called-e164 fromisdn
routing-table called-e164 fromsip
mapping-table called-e164 to called-e164 TOISDNMOD
map 2717 to 380931\1
interface isdn IF-PBX
route call dest-interface IF-ASTERISK
caller-name
interface sip IF-ASTERISK
bind gateway ASTERISK
service default
route call dest-interface IF-PBX
use profile voip VOIP-ASTERISK
context cs switch
no shutdown
gateway sip ASTERISK
call-signaling-port 5070
bind interface LAN router
service default
defaultserver manual 130.10.10.217 loose-router
registration manual 130.10.10.217 5070
user sipgate authenticate password nx/MNIzoskpr9r/EvL457A== encrypted register display-name sipgate phone-context sipgate
gateway sip ASTERISK
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 e1t1 0 0
port-type e1
clock auto
framing crc4
encapsulation q921
q921
permanent-layer2
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
channel-range 1 31
encapsulation cc-isdn
bind interface IF-PBX switch
port e1t1 0 0
no shutdown
port e1t1 0 1
port-type e1
clock auto
framing crc4
encapsulation q921
q921
permanent-layer2
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
channel-range 1 31
encapsulation cc-isdn
port e1t1 0 1
no shutdown
port e1t1 0 2
port-type e1
clock auto
framing crc4
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
channel-range 1 31
encapsulation cc-isdn
port e1t1 0 2
no shutdown
port e1t1 0 3
port-type e1
clock auto
framing crc4
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
channel-range 1 31
encapsulation cc-isdn
port e1t1 0 3
no shutdown