[solved][Asterisk configuration]Strange behavior

Hello,

I would like to make a simple call using Asterisk,SIP between 2 terminals Xlite. My configuration is below

sip.conf

[3000]
type=friend
username=3000
host=dynamic
context=test

[3001]
type=friend
username=3001
host=dynamic
context=test

extensions.conf:

[test]
exten => 3000,1,Dial(SIP/3000)
exten => 3001,1,Dial(SIP/3001)

I have a very strange result like that:


3000 -------------------------- Asterisk -----------------------------3001

-------- Invite -------------------->
<------- 100 Trying ----------------
                                    -------------- Invite ------------->
<------- 180 Ringing ---------------- <------- 180 Ringing ----------------
<------- 200 OK        ---------------- <------- 200 OK ----------------
                                     -------------- Invite ------------->
-----------ACK----------------------->-------------------ACK-------------->

<----------Invite-----------------------

All Invite messages are Invite with SDP content, why I had a message invite sent from Asterisk to “3000” whereas I made a call from 3000 to 3001?

I have tested that with Asterisk 1.4.7, 1.4.9,1.2.23, there is always this pb.

Is it a bug or my configuration is false?

Thanks,

If I add ‘t’ at the end, the pb is fixed, like that

exten => 3000,1,Dial(SIP/3000,30,t)

What is the difference?

Thanks