-
Problème asterisk après 2 heures d'utilisation + SPA3102
Bonjour,
je me tourne vers vous car j'ai un problème, je suis débutant dans asterisk et la VOIP en général.
Je commence doucement avec asterisk possédant un NAS je me suis mis dans l'idée de mettre asterisk sur mon nas, je ne possède pas encore de compte VOIP chez un provider donc je passe par ma ligne analogique via un SPA3102
J'ai suivis plusieurs tuto sur internet et j'ai réussi à configurer mon SPA3102 + mon asterisk pour recevoir et émettre des appels, tout fonctionne.
Mais ( et la voilà le problème ) après un certain temps d'activité de mon asterisk , je ne reçois plus les appels entrants , je vois que sur mon SPA3102 l'appel arrive correctement , mais rien sur l asterisk.
Je pense que ma config concernant le trunk est correct ( sans être certains) + dial + incomming et outgoing call
Voilà je ne sais pas ce que je peux vous mettre comme fichier de config n'hésitez pas à me demander.
Merci de vos réponses.
-
Je vous met quelques log lors d'un incoming call :
192.168.1.247 est l'ip de mon SPA3102
192.168.1.150 IP PABX
La l'appel passe bien :
<--- SIP read from UDP:192.168.1.247:5060 --->
INVITE sip:08xxxxxxx4@192.168.1.150 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.247:5060;branch=z9hG4bK-8297b1c5
From: <sip:04xxxxxxxx@192.168.1.150>;tag=7d101143169c5f1 5o1
To: <sip:08xxxxxxx@192.168.1.150>
Remote-Party-ID: <sip:04xxxxxxxx@192.168.1.150>;screen=yes;party=ca lling
Call-ID: a542075b-60391fdd@192.168.1.247
CSeq: 101 INVITE
Max-Forwards: 70
Contact: <sip:04xxxxxxxx@192.168.1.247:5060>
Expires: 240
User-Agent: Linksys/SPA3102-5.2.13(GW002)
Content-Length: 448
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura, replaces
Content-Type: application/sdp
v=0
o=- 31933693 31933693 IN IP4 192.168.1.247
s=-
c=IN IP4 192.168.1.247
t=0 0
m=audio 16444 RTP/AVP 0 2 4 8 18 96 97 98 100 101
a=rtpmap:0 PCMU/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:4 G723/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729a/8000
a=rtpmap:96 G726-40/8000
a=rtpmap:97 G726-24/8000
a=rtpmap:98 G726-16/8000
a=rtpmap:100 NSE/8000
a=fmtp:100 192-193
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
<------------->
--- (15 headers 20 lines) ---
== Using SIP RTP CoS mark 5
Sending to 192.168.1.247 : 5060 (NAT)
Using INVITE request as basis request - a542075b-60391fdd@192.168.1.247
Found peer 'pstn' for '04xxxxxxxx' from 192.168.1.247:5060
Found RTP audio format 0
Found RTP audio format 2
Found RTP audio format 4
Found RTP audio format 8
Found RTP audio format 18
Found RTP audio format 96
Found RTP audio format 97
Found RTP audio format 98
Found RTP audio format 100
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format G726-32 for ID 2
Found audio description format G723 for ID 4
Found audio description format PCMA for ID 8
Found audio description format G729a for ID 18
Found audio description format G726-40 for ID 96
Found audio description format G726-24 for ID 97
Found audio description format G726-16 for ID 98
Found audio description format NSE for ID 100
Found audio description format telephone-event for ID 101
Capabilities: us - 0x10e (gsm|ulaw|alaw|g729), peer - audio=0x100d0d (g723|ulaw|alaw|g726|g729|ilbc|h263p)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x10c (ulaw|alaw|g729)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 192.168.1.247:16444
Looking for 08xxxxxxx in DID_pstn (domain 192.168.1.150)
list_route: hop: <sip:04xxxxxxxx@192.168.1.247:5060>
<--- Transmitting (NAT) to 192.168.1.247:5060 --->
SIP/2.0 100 Trying
La après un certain temps d'activité ( je pense que c'est la que cela bloque ):
<------------->
--- (16 headers 20 lines) ---
Sending to 192.168.1.247 : 5060 (NAT)
Using INVITE request as basis request - a10e3313-2cb71cd1@192.168.1.247
Found peer 'pstn' for '04xxxxxxxxx' from 192.168.1.247:5060
<--- Transmitting (NAT) to 192.168.1.247:5060 --->
SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP 192.168.1.247:5060;branch=z9hG4bK-370f2f65;received=192.168.1.247
From: <sip:049xxxxxxxx@192.168.1.150>;tag=bbd60e2b1baf3c 99o1
To: <sip:08xxxxxxx@192.168.1.150>;tag=as6b8e9ff0
Call-ID: a10e3313-2cb71cd1@192.168.1.247
CSeq: 102 INVITE
Server: Asterisk PBX 1.6.2.24
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
Règles de messages
- Vous ne pouvez pas créer de nouvelles discussions
- Vous ne pouvez pas envoyer des réponses
- Vous ne pouvez pas envoyer des pièces jointes
- Vous ne pouvez pas modifier vos messages
-
Règles du forum