Cisco C7940G e Messagenet free number

Voice su IP

Moderatore: Federico.Lagni

Rispondi
effe
n00b
Messaggi: 4
Iscritto il: sab 03 dic , 2005 12:57 pm

ciao networkers,

ho appena acquistato su ebay un cisco 7940g con software skinny, lo ho upgradato a SIP con la release P0S3-8-12-00...il gioellino!
adesso viene il bello, mi registro su messagenet per avere un free number per poter giocherellare un po...
adesso inizia il difficile (') ...nulla... riesco solo a chiamare i numeri verdi se abilito il nat sul telefono e constestualmente a volte riesco a ricevere il signaling sip ma non ricevo la voce.
viceversa se disabilito il nat da telefono non riesco neanche a chiamare i numeri verdi e sono inraggiungibile...

googolando qua e la...pareri discordanti su statement nat utilizzo di ipinspect sui router e via dicendo...

qualcuno ha un'esperienza diretta su una situazione come questa?

il support di messagenet riporta solo questo... :roll:

Non funziona il servizio VOIP. Che cosa devo fare?

Controlla di avere soddisfatto i requisiti minimi, di aver correttamente configurato il tuo telefono o software, e che la tua connessione ad Internet sia regolarmente funzionante. Se utilizzi un firewall configuralo come riportato di seguito e riprova:
- UDP & TCP destinati a 212.97.59.64/27 e 193.227.104.0/24 sulle porte 5060 e 5061 con le relative risposte;
- UDP destinati a 212.97.59.64/27 e 193.227.104.0/24 sulle porte dalla 10000 alla 65000 con le relative risposte.


premetto di avere un cisco 877 "flash:c870-advipservicesk9-mz.124-11.xj4.bin" ..ecco la config

Grazie in anticipo, effe

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
!
version 12.4
no service pad
service timestamps debug datetime show-timezone year
service timestamps log datetime show-timezone year
service password-encryption
service compress-config
!
hostname 877
!
boot-start-marker
boot-end-marker
!
logging count
logging buffered 4096
logging monitor informational
!
aaa new-model
!
!
aaa group server radius rad_eap
server 192.168.0.1 auth-port 1812 acct-port 1813
server 192.168.0.2 auth-port 1812 acct-port 1813
server 192.168.0.3 auth-port 1812 acct-port 1813
!
aaa authentication attempts login 1
aaa authentication login default local-case
aaa authentication login eap_methods group rad_eap
aaa authorization console
aaa authorization exec default local if-authenticated
aaa authorization network default local
!
!
aaa session-id common
clock timezone GMT 1
clock summer-time GMTSummer recurring last Sun Mar 2:00 last Sun Oct 3:00
clock save interval 8
ip cef
!
!
ip dhcp limited-broadcast-address
ip dhcp smart-relay
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.0.1
ip dhcp excluded-address 192.168.0.2
ip dhcp excluded-address 192.168.0.3
ip dhcp excluded-address 192.168.0.4
ip dhcp excluded-address 192.168.0.5
ip dhcp excluded-address 192.168.0.17
ip dhcp excluded-address 192.168.0.25
ip dhcp ping packets 1
!
ip dhcp pool DynamicVlan1
import all
network 192.168.0.0 255.255.255.240
update dns both
default-router 192.168.0.1
dns-server 192.168.0.1
domain-name local.net
lease 0 6
update arp
class SecureDhcp
address range 192.168.0.6 192.168.0.13
!
ip dhcp pool DynamicVlan2
import all
network 192.168.0.16 255.255.255.248
update dns both
default-router 192.168.0.17
dns-server 192.168.0.1
domain-name local.net
lease 0 6
update arp
class SecureDhcp
address range 192.168.0.18 192.168.0.22
!
ip dhcp pool DynamicVlan3
import all
network 192.168.0.24 255.255.255.248
update dns both
default-router 192.168.0.25
dns-server 192.168.0.1
domain-name local.net
lease 0 6
update arp
class SecureDhcp
address range 192.168.0.26 192.168.0.28
!
ip dhcp pool 7wkn.vlan1.net
host 192.168.0.6 255.255.255.240
client-identifier 0100.2215.f4c3.62
client-name 7wkn
!
ip dhcp pool 7wkn1.vlan1.net
host 192.168.0.7 255.255.255.240
client-identifier 0100.18f3.090a.35
client-name 7wkn1
!
ip dhcp pool 7lpt.vlan1.net
host 192.168.0.8 255.255.255.240
client-identifier 0100.a0d1.a454.37
client-name 7lpt
!
ip dhcp pool hplaserjet.vlan1.net
host 192.168.0.9 255.255.255.240
hardware-address 0001.e659.9190
client-name hplaserjet
!
ip dhcp pool playstation3.vlan1.net
host 192.168.0.10 255.255.255.240
client-identifier 0100.1d0d.1781.a4
client-name playstation3
!
ip dhcp pool dreambox.vlan1.net
host 192.168.0.11 255.255.255.240
client-identifier 0100.0934.20ff.11
client-name dreambox
!
ip dhcp pool 7lptws.vlan2.net
host 192.168.0.18 255.255.255.248
client-identifier 0100.14a5.dece.cf
client-name 7lpt
!
ip dhcp pool 7lptws1.vlan2.net
host 192.168.0.19 255.255.255.248
client-identifier 0100.1478.7433.ac
client-name 7lpt1
!
ip dhcp pool xplpt2.vlan2.net
host 192.168.0.20 255.255.255.248
client-identifier 0100.14a4.2892.0c
client-name xplpt2
!
ip dhcp pool nokiae51.vlan3.net
host 192.168.0.26 255.255.255.248
client-identifier 0100.1fdf.062e.77
client-name nokiae51
!
ip dhcp pool nokian80.vlan3.net
host 192.168.0.27 255.255.255.248
client-identifier 0100.192d.804d.a8
client-name nokian80
!
!
ip dhcp class SecureDhcp
!
ip domain name local.net
ip host 7dnld.local.net 192.168.0.4
ip host 7wkn.local.net 192.168.0.6
ip host dreambox.local.net 192.168.0.11
ip host hplaserjet.local.net 192.168.0.9
ip host 7lpt.local.net 192.168.0.8
ip host 7wkn1.local.net 192.168.0.7
ip host aironet2.local.net 192.168.0.3
ip host 877.local.net 192.168.0.1
ip host 877.local.net ns 877.local.net
ip host aironet1.local.net 192.168.0.2
ip host playstation3.local.net 192.168.0.10
ip host 7lptws.local.net 192.168.0.18
ip host 7lpt1.local.net 192.168.0.19
ip host xplpt2.local.net 192.168.0.20
ip host nokiae51.local.net 192.168.0.26
ip host nokian80.local.net 192.168.0.27
ip name-server 212.216.112.222
ip name-server 212.216.172.62
ip ssh maxstartups 2
ip ssh authentication-retries 0
ip ssh logging events
ip ssh version 2
ip ddns update method DynDns
HTTP
add http://xxx:xxx.dyndns.org/nic/update?system=dyndns&hostname=<h>&myip=<a>
interval maximum 28 0 0 0
!
login block-for 300 attempts 3 within 30
!
multilink bundle-name authenticated
!
!
!
!
vtp interface vlan1 only
username xxxx privilege 15 password xxx
archive
log config
hidekeys
!
!
!
!
!
!
interface ATM0
no ip address
logging event atm pvc state
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
logging event subif-link-status
no snmp trap link-status
pvc 8/35
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0
description Orange_Aironet_Wireless
switchport trunk allowed vlan 1-3,1002-1005
switchport mode trunk
!
interface FastEthernet1
description Green_Switch_Wired
!
interface FastEthernet2
description Red_Server
!
interface FastEthernet3
description Yellow_Workstation
!
interface Vlan1
ip address 192.168.0.1 255.255.255.240
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
!
interface Vlan2
ip address 192.168.0.17 255.255.255.248
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
!
interface Vlan3
ip address 192.168.0.25 255.255.255.248
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
!
interface Dialer0
ip ddns update hostname xxx.xxx.xxx
ip ddns update DynDns
ip address negotiated
ip mtu 1492
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer idle-timeout 0
dialer persistent max-attempts 1000
ppp chap hostname xxx
ppp chap password xxx
!
ip route 0.0.0.0 0.0.0.0 Dialer0 permanent
!
!
no ip http server
no ip http secure-server
ip dns server

ip nat inside source list OutBound interface Dialer0 overload
ip nat inside source static tcp 192.168.0.4 3389 interface Dialer0 3389
ip nat inside source static tcp 192.168.0.4 1972 interface Dialer0 1972
ip nat inside source static tcp 192.168.0.4 80 interface Dialer0 80
!
ip access-list extended OutBound
permit ip 192.168.0.0 0.0.0.15 any
permit ip 192.168.0.16 0.0.0.7 any
permit ip 192.168.0.24 0.0.0.7 any
!
ip radius source-interface Vlan1
!
!
!
radius-server local
nas 192.168.0.1 key 7 xxx
nas 192.168.0.2 key 7 xxx
nas 192.168.0.3 key 7 xxx
group rad_eap
!
user xxx nthash 7 xxxx
radius-server host 192.168.0.1 auth-port 1812 acct-port 1813 key 7 xxx
!
control-plane
!

!
line con 0
location Milan EU, Italy
exec-timeout 120 0
password 7 xxx
no modem enable
notify
transport preferred none
stopbits 1
line aux 0
location Milan EU, Italy
transport preferred telnet
line vty 0 4
location Milan EU, Italy
exec-timeout 120 0
password 7 xxx
notify
transport preferred ssh
transport input ssh
transport output ssh
!
scheduler max-task-time 5000
sntp server 83.231.183.4
end

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

configuro il c7940 con i seguenti parametri sipmacaddrxxxx

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

# SIP Configuration Generic File

# Line 1 appearance
line1_name: 53xxxxx

# Line 1 Registration Authentication
line1_authname: "53xxxxx"

# Line 1 Registration Password
line1_password: "xxxxxx"

# Line 2 appearance
line2_name: "UNPROVISIONED"

# Line 2 Registration Authentication
line2_authname: "UNPROVISIONED"

# Line 2 Registration Password
line2_password: "UNPROVISIONED"


####### New Parameters added in Release 2.0 #######

# All user_parameters have been removed

# Phone Label (Text desired to be displayed in upper right corner)
phone_label: "+3902xxxxxxx" ; Has no effect on SIP messaging

# Line 1 Display Name (Display name to use for SIP messaging)
line1_displayname: "53xxxxx"

# Line 2 Display Name (Display name to use for SIP messaging)
line2_displayname: ""


####### New Parameters added in Release 3.0 ######

# Phone Prompt (The prompt that will be displayed on console and telnet)
phone_prompt: "SIP Phone" ; Limited to 15 characters (Default - SIP Phone)

# Phone Password (Password to be used for console or telnet login)
phone_password: "cisco" ; Limited to 31 characters (Default - cisco)

# User classifcation used when Registering [ none(default), phone, ip ]
user_info: none

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

configuro il c7940 con i seguenti parametri sipdefault

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# SIP Default Generic Configuration File

# Image Version
image_version: P0S30202

# Proxy Server
proxy1_address: "sip.messagenet.it" ; Can be dotted IP or FQDN
proxy2_address: "" ; Can be dotted IP or FQDN
proxy3_address: "" ; Can be dotted IP or FQDN
proxy4_address: "" ; Can be dotted IP or FQDN
proxy5_address: "" ; Can be dotted IP or FQDN
proxy6_address: "" ; Can be dotted IP or FQDN

# Proxy Server Port (default - 5060)
proxy1_port: 5060
proxy2_port: 5060
proxy3_port: 5060
proxy4_port: 5060
proxy5_port: 5060
proxy6_port: 5060

# Proxy Registration (0-disable (default), 1-enable)
proxy_register: 1

# Phone Registration Expiration [1-3932100 sec] (Default - 3600)
timer_register_expires: 60

# Codec for media stream (g711ulaw (default), g711alaw, g729a)
preferred_codec: g711ulaw

# TOS bits in media stream [0-5] (Default - 5)
tos_media: 5

# Inband DTMF Settings (0-disable, 1-enable (default))
dtmf_inband: 1

# Out of band DTMF Settings (none-disable, avt-avt enable (default), avt_always - always avt )
dtmf_outofband: avt

# DTMF dB Level Settings (1-6dB down, 2-3db down, 3-nominal (default), 4-3db up, 5-6dB up)
dtmf_db_level: 3

# SIP Timers
timer_t1: 500 ; Default 500 msec
timer_t2: 4000 ; Default 4 sec
sip_retx: 10 ; Default 10
sip_invite_retx: 6 ; Default 6
timer_invite_expires: 180 ; Default 180 sec

####### New Parameters added in Release 2.0 #######

# Dialplan template (.xml format file relative to the TFTP root directory)
dial_template: dialplan

# TFTP Phone Specific Configuration File Directory
tftp_cfg_dir: "" ; Example: ./sip_phone/

# Time Server (There are multiple values and configurations refer to Admin Guide for Specifics)
sntp_server: "" ; SNTP Server IP Address
sntp_mode: directedbroadcast ; unicast, multicast, anycast, or directedbroadcast (default)
time_zone: EST ; Time Zone Phone is in
dst_offset: 1 ; Offset from Phone's time when DST is in effect
dst_start_month: April ; Month in which DST starts
dst_start_day: "" ; Day of month in which DST starts
dst_start_day_of_week: Sun ; Day of week in which DST starts
dst_start_week_of_month: 1 ; Week of month in which DST starts
dst_start_time: 02 ; Time of day in which DST starts
dst_stop_month: Oct ; Month in which DST stops
dst_stop_day: "" ; Day of month in which DST stops
dst_stop_day_of_week: Sunday ; Day of week in which DST stops
dst_stop_week_of_month: 8 ; Week of month in which DST stops 8=last week of month
dst_stop_time: 2 ; Time of day in which DST stops
dst_auto_adjust: 1 ; Enable(1-Default)/Disable(0) DST automatic adjustment
time_format_24hr: 1 ; Enable(1 - 24Hr Default)/Disable(0 - 12Hr)

# Do Not Disturb Control (0-off, 1-on, 2-off with no user control, 3-on with no user control)
dnd_control: 0 ; Default 0 (Do Not Disturb feature is off)

# Caller ID Blocking (0-disbaled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
callerid_blocking: 0 ; Default 0 (Disable sending all calls as anonymous)

# Anonymous Call Blocking (0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
anonymous_call_block: 0 ; Default 0 (Disable blocking of anonymous calls)

# DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127)
dtmf_avt_payload: 101 ; Default 101

# Sync value of the phone used for remote reset
sync: 1 ; Default 1

####### New Parameters added in Release 2.1 #######

# Backup Proxy Support
proxy_backup: "" ; Dotted IP of Backup Proxy
proxy_backup_port: 5060 ; Backup Proxy port (default is 5060)

# Emergency Proxy Support
proxy_emergency: "" ; Dotted IP of Emergency Proxy
proxy_emergency_port: 5060 ; Emergency Proxy port (default is 5060)

# Configurable VAD option
enable_vad: 0 ; VAD setting 0-disable (Default), 1-enable

####### New Parameters added in Release 2.2 ######

# NAT/Firewall Traversal
nat_enable: 1 ; 0-Disabled (default), 1-Enabled
nat_address: "" ; WAN IP address of NAT box (dotted IP or DNS A record only)
voip_control_port: 5060 ; UDP port used for SIP messages (default - 5060)
start_media_port: 16384 ; Start RTP range for media (default - 16384)
end_media_port: 32766 ; End RTP range for media (default - 32766)
nat_received_processing: 0 ; 0-Disabled (default), 1-Enabled

# Outbound Proxy Support
outbound_proxy: "" ; restricted to dotted IP or DNS A record only
outbound_proxy_port: 5060 ; default is 5060

####### New Parameter added in Release 3.0 #######

# Allow for the bridge on a 3way call to join remaining parties upon hangup
cnf_join_enable : 1 ; 0-Disabled, 1-Enabled (default)

####### New Parameters added in Release 3.1 #######

# Allow Transfer to be completed while target phone is still ringing
semi_attended_transfer: 1 ; 0-Disabled, 1-Enabled (default)

# Telnet Level (enable or disable the ability to telnet into the phone)
telnet_level: 1 ; 0-Disabled (default), 1-Enabled, 2-Privileged

####### New Parameters added in Release 4.0 #######

# XML URLs
services_url: "" ; URL for external Phone Services
directory_url: "" ; URL for external Directory location
logo_url: "" ; URL for branding logo to be used on phone display

# HTTP Proxy Support
http_proxy_addr: "" ; Address of HTTP Proxy server
http_proxy_port: 80 ; Port of HTTP Proxy Server (80-default)

# Dynamic DNS/TFTP Support
dyn_dns_addr_1: "" ; restricted to dotted IP
dyn_dns_addr_2: "" ; restricted to dotted IP
dyn_tftp_addr: "" ; restricted to dotted IP

# Remote Party ID
remote_party_id: 0 ; 0-Disabled (default), 1-Enabled

####### New Parameters added in Release 4.4 #######

# Call Hold Ringback (0-off, 1-on, 2-off with no user control, 3-on with no user control)
call_hold_ringback: 0 ; Default 0 (Call Hold Ringback feature is off)

####### New Parameters added in Release 6.0 #######

# Dialtone Stutter for MWI
stutter_msg_waiting: 0 ; 0-Disabled (default), 1-Enabled

# RTP Call Statistics (SIP BYE/200 OK message exchange)
call_stats: 0 ; 0-Disabled (default), 1-Enabled

:idea:
effe
n00b
Messaggi: 4
Iscritto il: sab 03 dic , 2005 12:57 pm

un vecchio detto...diceva e dice...

chi fa da se fa per tre....

closed!

effe :lol:
conteverde
n00b
Messaggi: 10
Iscritto il: ven 26 mar , 2010 11:45 pm

Ciao. scusa una cosa, anche io ho un 7940, chi me lo ha dato lo ha prima resettato ora non so come i faccia a inserire dentro il firmware nuovo. all'accensione appare la schermata con scritto upgrading e po non a + nulla. come faccio ad inserire un nuovo firmware? che ip devo dase al tftp server per far vedere questo tel ?. ciao.
makroby
n00b
Messaggi: 9
Iscritto il: sab 13 mar , 2010 10:59 am

x contoverde
Segui le indicazioni contenute in questo link
http://www.greenwireit.com/blog/2009/04 ... ne-to-sip/
Avatar utente
Gibo®
n00b
Messaggi: 23
Iscritto il: gio 11 ago , 2005 3:08 pm

effe ha scritto:un vecchio detto...diceva e dice...

chi fa da se fa per tre....

closed!

effe :lol:
2 domande..

1.sei riuscito a configurare con messagenet?
2.funziona la tua conf DDNS?

grazie ciao
effe
n00b
Messaggi: 4
Iscritto il: sab 03 dic , 2005 12:57 pm

ciao le due risposte;
si sono riuscito con messagenet,
la mia configurazione con dyndns la uso ormai da anni...uptime 100% ottimo freeservice

bye f
Rispondi