[SIPForum-discussion] Record Route and "via" rules

Luckow , Roy roy.luckow at sueddeutscher-verlag.de
Fri Jun 4 08:09:06 UTC 2010


Hi,

Im experiencing 2 problems with external servers that are not disconnecting my call correctly. The communication is running over a SIP Proxy but the external switch suddenly tries to communicate directly with my switch.

Here my Scenario: (I have 1 Proxy with 2 addresses 5.5.5.1 and 5.5.5.2, both are fine for connections)

server1 (1.1.1.1)                              Proxy (5.5.5.1)                                 Server2 (2.2.2.2)                                             Proxy (5.5.5.2)

-------------------------------------->
(1)
INVITE
From: \"ISDN AMT \" <sip:+49123456 at 1.1.1.1;user=phone>;
To: <sip:49654321 at 2.2.2.2;user=phone>
Via: SIP/2.0/UDP 1.1.1.1:5060;
Contact: <sip:+49123456 at 1.1.1.1:5060;transport=udp;maddr=1.1.1.1
P-Asserted-Identity: \"ISDN AMT \" <sip:+49123456 at 1.1.1.1

                                                                              -------------------------------------->
                                                               (2)
INVITE
                                                               Record-Route: <sip:5.5.5.2;
From: \"ISDN AMT \" <sip:+49123456 at 1.1.1.1;user=phone>;
To: <sip:49654321 at 2.2.2.2;user=phone>
Via: SIP/2.0/UDP 5.5.5.2:5060;
                                                                              Via: SIP/2.0/UDP 1.1.1.1:5060;
 CSeq: 3987 INVITE
Contact: <sip:+49123456 at 1.1.1.1:5060;transport=udp;maddr=1.1.1.1
P-Asserted-Identity: \"ISDN AMT \" <sip:+49123456 at 1.1.1.1

                                                                              <---------------------------------------
                                                                              (3)
Trying
                                                                              Internet Protocol, Src: 2.2.2.2 (2.2.2.2), Dst: 5.5.5.1 (5.5.5.1)
To: <sip:49654321 at 2.2.2.2;user=phone>
From: \"ISDN AMT \" <sip:+49123456 at 1.1.1.1;user=phone>;
Via: SIP/2.0/UDP 5.5.5.2:5060;received=5.5.5.1, SIP/2.0/UDP 1.1.1.1:5060;
 CSeq: 3987 INVITE
Record-Route: <sip:5.5.5.2;
<---------------------------------------
(4)
Trying
. . . .

                                                                              <---------------------------------------
                                                                              (5)
                                                                              200 OK with SDP
                                                                              Internet Protocol, Src: 2.2.2.2 (2.2.2.2), Dst: 5.5.5.1 (5.5.5.1)
To: <sip:49654321 at 2.2.2.2;user=phone>
From: \"ISDN AMT \" <sip:+49123456 at 1.1.1.1;user=phone>;
Via: SIP/2.0/UDP 5.5.5.2:5060;received=5.5.5.1, SIP/2.0/UDP 1.1.1.1:5060;
 CSeq: 3987 INVITE
Record-Route: <sip:5.5.5.2;
<---------------------------------------
(6)
200 OK with SDP
. . . .
 . . . .
  . . . .

--------------------------------------->
(7)
ACK
                                                                               ------------------------------------->
                                                                              (8)
                                                                              ACK

                                                                              Record-Route: <sip:5.5.5.2
From: \"ISDN AMT \" <sip:+49123456 at 1.1.1.1;user=phone>;
To: <sip:49654321 at 2.2.2.2;user=phone>
Via: SIP/2.0/UDP 5.5.5.2:5060;
                                                                              Via: SIP/2.0/UDP 1.1.1.1:5060;
Route: <sip:5.5.5.2;

<----------------------------------------------------------------------------------
(9)
BYE
To: \"ISDN AMT \" <sip:+49123456 at 1.1.1.1;user=phone>;
From: <sip:49654321 at 2.2.2.2;user=phone>;
 CSeq: 6 BYE\x0d\x0a
Via: SIP/2.0/UDP 2.2.2.2:5060

<----------------------------------------------------------------------------------
(10)
BYE
To: \"ISDN AMT \" <sip:+49123456 at 1.1.1.1;user=phone>;
From: <sip:49654321 at 2.2.2.2;user=phone>;
 CSeq: 6 BYE\x0d\x0a
Via: SIP/2.0/UDP 2.2.2.2:5060

<----------------------------------------------------------------------------------
(11)
BYE
To: \"ISDN AMT \" <sip:+49123456 at 1.1.1.1;user=phone>;
From: <sip:49654321 at 2.2.2.2;user=phone>;
 CSeq: 6 BYE\x0d\x0a
Via: SIP/2.0/UDP 2.2.2.2:5060


My Questions:

Why is Server 2 (2.2.2.2) sending Packet 3 and 5 to 5.5.5.1? In Packet 2 is a record route and via with address 5.5.5.2(!).
In my perspective packet 9 is total ERROR. I have no Idea why Server 2.2.2.2 is Trying to connect to Server 1.1.1.1 (No Route to destination)

Regards

Roy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20100604/e4c21d5f/attachment-0002.html>


More information about the discussion mailing list