Deux questions:
* Tu ne semble pas utiliser l'authentification ? Tu as défini un 'Location' Lausanne,mais tu ne l'utilises nulle part...
* Pour qu'un Asterisk se connecte au Patton en SIP avec le patton fonctionnant comme registrar, il faut un license payante en plus ? (en tout cas l'année dernière cétait obligatoire).
Voici un exemple de fichier de configuration pour un patton 4960 (E1/T1)
Code:#----------------------------------------------------------------# # # # SN4960/1E15V # # R5.4 2009-09-22 H323 RBS SIP # # 2010-09-03T09:30:26 # # SN/00A0BA04F8BC # # Generated configuration file # # # #----------------------------------------------------------------# cli version 3.20 dns-client server IP Du Serveur DNS du réseau webserver port 80 language en sntp-client sntp-client server primary Adresse IP du serveur SNTP port 123 version 4 system ic voice 0 system clock-source 1 e1t1 0 0 profile ppp default profile tone-set default profile voip default codec 1 g711ulaw64k rx-length 20 tx-length 20 codec 2 g711alaw64k rx-length 20 tx-length 20 dtmf-relay rtp rtp traffic-class local-default fax transmission 1 relay t38-udp fax transmission 2 bypass g711ulaw64k fax transmission 3 bypass g711alaw64k fax redundancy low-speed 2 high-speed 2 fax volume -9.0 fax detection fax-frames fax bypass-method nse modem transmission 1 bypass g711alaw64k no modem detection on-remote-fax-request modem bypass-method nse profile voip Test codec 1 g711ulaw64k rx-length 20 tx-length 20 no-silence-suppression codec 2 g711alaw64k rx-length 20 tx-length 20 no-silence-suppression no high-pass-filter no post-filter dtmf-relay inband rtp traffic-class local-default dejitter-max-delay 100 fax transmission 1 bypass g711ulaw64k fax transmission 2 bypass g711alaw64k fax detection fax-frames modem transmission 1 bypass g711ulaw64k modem transmission 2 bypass g711alaw64k modem bypass-method nse profile pstn default profile sip default profile aaa default method 1 local method 2 none context ip router interface IF_IP_LAN ipaddress Adresse IP du Serveur Asterisk 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 Adresse IP de la passerelle reseau 1 context cs switch interface isdn IF_E1_00 route call dest-interface IF_SIP_IN interface sip IF_SIP_IN bind context sip-gateway GW_SIP_IN remote Adresse IP du serveur Asterisk 5060 early-connect early-disconnect interface sip IF_SIP_OUT bind context sip-gateway GW_SIP_OUT route call dest-interface IF_E1_00 early-connect early-disconnect use profile voip Test interface sip IF_SIP_FAX bind context sip-gateway GW_SIP_FAX route call dest-interface IF_E1_00 use profile voip Test context cs switch no shutdown authentication-service 10000 realm 1 Adresse IP Serveur Asterisk location-service Lausanne domain 1 Adresse IP Serveur Asterisk 5060 context sip-gateway GW_SIP_IN interface LAN bind interface IF_IP_LAN context router port 5064 context sip-gateway GW_SIP_IN no shutdown context sip-gateway GW_SIP_OUT interface LAN bind interface IF_IP_LAN context router port 5060 context sip-gateway GW_SIP_OUT no shutdown context sip-gateway GW_SIP_FAX interface LAN bind interface IF_IP_LAN context router port 7079 context sip-gateway GW_SIP_FAX no shutdown port ethernet 0 0 medium auto encapsulation ip bind interface IF_IP_LAN router no shutdown port ethernet 0 1 medium auto encapsulation ip shutdown port e1t1 0 0 port-type e1 clock slave framing crc4 encapsulation q921 q921 uni-side auto encapsulation q931 q931 protocol dss1 uni-side user bchan-number-order ascending encapsulation cc-isdn bind interface IF_E1_00 switch port e1t1 0 0 no shutdown





Répondre avec citation
