PDA

Voir la version complète : problème appel entrant configuration ovh



kalidev
21/03/2011, 16h21
Bonjour,
Cela fait plusieurs jours que je suis bloqué dans la configuration d'asterisk.
Les appels sortant fonctionne très bien avec mes 2 lignes ovh mais au cours d'un appel entrant sur l'une ou l'autre de mes lignes je n'ai pour seul réponse: "la personne au poste xx n'est pas disponible".

Mon serveur asterisk (1.6.2.9) est derrière une bbox (port 5060 et 10000 à 15000 rediriger).

Voila ma configuration :

sip.conf


[general]
context=forfait-ovh
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
register => 003353554xxxx:MDP@sip.ovh.net:5060/003353554xxxx
register => 003353554yyyy:MDP@sip.ovh.net:5060/003353554yyyy


[kalidev1]
type=friend
auth=md5
username=kalidev1
md5secret=034093055c683d1f9aee6e49682b04fe
callerid="Kalidev 1" <003353554xxxx>
host=dynamic
context=appel-sortant
language=fr
insecure=port
nat=no
canreinvite=no
dtmfmode=auto
video=no
restrictcid=no
amaflags=default

[kalidev2]
type=friend
auth=md5
username=kalidev2
md5secret=da61f0014fa319d2ffaebc8472e008a1
callerid="Kalidev 2" <003353554yyyy>
host=dynamic
context=appel-sortant2
language=fr
insecure=port
nat=no
canreinvite=no
dtmfmode=auto
video=no
restrictcid=no
amaflags=default

[forfait-ovh]
type=peer
host=sip.ovh.net
fromuser=003353554xxxx
fromdomain=sip.ovh.net
context=ovh-sip
language=fr
insecure=port,invite
username=003353554xxxx
secret=MDP
nat=yes
canreinvite=no
dtmfmode=auto
video=no
restrictcid=no
amaflags=default
qualify=yes

[forfait-ovh2]
type=peer
host=sip.ovh.net
fromuser=003353554yyyy
fromdomain=sip.ovh.net
context=ovh-sip
language=fr
insecure=port,invite
username=003353554yyyy
secret=MDP
nat=yes
canreinvite=no
dtmfmode=auto
video=no
restrictcid=no
amaflags=default
qualify=yes


extention.conf


[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no

;[globals]
;CONSOLE=Console/dsp
;IAXINFO=guest
;TRUNK=Zap/g2
;TRUNKMSD=1

[ovh-sip] ; nom du plan

exten => s,1,Answer()
exten => s,n,Dial(SIP/100)
exten => s,n,Hangup
exten => s,i,Hangup


exten => 0033535541286,1,Dial(SIP/kalidev1)
exten => 0033535541287,1,Dial(SIP/kalidev2)

[appel-sortant]
; Cette partie gere les appels sortants
exten => _X.,1,Dial(SIP/${EXTEN}@forfait-ovh) ; Sur cette ligne allons appeler en passant par la section [forfait-ovh] du fichier sip.conf

[appel-sortant2]
; Cette partie gere les appels sortants
exten => _X.,1,Dial(SIP/${EXTEN}@forfait-ovh2) ; Sur cette ligne allons appeler en passant par la section [forfait-ovh] du fichier sip.conf

le debug CLI :


<------------->
--- (11 headers 0 lines) ---
Scheduling destruction of SIP dialog '490cc126558d31942b8acc4d67b75e01@127.0.1.1' in 32000 ms (Method: REGISTER)
[Mar 21 15:25:22] NOTICE[7368]: chan_sip.c:18270 handle_response_register: Outbound Registration: Expiry for sip.ovh.net is 120 sec (Scheduling reregistration in 105 s)
Reliably Transmitting (NAT) to 91.121.129.17:5060:
OPTIONS sip:sip.ovh.net SIP/2.0
Via: SIP/2.0/UDP 192.168.1.10:5060;branch=z9hG4bK6968a22d;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@192.168.1.10>;tag=as6bc0bd45
To: <sip:sip.ovh.net>
Contact: <sip:asterisk@192.168.1.10>
Call-ID: 49e3754a77bcf74b7d8280b527ced8f2@192.168.1.10
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.6.2.9-2
Date: Mon, 21 Mar 2011 14:25:46 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0


---

<--- SIP read from UDP:91.121.129.17:5060 --->
SIP/2.0 501 Not Implemented
Allow: UPDATE,REFER,INFO
Call-ID: 49e3754a77bcf74b7d8280b527ced8f2@192.168.1.10
CSeq: 102 OPTIONS
From: "asterisk" <sip:asterisk@192.168.1.10>;tag=as6bc0bd45
Server: Cirpack/v4.42s (gw_sip)
To: <sip:sip.ovh.net>;tag=00-07978-5df31608-2a73d8780
Via: SIP/2.0/UDP 192.168.1.10:5060;received=87.90.83.115;rport=5060 ;branch=z9hG4bK6968a22d
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Really destroying SIP dialog '49e3754a77bcf74b7d8280b527ced8f2@192.168.1.10' Method: OPTIONS
Reliably Transmitting (NAT) to 91.121.129.17:5060:
OPTIONS sip:sip.ovh.net SIP/2.0
Via: SIP/2.0/UDP 192.168.1.10:5060;branch=z9hG4bK49f2c98f;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk@192.168.1.10>;tag=as73a5ee28
To: <sip:sip.ovh.net>
Contact: <sip:asterisk@192.168.1.10>
Call-ID: 16b1e1145f9b677679e08e521b8a0fc4@192.168.1.10
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.6.2.9-2
Date: Mon, 21 Mar 2011 14:25:46 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0


---

<--- SIP read from UDP:91.121.129.17:5060 --->
SIP/2.0 501 Not Implemented
Allow: UPDATE,REFER,INFO
Call-ID: 16b1e1145f9b677679e08e521b8a0fc4@192.168.1.10
CSeq: 102 OPTIONS
From: "asterisk" <sip:asterisk@192.168.1.10>;tag=as73a5ee28
Server: Cirpack/v4.42s (gw_sip)
To: <sip:sip.ovh.net>;tag=00-08082-5df31615-1828b0b05
Via: SIP/2.0/UDP 192.168.1.10:5060;received=87.90.83.115;rport=5060 ;branch=z9hG4bK49f2c98f
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Really destroying SIP dialog '16b1e1145f9b677679e08e521b8a0fc4@192.168.1.10' Method: OPTIONS

<--- SIP read from UDP:192.168.1.20:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK9eba6430d94b91cb6d f745c95c5319f8;rport
From: "kalidev 2" <sip:kalidev2@192.168.1.10>;tag=250346009
To: "kalidev 2" <sip:kalidev2@192.168.1.10>
Call-ID: 1219423529@192_168_1_20
CSeq: 12906 REGISTER
Contact: <sip:kalidev2@192.168.1.20:5060>
Max-Forwards: 70
User-Agent: A580 IP021920000000
Expires: 180
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0


<------------->
--- (12 headers 0 lines) ---
Sending to 192.168.1.20 : 5060 (no NAT)

<--- Transmitting (NAT) to 192.168.1.20:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK9eba6430d94b91cb6d f745c95c5319f8;received=192.168.1.20;rport=5060
From: "kalidev 2" <sip:kalidev2@192.168.1.10>;tag=250346009
To: "kalidev 2" <sip:kalidev2@192.168.1.10>;tag=as027ba0fa
Call-ID: 1219423529@192_168_1_20
CSeq: 12906 REGISTER
Server: Asterisk PBX 1.6.2.9-2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="3a208742"
Content-Length: 0


J'ai des erreurs que je ne comprends pas 401 et 501 mon problème pourrait'il venir de là ?

J'espère que vous aurez tous les éléments pour me sortir de se problème.

Merci de votre aide
Cordialement

Reaper
21/03/2011, 16h49
La trace SIP ne montre rien. Il te manque la trace de CLI pendant l'appel entrant, colle la ici.
J'ai supprimé mon dernier message puisque tu as déjà le renvoie vers numéro correct.

Kalivev1 et 2 est connecté ?

kalidev
22/03/2011, 09h51
La trace SIP ne montre rien. Il te manque la trace de CLI pendant l'appel entrant, colle la ici.
J'ai supprimé mon dernier message puisque tu as déjà le renvoie vers numéro correct.

Kalivev1 et 2 est connecté ?

Bonjour,

oui, les deux téléphone kalidev 1 et 2 sont connectés. Dans la CLI je met la verbose à 10 mais je n'ai rien qui s'affiche lors d'un appel entrant, comme si l'appel n'atteignait pas mon serveur.


prodserver*CLI> sip show registry
Host dnsmgr Username Refresh State Reg.Time
sip.ovh.net:5060 N 0033535541xx 105 Registered Tue, 22 Mar 2011 09:01:34
sip.ovh.net:5060 N 0033535541yy 105 Registered Tue, 22 Mar 2011 09:02:37



prodserver*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
forfait-ovh/0033535541xxx 91.121.129.17 N 5060 OK (61 ms)
forfait-ovh2/003353554yyy 91.121.129.17 N 5060 OK (60 ms)
kalidev1/kalidev1 192.168.1.20 D N 5060 Unmonitored
kalidev2/kalidev2 192.168.1.20 D N 5060 Unmonitored
4 sip peers [Monitored: 2 online, 0 offline Unmonitored: 2 online, 0 offline]


Pour un appel sortant par contre j'ai bien les messages :

Verbosity was 5 and is now 10
== Using SIP RTP CoS mark 5
-- Executing [06731705xx@appel-sortant:1] Dial("SIP/kalidev1-0000000a", "SIP/06731705xx@forfait-ovh") in new stack
== Using SIP RTP CoS mark 5
-- Called 06731705xx@forfait-ovh
-- SIP/forfait-ovh-0000000b is ringing
-- SIP/forfait-ovh-0000000b is making progress passing it to SIP/kalidev1-0000000a
== Spawn extension (appel-sortant, 06731705xx, 1) exited non-zero on 'SIP/kalidev1-0000000a'


Merci de ton aide

Reaper
22/03/2011, 10h55
Alors active le sip debug sur le téléphone concerné, et sur tes fournisseurs, appelle et colle tout sur pastebin, ou dans un fichier et l'attache ici.

kalidev
22/03/2011, 11h10
Alors active le sip debug sur le téléphone concerné, et sur ton fournisseurs, appelle et colle tout sur pastebin, ou dans un fichier et l'attache ici.

Il ne se passe rien avec le sip set debug peer kalidev1 et même sip set debug on.

Aucune trace

Reaper
22/03/2011, 11h21
et sur ton fournisseur
Colle tout ici je te dis.

kalidev
22/03/2011, 11h33
voila ce que j'ai avec sip debug sur le fournisseur et le téléphone concerné :


<--- SIP read from UDP:192.168.1.20:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK7661e6afeb5feb59aa 739d1eb44f4d7;rport
From: "kalidev1" <sip:kalidev1@192.168.1.10>;tag=1694489133
To: "kalidev1" <sip:kalidev1@192.168.1.10>
Call-ID: 2652774740@192_168_1_20
CSeq: 10999 REGISTER
Contact: <sip:kalidev1@192.168.1.20:5060>
Max-Forwards: 70
User-Agent: A580 IP021920000000
Expires: 180
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0


<------------->
--- (12 headers 0 lines) ---
Sending to 192.168.1.20 : 5060 (no NAT)

<--- Transmitting (no NAT) to 192.168.1.20:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK7661e6afeb5feb59aa 739d1eb44f4d7;received=192.168.1.20;rport=5060
From: "kalidev1" <sip:kalidev1@192.168.1.10>;tag=1694489133
To: "kalidev1" <sip:kalidev1@192.168.1.10>;tag=as79e3afc6
Call-ID: 2652774740@192_168_1_20
CSeq: 10999 REGISTER
Server: Asterisk PBX 1.6.2.9-2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="62adcae5"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '2652774740@192_168_1_20' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:192.168.1.20:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK6cb7fd43a5a9909589 42e8acefbc9068;rport
From: "kalidev1" <sip:kalidev1@192.168.1.10>;tag=1694489133
To: "kalidev1" <sip:kalidev1@192.168.1.10>
Call-ID: 2652774740@192_168_1_20
CSeq: 11000 REGISTER
Contact: <sip:kalidev1@192.168.1.20:5060>
Authorization: Digest username="kalidev1", realm="asterisk", algorithm=MD5, uri="sip:192.168.1.10", nonce="62adcae5", response="5454a87e3f25dee5e45d95aaacd0e2cc"
Max-Forwards: 70
User-Agent: A580 IP021920000000
Expires: 180
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0


<------------->
--- (13 headers 0 lines) ---
Sending to 192.168.1.20 : 5060 (no NAT)

<--- Transmitting (no NAT) to 192.168.1.20:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK6cb7fd43a5a9909589 42e8acefbc9068;received=192.168.1.20;rport=5060
From: "kalidev1" <sip:kalidev1@192.168.1.10>;tag=1694489133
To: "kalidev1" <sip:kalidev1@192.168.1.10>;tag=as79e3afc6
Call-ID: 2652774740@192_168_1_20
CSeq: 11000 REGISTER
Server: Asterisk PBX 1.6.2.9-2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Expires: 180
Contact: <sip:kalidev1@192.168.1.20:5060>;expires=180
Date: Tue, 22 Mar 2011 09:44:48 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '2652774740@192_168_1_20' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:192.168.1.20:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK3e8ec846d6facef21f 0a2dd424d323d9;rport
From: "kalidev 2" <sip:kalidev2@192.168.1.10>;tag=260232850
To: "kalidev 2" <sip:kalidev2@192.168.1.10>
Call-ID: 1219423529@192_168_1_20
CSeq: 13700 REGISTER
Contact: <sip:kalidev2@192.168.1.20:5060>
Max-Forwards: 70
User-Agent: A580 IP021920000000
Expires: 180
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0


<------------->
--- (12 headers 0 lines) ---
Sending to 192.168.1.20 : 5060 (no NAT)

<--- Transmitting (no NAT) to 192.168.1.20:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK3e8ec846d6facef21f 0a2dd424d323d9;received=192.168.1.20;rport=5060
From: "kalidev 2" <sip:kalidev2@192.168.1.10>;tag=260232850
To: "kalidev 2" <sip:kalidev2@192.168.1.10>;tag=as7b678c2d
Call-ID: 1219423529@192_168_1_20
CSeq: 13700 REGISTER
Server: Asterisk PBX 1.6.2.9-2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="15f2f0d7"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '1219423529@192_168_1_20' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:192.168.1.20:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK74c89957c85cc13150 9a64262982de0e;rport
From: "kalidev 2" <sip:kalidev2@192.168.1.10>;tag=260232850
To: "kalidev 2" <sip:kalidev2@192.168.1.10>
Call-ID: 1219423529@192_168_1_20
CSeq: 13701 REGISTER
Contact: <sip:kalidev2@192.168.1.20:5060>
Authorization: Digest username="kalidev2", realm="asterisk", algorithm=MD5, uri="sip:192.168.1.10", nonce="15f2f0d7", response="6a14cf5a06890be3d48d57d27ac466d6"
Max-Forwards: 70
User-Agent: A580 IP021920000000
Expires: 180
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0


<------------->
--- (13 headers 0 lines) ---
Sending to 192.168.1.20 : 5060 (no NAT)

<--- Transmitting (no NAT) to 192.168.1.20:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK74c89957c85cc13150 9a64262982de0e;received=192.168.1.20;rport=5060
From: "kalidev 2" <sip:kalidev2@192.168.1.10>;tag=260232850
To: "kalidev 2" <sip:kalidev2@192.168.1.10>;tag=as7b678c2d
Call-ID: 1219423529@192_168_1_20
CSeq: 13701 REGISTER
Server: Asterisk PBX 1.6.2.9-2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Expires: 180
Contact: <sip:kalidev2@192.168.1.20:5060>;expires=180
Date: Tue, 22 Mar 2011 09:44:48 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '1219423529@192_168_1_20' in 32000 ms (Method: REGISTER)
prodserver*CLI>

kalidev
22/03/2011, 11h35
voila ce que j'ai si je passe un appel :



<--- Transmitting (no NAT) to 192.168.1.20:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK5ec10b8b137f724892 68ba8050973fae;received=192.168.1.20;rport=5060
From: "kalidev1" <sip:kalidev1@192.168.1.10>;tag=1446470539
To: <sip:06731705xx@192.168.1.10>;user=phone;tag=as390c2a3f
Call-ID: 3641468165@192_168_1_20
CSeq: 3 INVITE
Server: Asterisk PBX 1.6.2.9-2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: <sip:06731705xx@192.168.1.10>
Content-Length: 0


<------------>
Audio is at 192.168.1.10 port 13190
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP

<--- Transmitting (no NAT) to 192.168.1.20:5060 --->
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK5ec10b8b137f724892 68ba8050973fae;received=192.168.1.20;rport=5060
From: "kalidev1" <sip:kalidev1@192.168.1.10>;tag=1446470539
To: <sip:06731705xx@192.168.1.10>;user=phone;tag=as390c2a3f
Call-ID: 3641468165@192_168_1_20
CSeq: 3 INVITE
Server: Asterisk PBX 1.6.2.9-2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: <sip:06731705xx@192.168.1.10>
Content-Type: application/sdp
Content-Length: 260

v=0
o=root 152311073 152311073 IN IP4 192.168.1.10
s=Asterisk PBX 1.6.2.9-2
c=IN IP4 192.168.1.10
t=0 0
m=audio 13190 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

<------------>

<--- SIP read from UDP:192.168.1.20:5060 --->
CANCEL sip:06731705xx@192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK5ec10b8b137f724892 68ba8050973fae;rport
From: "kalidev1" <sip:kalidev1@192.168.1.10>;tag=1446470539
To: <sip:06731705xx@192.168.1.10>;user=phone
Call-ID: 3641468165@192_168_1_20
CSeq: 3 CANCEL
Contact: <sip:kalidev1@192.168.1.20:5060>
Authorization: Digest username="kalidev1", realm="asterisk", algorithm=MD5, uri="sip:06731705xx@192.168.1.10", nonce="17667a62", response="41d4678f083049f066476f80d4b380e8"
Max-Forwards: 70
User-Agent: A580 IP021920000000
Content-Length: 0


<------------->
--- (11 headers 0 lines) ---
Sending to 192.168.1.20 : 5060 (no NAT)

<--- Reliably Transmitting (no NAT) to 192.168.1.20:5060 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK5ec10b8b137f724892 68ba8050973fae;received=192.168.1.20;rport=5060
From: "kalidev1" <sip:kalidev1@192.168.1.10>;tag=1446470539
To: <sip:06731705xx@192.168.1.10>;user=phone;tag=as390c2a3f
Call-ID: 3641468165@192_168_1_20
CSeq: 3 INVITE
Server: Asterisk PBX 1.6.2.9-2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0


<------------>

<--- Transmitting (no NAT) to 192.168.1.20:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK5ec10b8b137f724892 68ba8050973fae;received=192.168.1.20;rport=5060
From: "kalidev1" <sip:kalidev1@192.168.1.10>;tag=1446470539
To: <sip:06731705xx@192.168.1.10>;user=phone;tag=as390c2a3f
Call-ID: 3641468165@192_168_1_20
CSeq: 3 CANCEL
Server: Asterisk PBX 1.6.2.9-2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0


<------------>

<--- SIP read from UDP:192.168.1.20:5060 --->
ACK sip:06731705xx@192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK5ec10b8b137f724892 68ba8050973fae;rport
From: "kalidev1" <sip:kalidev1@192.168.1.10>;tag=1446470539
To: <sip:06731705xx@192.168.1.10>;user=phone;tag=as390c2a3f
Call-ID: 3641468165@192_168_1_20
CSeq: 3 ACK
Contact: <sip:kalidev1@192.168.1.20:5060>
Authorization: Digest username="kalidev1", realm="asterisk", algorithm=MD5, uri="sip:06731705xx@192.168.1.10", nonce="17667a62", response="fdea256982ac7f340489f95dfba9f231"
Max-Forwards: 70
User-Agent: A580 IP021920000000
Content-Length: 0


<------------->
--- (11 headers 0 lines) ---
Really destroying SIP dialog '3641468165@192_168_1_20' Method: ACK
[Mar 22 10:47:21] NOTICE[8131]: chan_sip.c:11528 sip_reregister: -- Re-registration for 0033535541287@sip.ovh.net
[Mar 22 10:47:21] NOTICE[8131]: chan_sip.c:18270 handle_response_register: Outbound Registration: Expiry for sip.ovh.net is 120 sec (Scheduling reregistration in 105 s)
prodserver*CLI>

Reaper
22/03/2011, 11h41
Bonjour, la trace est incomplète, colle les traces sur pastebin (again)
Et chaque fois il faut spécifier si c'est un appel sortant ou entrant.

En tout cas on vois que c'est le 192.168.1.20 qui termine le communication.

Je vous demande les traces complètes de l'appel qui ne fonctionne pas pour la dernière fois.

kalidev
22/03/2011, 12h01
Bonjour, la trace est incomplète, colle les traces sur pastebin (again)
Et chaque fois il faut spécifier si c'est un appel sortant ou entrant.

En tout cas on vois que c'est le 192.168.1.20 qui termine le communication.

Je vous demande les traces complètes de l'appel qui ne fonctionne pas pour la dernière fois.

désolé je pense que je comprend pas ce dont vous avez besoin, je vous explique ma démarche dite moi ce que je fais de mal (ou ce que je ne fais pas bien sur):

J'ai fait un sip set debug sur mon fournisseur ainsi que mon téléphone
les traces s'affiche sur ma console, je passe un appel (entrant) sur mon téléphone et effectue un copier coller de tous les message à l'écran (#7) (chose qui n'est pas aisé puisque putty à une taille d'écran limité et que les messages continue d'arriver) les messages qui arrivent sont toujours les mêmes et ils me semblent sont des connexions au serveur ovh ... mais je n'ai rien de plus lors d'un appel entrant.

C'est pourquoi ensuite j'ai copier coller la trace d'un appel sortant (#8) pour confirmer que j'étais au bonne endroit et que j'effectuai la bonne manipulation, (c'est bien moi qui est raccrocher avant de décrocher avec l'autre téléphone).

Il y a t il une autre façon de faire que tu copier coller de la CLI j'ai cherché mais je n'ai pas trouvé la façon de créer un fichier avec les messages affichés.

J'essaie vraiment de faire de mon mieux pour vous fournir ce qui pourrait vous servir à m'aider.

Encore merci de me consacrer du temps.

kalidev
22/03/2011, 12h43
J'ai l'impression que l'appel n'arrive même pas jusqu'à asterisk.

Les ports sont bien ouvert pourtant et le register est bon.