J'ai la dernière version de Elastix 2.5.0-2

Route sortante:
j ai mis juste dans thunk sequence for matched routes: 0--> mon trunk sip
et optional destination on congestion --> trunks --> mon trunk sip

Route sortante:
N] sda => 334.... mon tel
prefixe au cid -->sda1
choix destination --> trunks --> mon sip

Log appel


<--- Transmitting (no NAT) to 213.215.45.230:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 213.215.45.230:5060;branch=0;received=213.215.45.2 30
From: sip:pinger@ippi.fr;tag=00e77702
To: sip:89.2.111.99:55024;tag=as38c8c520
Call-ID: 89d65087-43642f87-2cc42@213.215.45.230
CSeq: 1 OPTIONS
Server: FPBX-2.11.0(11.14.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: <sip:192.168.1.37:5060>
Accept: application/sdp
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '89d65087-43642f87-2cc42@213.215.45.230' in 32000 ms (Method: OPTIONS)
Really destroying SIP dialog '89d65087-64632f87-4ac42@213.215.45.230' Method: OPTIONS

<--- SIP read from UDP:192.168.1.121:1036 --->
INVITE sip:0616251476@192.168.1.37:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.1.121;branch=z9hG4bK5609e37ed3e378bda.0c10 6e28a4c2b7831
Route: <sip:192.168.1.37:5060;lr>
Max-Forwards: 70
From: "1002" <sip:1002@192.168.1.37:5060>;tag=d9fef05245
To: <sip:0616251476@192.168.1.37:5060;user=phone>
Call-ID: f356d01b17c88310
CSeq: 7358 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Contact: "1002" <sip:1002@192.168.1.121:5060;transport=udp>;+sip.i nstance="<urn:uuid:00000000-0000-1000-8000-00085D3F115B>"
Supported: path, 100rel, replaces
User-Agent: Aastra 6731i/3.2.2.3077
Content-Type: application/sdp
Content-Length: 616

v=0
o=MxSIP 0 1 IN IP4 192.168.1.121
s=SIP Call
c=IN IP4 89.2.111.99
t=0 0
m=audio 3000 RTP/AVP 0 18 106 107 113 110 111 112 98 97 115 96 9 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:106 BV16/8000
a=rtpmap:107 BV32/16000
a=rtpmap:113 L16/16000
a=rtpmap:110 PCMU/16000
a=rtpmap:111 PCMA/16000
a=rtpmap:112 L16/8000
a=rtpmap:98 G726-16/8000
a=rtpmap:97 G726-24/8000
a=rtpmap:115 G726-32/8000
a=rtpmap:96 G726-40/8000
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=silenceSupp:on - - - -
a=fmtp:18 annexb=yes
a=fmtp:101 0-15
a=ptime:30
a=sendrecv
<------------->
--- (15 headers 26 lines) ---
Sending to 192.168.1.121:5060 (no NAT)
Sending to 192.168.1.121:5060 (no NAT)
Using INVITE request as basis request - f356d01b17c88310
Found peer '1002' for '1002' from 192.168.1.121:1036

<--- Reliably Transmitting (no NAT) to 192.168.1.121:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.121;branch=z9hG4bK5609e37ed3e378bda.0c10 6e28a4c2b7831;received=192.168.1.121
From: "1002" <sip:1002@192.168.1.37:5060>;tag=d9fef05245
To: <sip:0616251476@192.168.1.37:5060;user=phone>;tag= as027f963c
Call-ID: f356d01b17c88310
CSeq: 7358 INVITE
Server: FPBX-2.11.0(11.14.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="01fa75c8"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'f356d01b17c88310' in 6400 ms (Method: INVITE)

<--- SIP read from UDP:192.168.1.121:1036 --->
ACK sip:0616251476@192.168.1.37:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.1.121;branch=z9hG4bK5609e37ed3e378bda.0c10 6e28a4c2b7831
Route: <sip:192.168.1.37:5060;lr>
Max-Forwards: 70
From: "1002" <sip:1002@192.168.1.37:5060>;tag=d9fef05245
To: <sip:0616251476@192.168.1.37:5060;user=phone>;tag= as027f963c
Call-ID: f356d01b17c88310
CSeq: 7358 ACK
User-Agent: Aastra 6731i/3.2.2.3077
Content-Length: 0

<------------->
--- (10 headers 0 lines) ---

<--- SIP read from UDP:192.168.1.121:1036 --->
INVITE sip:0616251476@192.168.1.37:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.1.121;branch=z9hG4bKf92fdabc0a6cc4a76.ad42 85990873d9d57
Route: <sip:192.168.1.37:5060;lr>
Max-Forwards: 70
From: "1002" <sip:1002@192.168.1.37:5060>;tag=d9fef05245
To: <sip:0616251476@192.168.1.37:5060;user=phone>
Call-ID: f356d01b17c88310
CSeq: 7359 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Authorization: Digest username="1002",realm="asterisk",nonce="01fa75c8", uri="sip:0616251476@192.168.1.37:5060;user=phone", response="945b7445f18fb0655b39e321abe13d6e",algori thm=MD5
Contact: "1002" <sip:1002@192.168.1.121:5060;transport=udp>;+sip.i nstance="<urn:uuid:00000000-0000-1000-8000-00085D3F115B>"
Supported: path, 100rel, replaces
User-Agent: Aastra 6731i/3.2.2.3077
Content-Type: application/sdp
Content-Length: 616

v=0
o=MxSIP 0 1 IN IP4 192.168.1.121
s=SIP Call
c=IN IP4 89.2.111.99
t=0 0
m=audio 3000 RTP/AVP 0 18 106 107 113 110 111 112 98 97 115 96 9 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:106 BV16/8000
a=rtpmap:107 BV32/16000
a=rtpmap:113 L16/16000
a=rtpmap:110 PCMU/16000
a=rtpmap:111 PCMA/16000
a=rtpmap:112 L16/8000
a=rtpmap:98 G726-16/8000
a=rtpmap:97 G726-24/8000
a=rtpmap:115 G726-32/8000
a=rtpmap:96 G726-40/8000
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=silenceSupp:on - - - -
a=fmtp:18 annexb=yes
a=fmtp:101 0-15
a=ptime:30
a=sendrecv
<------------->
--- (16 headers 26 lines) ---
Sending to 192.168.1.121:5060 (no NAT)
Using INVITE request as basis request - f356d01b17c88310
Found peer '1002' for '1002' from 192.168.1.121:1036
Found RTP audio format 0
Found RTP audio format 18
Found RTP audio format 106
Found RTP audio format 107
Found RTP audio format 113
Found RTP audio format 110
Found RTP audio format 111
Found RTP audio format 112
Found RTP audio format 98
Found RTP audio format 97
Found RTP audio format 115
Found RTP audio format 96
Found RTP audio format 9
Found RTP audio format 8
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format G729 for ID 18
Found unknown media description format BV16 for ID 106
Found unknown media description format BV32 for ID 107
Found audio description format L16 for ID 113
Found unknown media description format PCMU for ID 110
Found unknown media description format PCMA for ID 111
Found audio description format L16 for ID 112
Found unknown media description format G726-16 for ID 98
Found unknown media description format G726-24 for ID 97
Found audio description format G726-32 for ID 115
Found unknown media description format G726-40 for ID 96
Found audio description format G722 for ID 9
Found audio description format PCMA for ID 8
Found audio description format telephone-event for ID 101
Capabilities: us - (gsm|ulaw|alaw), peer - audio=(ulaw|alaw|g726|slin|g729|g722|slin16)/video=(nothing)/text=(nothing), combined - (ulaw|alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 89.2.111.99:3000
Looking for 0616251476 in from-internal (domain 192.168.1.37)
list_route: hop: <sip:1002@192.168.1.121:5060;transport=udp>

<--- Transmitting (no NAT) to 192.168.1.121:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.121;branch=z9hG4bKf92fdabc0a6cc4a76.ad42 85990873d9d57;received=192.168.1.121
From: "1002" <sip:1002@192.168.1.37:5060>;tag=d9fef05245
To: <sip:0616251476@192.168.1.37:5060;user=phone>
Call-ID: f356d01b17c88310
CSeq: 7359 INVITE
Server: FPBX-2.11.0(11.14.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: <sip:0616251476@192.168.1.37:5060>
Content-Length: 0


<------------>
Audio is at 11672
Adding codec 100004 (alaw) to SDP
Adding codec 100008 (g729) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 213.215.45.230:5060:
INVITE sip:0616251476@ippi.fr SIP/2.0
Via: SIP/2.0/UDP 192.168.1.37:5060;branch=z9hG4bK1f8ddc17
Max-Forwards: 70
From: "bsmnimes" <sip:bsmnimes@192.168.1.37>;tag=as5756b27b
To: <sip:0616251476@ippi.fr>
Contact: <sip:bsmnimes@192.168.1.37:5060>
Call-ID: 551dadc303ea8819446183030592179a@192.168.1.37:5060
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(11.14.1)
Date: Wed, 28 Jan 2015 11:14:14 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 283