[Asterisk-Dev] INVITE URI from contact?

William Lloyd wlloyd at slap.net
Thu Sep 15 15:21:33 MST 2005


I'm looking into a case of different behavior between Asterisk 1.0  
and the new CVS HEAD.

Specifically the termination company that I'm sending SIP requests  
to.  When Asterisk sends the initial
INVITE <sip:122222222 at asdf.com>

Then other end responds with a 407. In the 407 the Contact header  
contains a session code or something.

The difference arises in that Asterisk 1.0 the Contact URI is ignored  
and the original INVITE request URI is used again this time with  
authentication credentials.

In Asterisk HEAD the new INVITE is done with the Contact header that  
was received in the 407.

Something like
INVITE <sip:DFSGRTH-YS4ed at asdf.com>

this request is basically crap and the call never succeeds because  
the URI is only a session ID not a destination.

The question I have is this expected behavior?

Who's wrong?

-bill
wlloyd at slap.net







More information about the asterisk-dev mailing list