Hallo!
Ich habe ein Problem mit PSTN/SIP <=> Smartnode SN4634 <=> Asterisk.
Netzwerkkonfiguration:
WAN <=> Firewall <=DMZ=> Smartnode (10.0.2.3) <=> Asterisk (10.0.2.9)
Eingehende Anrufe funktionieren (PSTN/SIP=>Asterisk), ausgehende nicht (Asterisk=>PSTN/SIP). UPC (SIP Provider) meint: "der Fehler wird durch die interne IP 10.0.2.3 im SIP From verursacht, die Ihrerseits übermittelt wird.". Ich weiß nicht wo ich das einstellen kann, beim SIP-Gateway zum UPC habe ich bereits "NAT address & Detect NAT address" eingeschalten.
BTW, soll ich mir wegen "anonymous.net" im "sip:[email protected]" Sorgen machen?
Konfiguration:
Signaling:
Danke
Ich habe ein Problem mit PSTN/SIP <=> Smartnode SN4634 <=> Asterisk.
Netzwerkkonfiguration:
WAN <=> Firewall <=DMZ=> Smartnode (10.0.2.3) <=> Asterisk (10.0.2.9)
Eingehende Anrufe funktionieren (PSTN/SIP=>Asterisk), ausgehende nicht (Asterisk=>PSTN/SIP). UPC (SIP Provider) meint: "der Fehler wird durch die interne IP 10.0.2.3 im SIP From verursacht, die Ihrerseits übermittelt wird.". Ich weiß nicht wo ich das einstellen kann, beim SIP-Gateway zum UPC habe ich bereits "NAT address & Detect NAT address" eingeschalten.
BTW, soll ich mir wegen "anonymous.net" im "sip:[email protected]" Sorgen machen?
Konfiguration:
Code:
#----------------------------------------------------------------#
# #
# SN4634/3BIS/UI #
# R6.8 2015-11-13 H323 SIP BRI #
# 2016-01-26T10:01:21 #
# SN/00A0BA029DC1 #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
clock local default-offset +00:00
dns-client server 10.0.2.1
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 1.at.pool.ntp.org port 123 version 4
syslog-client
remote 10.0.0.3 514
facility sip severity debug
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
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
no autonomous-transitioning
profile dhcp-server DHCPS_LAN
network 192.168.1.0 255.255.255.0
include 1 192.168.1.10 192.168.1.99
lease 2 hours
default-router 1 192.168.1.1
domain-name-server 1 192.168.1.1
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.2.3 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.2.1 1
context cs switch
interface sip IF_INODE_0316xxxxxx
bind context sip-gateway GW_INODE_0316xxxxxx
route call dest-interface IF_AST_PATTON
interface sip IF_AST_PATTON
bind context sip-gateway GW_AST
route call dest-interface IF_INODE_0316xxxxxx
context cs switch
no shutdown
authentication-service AUTH_INODE_0316xxxxxx
username 0316xxxxxx password UNHABr0J1+NkbaYxl9uIFQ== encrypted
authentication-service AUTH_AST_PATTON
username patton password 2mPHy316nK4= encrypted
username patton_isdn password 2mPHy316nK4= encrypted
username patton_0316xxxxxx password 2mPHy316nK4= encrypted
location-service LOCATION_INODE_0316xxxxxx
domain 1 siptrunk.upc.at
match-any-domain
identity-group IDG_INODE_0316xxxxxx
display-name 0316xxxxxx
authentication outbound
authenticate 1 authentication-service AUTH_INODE_0316xxxxxx username 0316xxxxxx
authentication inbound
authenticate 1 authentication-service AUTH_INODE_0316xxxxxx username 0316xxxxxx
registration outbound
registrar siptrunk.upc.at
lifetime 3600
register auto
retry-timeout on-system-error 10
retry-timeout on-client-error 10
retry-timeout on-server-error 10
call outbound
proxy 1 siptrunk.upc.at
identity 0316xxxxxx inherits IDG_INODE_0316xxxxxx
location-service LOCATION_AST_PATTON
domain 1 10.0.2.9
identity-group default
display-name patton_in
authentication outbound
authenticate 1 authentication-service AUTH_AST_PATTON username patton
registration outbound
registrar 10.0.2.9
lifetime 3600
register auto
retry-timeout on-system-error 10
retry-timeout on-client-error 10
retry-timeout on-server-error 10
call outbound
proxy 1 10.0.2.9
identity patton_in inherits default
context sip-gateway GW_INODE_0316xxxxxx
interface GW_IF_INODE_0316xxxxxx
bind interface LAN context router port 5060
spoofed nat-address auto port 5060
context sip-gateway GW_INODE_0316xxxxxx
bind location-service LOCATION_INODE_0316xxxxxx
no shutdown
context sip-gateway GW_AST
interface GW_IF_AST
bind interface LAN context router port 5064
context sip-gateway GW_AST
bind location-service LOCATION_AST_PATTON
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
permanent-layer2
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
port bri 0 0
no shutdown
port bri 0 1
clock auto
encapsulation q921
q921
permanent-layer2
protocol pp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
encapsulation cc-isdn
port bri 0 1
no shutdown
port bri 0 2
clock auto
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
port bri 0 2
shutdown
Signaling:
Code:
10.0.2.3(cfg)#09:41:22 SIP_TR> [STACK] < 907 Stack: INVITE sip:[email protected]:5064 SIP/2.0
Via: SIP/2.0/UDP 10.0.2.9:5060;rport;branch=z9hG4bKPj6987fdff-955e-42d4-8a4f-391dad96ea5c
From: <sip:[email protected]>;tag=e1ca2efd-423d-49cb-bcfd-b52eb0988bf0
To: <sip:[email protected]>
Contact: <sip:[email protected]:5060>
Call-ID: d9a9eba7-366c-4dba-a8e9-15328e46fe56
CSeq: 31545 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER, REGISTER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800
Min-SE: 90
Max-Forwards: 70
User-Agent: Asterisk PBX 13.6.0
Content-Type: application/sdp
Content-Length: 253
v=0
o=- 1404247670 1404247670 IN IP4 10.0.2.9
s=Asterisk
c=IN IP4 10.0.2.9
t=0 0
m=audio 17636 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
09:41:22 SIP_TR> [STACK] > 425 Stack: SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.0.2.9:5060;rport=5060;branch=z9hG4bKPj6987fdff-955e-42d4-8a4f-391dad96ea5c;received=10.0.2.9
From: <sip:[email protected]>;tag=e1ca2efd-423d-49cb-bcfd-b52eb0988bf0
To: <sip:[email protected]>
Call-ID: d9a9eba7-366c-4dba-a8e9-15328e46fe56
CSeq: 31545 INVITE
Server: Patton SN4634 3BIS UI 00A0BA029DC1 R6.8 2015-11-13 H323 SIP BRI M5T SIP Stack/4.2.8.10
Content-Length: 0
09:41:22 SIP_TR> [STACK] > 765 Stack: INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP WAN.WAN.WAN.WAN:5060;branch=z9hG4bKc20a0e69734e0bb63
Route: <sip:siptrunk.upc.at;lr>
Max-Forwards: 70
From: <sip:[email protected]:5060>;tag=bdac2e2663
To: <sip:[email protected]>
Call-ID: 6aed8dd96e734497
CSeq: 25514 INVITE
Contact: <sip:[email protected]:5060;transport=udp>
Supported: replaces
User-Agent: Patton SN4634 3BIS UI 00A0BA029DC1 R6.8 2015-11-13 H323 SIP BRI M5T SIP Stack/4.2.8.10
Content-Type: application/sdp
Content-Length: 223
v=0
o=MxSIP 0 12 IN IP4 WAN.WAN.WAN.WAN
s=SIP Call
c=IN IP4 WAN.WAN.WAN.WAN
t=0 0
m=audio 4878 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=sendrecv
09:41:22 SIP_TR> [STACK] < 230 Stack: SIP/2.0 100 Trying
Via: SIP/2.0/UDP WAN.WAN.WAN.WAN:5060;branch=z9hG4bKc20a0e69734e0bb63
From: <sip:[email protected]:5060>;tag=bdac2e2663
To: <sip:[email protected]>
Call-ID: 6aed8dd96e734497
CSeq: 25514 INVITE
09:41:22 SIP_TR> [STACK] < 261 Stack: SIP/2.0 404 Not Found
Via: SIP/2.0/UDP WAN.WAN.WAN.WAN:5060;branch=z9hG4bKc20a0e69734e0bb63
From: <sip:[email protected]:5060>;tag=bdac2e2663
To: <sip:[email protected]>;tag=aprqngfrt-q9nrsm000ooka
Call-ID: 6aed8dd96e734497
CSeq: 25514 INVITE
09:41:22 SIP_TR> [STACK] > 449 Stack: ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP WAN.WAN.WAN.WAN:5060;branch=z9hG4bKc20a0e69734e0bb63
Route: <sip:siptrunk.upc.at;lr>
Max-Forwards: 70
From: <sip:[email protected]:5060>;tag=bdac2e2663
To: <sip:[email protected]>;tag=aprqngfrt-q9nrsm000ooka
Call-ID: 6aed8dd96e734497
CSeq: 25514 ACK
User-Agent: Patton SN4634 3BIS UI 00A0BA029DC1 R6.8 2015-11-13 H323 SIP BRI M5T SIP Stack/4.2.8.10
Content-Length: 0
09:41:23 SIP_TR> [STACK] > 443 Stack: SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 10.0.2.9:5060;rport=5060;branch=z9hG4bKPj6987fdff-955e-42d4-8a4f-391dad96ea5c;received=10.0.2.9
From: <sip:[email protected]>;tag=e1ca2efd-423d-49cb-bcfd-b52eb0988bf0
To: <sip:[email protected]>;tag=2972376672
Call-ID: d9a9eba7-366c-4dba-a8e9-15328e46fe56
CSeq: 31545 INVITE
Server: Patton SN4634 3BIS UI 00A0BA029DC1 R6.8 2015-11-13 H323 SIP BRI M5T SIP Stack/4.2.8.10
Content-Length: 0
09:41:23 SIP_TR> [STACK] < 394 Stack: ACK sip:[email protected]:5064 SIP/2.0
Via: SIP/2.0/UDP 10.0.2.9:5060;rport;branch=z9hG4bKPj6987fdff-955e-42d4-8a4f-391dad96ea5c
From: <sip:[email protected]>;tag=e1ca2efd-423d-49cb-bcfd-b52eb0988bf0
To: <sip:[email protected]>;tag=2972376672
Call-ID: d9a9eba7-366c-4dba-a8e9-15328e46fe56
CSeq: 31545 ACK
Max-Forwards: 70
User-Agent: Asterisk PBX 13.6.0
Content-Length: 0
Danke
Zuletzt bearbeitet: