Hi,
bin noch recht neu auf dem Gebiet was VOIP angeht. Kann mir jemand erklären wie ich die Rufnummer von der Patton an meinen Asterisk 1.4.3 weitergeben kann.
Bisher zeigt mir mein VOIP Telefon nur den Trunk User an und nicht die Telefonnummer von dem der Anruft.
bin noch recht neu auf dem Gebiet was VOIP angeht. Kann mir jemand erklären wie ich die Rufnummer von der Patton an meinen Asterisk 1.4.3 weitergeben kann.
Bisher zeigt mir mein VOIP Telefon nur den Trunk User an und nicht die Telefonnummer von dem der Anruft.
Code:
[CUSTOM]
disallow =
allow = all
dtmfmode = rfc2833
trunk = yes
type = peer
sendrpid = yes
qualify = no
allow = ulaw,alaw
callerid =
contact =
context = DID_CUSTOM
;;dialformat = ${EXTEN:1}
fromdomain =
fromuser = sipgate
;;username = sipgate
group =
;;hasexten = no
;;hasiax = no
;;hasiax2 = no
canreinvite = no
hassip = yes
host = sip0601
port = 5070
provider =
registeriax = no
registersip = yes
secret = ****
trunkname = Custom
trunkstyle = customvoip
insecure = invite
Code:
#----------------------------------------------------------------#
# #
# SN4634/3BIS/UI #
# R3.20 2006-10-04 H323 SIP BRI #
# 1970-01-01T04:56:37 #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
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
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
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
use profile napt NAPT_WAN
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
interface LAN
ipaddress 10.0.1.1 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 10.0.1.10 0
context cs switch
interface isdn IF-PBX
route call dest-interface IF-ASTERISK
interface sip IF-ASTERISK
bind gateway ASTERISK
service default
route call dest-interface IF-PBX
address-translation outgoing-call from-header user-part fix sipgate host-part call
use profile voip VOIP-ASTERISK
context cs switch
no shutdown
gateway sip ASTERISK
call-signaling-port 5070
bind interface LAN router
service default
authentication sipgate password nx/MNIzoskpr9r/EvL457A== encrypted
default-server 130.10.10.217 loose-router
registrar 130.10.10.217
user sipgate display-name 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 bri 0 0
clock auto
encapsulation q921
power-feed
q921
permanent-layer2
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
encapsulation cc-isdn
bind interface IF-PBX switch
port bri 0 0
no shutdown
port bri 0 1
clock auto
encapsulation q921
q921
protocol pmp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
port bri 0 1
shutdown
port bri 0 2
clock auto
encapsulation q921
q921
protocol pmp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
port bri 0 2
shutdown