Bonjour à tous,
Je suis en train de mettre en place un serveur Astérisk en place avec X compte SIP OVH.
Les appels sortant fonctionnes, par contre lors ce que j'essaie d'appeler mes numéros, j'ai le problème suivant :
Quand j'appelle le 0033366XXXX82, j'ai ca dans ma CLI :
[Oct 19 16:46:09] NOTICE[12396]: chan_sip.c:14441 handle_request_invite: Call from '0033366XXXX29' to extension 's' rejected because extension not found.
Quand j'appelle le 0033366XXXX29, j'ai ca dans ma CLI :
[Oct 19 16:46:09] NOTICE[12396]: chan_sip.c:14441 handle_request_invite: Call from '0033366XXXX29' to extension 's' rejected because extension not found.
Mais aucun de mes appels abouti...
Je bloque et je ne trouve aucune solution, please help me !!!
Mon sip.conf :
Mon extension.conf :Code:[general] context = VoIP-OVH bindport = 5060 bindaddr = 0.0.0.0 srvlookup = yes ;######################## Registers register => 0033366XXXX82:pass@sip.ovh.net ; 400 register => 0033366XXXX29:pass@sip.ovh.net ; 415 ;######################## Configuration SIP du compte : 400 - Sophie [400] type = friend username = 400 secret = XXXXX callerid = "Sophie" <400> host = dynamic context = VoIP-OVH-OUT language = fr insecure = port nat = yes canreinvite = no dtmfmode = auto video = no restrictcid = no amaflags = default [VoIP-OVH-400] type = peer host = sip.ovh.net context = VoIP-OVH language = fr insecure = port,invite username = 0033366XXXX82 fromuser = 0033366XXXX82 fromdomain = sip.ovh.net secret = pass nat = yes canreinvite = no dtmfmode = auto video = no restrictcid = no amaflags = default ;######################## Configuration SIP du compte : 415 - Benoît [415] type = friend username = 415 secret = XXXXX callerid = "Benoit" <415> host = dynamic context = VoIP-OVH-OUT language = fr insecure = port nat = yes canreinvite = no dtmfmode = auto video = no restrictcid = no amaflags = default [VoIP-OVH-415] type = peer host = sip.ovh.net context = VoIP-OVH language = fr insecure = port,invite username = 0033366XXXX29 fromuser = 0033366XXXX29 fromdomain = sip.ovh.net secret = pass nat = yes canreinvite = no dtmfmode = auto video = no restrictcid = no amaflags = default
Bien entendu, les numéros sont entiers.Code:[general] static = yes writeprotect = no autofallthrough = yes clearglobalvars = no priorityjumping = no [globals] CONSOLE = Console/dsp IAXINFO = guest TRUNK = Zap/g2 TRUNKMSD = 1 ; Cette partie gere les appels entrants [VoIP-OVH] exten => 0033366XXXX82,1,Wait(1) exten => 0033366XXXX82,2,Answer exten => 0033366XXXX82,3,Dial(SIP/400) exten => 0033366XXXX82,4,Hangup() exten => 0033366XXXX29,1,Wait(1) exten => 0033366XXXX29,2,Answer exten => 0033366XXXX29,3,Dial(SIP/415) exten => 0033366XXXX29,4,Hangup() ; Cette partie gere les appels sortants [VoIP-OVH-OUT] ;##### Appel INTERNE exten => 400,1,Dial(SIP/400) exten => 415,1,Dial(SIP/415) ;##### Appel EXTERNE exten => _X.,1,Dial(SIP/${EXTEN}@VoIP-OVH-400)
D'avance, merci pour vos réponses et votre aide.


Répondre avec citation
