<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/8/13 10:05 AM, phillman25 wrote:<br>
    </div>
    <blockquote
cite="mid:CAEprJzLcu+6zonSM0zfH4gbVF2aqyyM9RwiD_a0hDHFPqTBgRg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Dear List
        <div><br>
        </div>
        <div>I am trying to interconnect with a Cisco Call manager
          express, i am sending the INVITE message with the below
          format:</div>
        <div><br>
        </div>
        <div>
          <div>INVITE <a moz-do-not-send="true"
              href="mailto:sip%3A22775019@81.21.39.153">sip:22775019@81.21.39.153</a>
            SIP/2.0</div>
          <div>Record-Route:
            <a class="moz-txt-link-rfc2396E" href="sip:81.21.38.33;lr=on;ftag=685329680;did=671.51a2"><sip:81.21.38.33;lr=on;ftag=685329680;did=671.51a2></a></div>
          <div>Via: SIP/2.0/UDP
            81.21.38.33;branch=z9hG4bKda1d.291eab1622fb619ec7df3ca647581a19.0</div>
          <div>Via: SIP/2.0/UDP <a moz-do-not-send="true"
              href="http://81.21.35.22:5060">81.21.35.22:5060</a>
            ;branch=z9hG4bKterm-4a32-99665015-6855A22775019-37284</div>
          <div>From: 99665015 <<a moz-do-not-send="true"
              href="mailto:sip%3A99665015@81.21.35.22">sip:99665015@81.21.35.22</a>;user=phone>;tag=685329680</div>
          <div>To: 6855A22775019 <<a moz-do-not-send="true"
              href="mailto:sip%3A6855A22775019@81.21.38.33">sip:6855A22775019@81.21.38.33</a>;user=phone></div>
          <div>Call-ID: <a moz-do-not-send="true"
              href="mailto:6fea2437-2d338fcf-4efc6b90-2d08@81.21.35.22">6fea2437-2d338fcf-4efc6b90-2d08@81.21.35.22</a></div>
          <div>CSeq: 1 INVITE</div>
          <div>Supported: timer</div>
          <div>Session-Expires: 1800</div>
          <div>Min-SE: 1800</div>
          <div>Contact:  <<a moz-do-not-send="true"
              href="http://sip:99665015@81.21.35.22:5060">sip:99665015@81.21.35.22:5060</a>></div>
          <div>Allow:
            INVITE,ACK,PRACK,SUBSCRIBE,BYE,CANCEL,NOTIFY,INFO,REFER,UPDATE</div>
          <div>Max-Forwards: 69</div>
          <div>
            Content-Type: application/sdp</div>
          <div>Content-Length: 528</div>
          <div>P-hint: outbound</div>
          <div><br>
          </div>
          <div>v=0</div>
          <div>o=- 3099173 0 IN IP4 81.21.35.44</div>
          <div>s=Cisco SDP 0</div>
          <div>c=IN IP4 81.21.35.44</div>
          <div>
            t=0 0</div>
          <div>m=audio 52168 RTP/AVP 0 8 18 99 102 103 104 4 105 3 106
            107 108 125 101 100</div>
          <div>a=rtpmap:99 G.726-16/8000</div>
          <div>a=rtpmap:102 G.726-24/8000</div>
          <div>a=rtpmap:103 G.726-32/8000</div>
          <div>a=rtpmap:104 G.723.1-H/8000</div>
          <div>a=rtpmap:105 G.723.1-L/8000</div>
          <div>a=rtpmap:106 G.729b/8000</div>
          <div>a=rtpmap:107 G.723.1a-H/8000</div>
          <div>a=rtpmap:108 G.723.1a-L/8000</div>
          <div>a=rtpmap:125 G.nX64/8000</div>
          <div>a=rtpmap:101 telephone-event/8000</div>
          <div>a=fmtp:101 0-15</div>
          <div>a=rtpmap:100 X-NSE/8000</div>
          <div>a=fmtp:100 192-194</div>
          <div>a=nortpproxy:yes</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>The Cisco Manager Express replies by sending the TRYING
          message in the below format with 1 via header:</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <div>SIP/2.0 100 Trying</div>
          <div>Via: SIP/2.0/UDP
            81.21.38.33;branch=z9hG4bKda1d.291eab1622fb619ec7df3ca647581a19.0,SIP/2.0/UDP
            <a moz-do-not-send="true" href="http://81.21.35.22:5060">81.21.35.22:5060</a>
            ;branch=z9hG4bKterm-4a32-99665015-6855A22775019-37284</div>
          <div>From: 99665015 <<a moz-do-not-send="true"
              href="mailto:sip%3A99665015@81.21.35.22">sip:99665015@81.21.35.22</a>;user=phone>;tag=685329680</div>
          <div>To: 6855A22775019 <<a moz-do-not-send="true"
              href="mailto:sip%3A6855A22775019@81.21.38.33">sip:6855A22775019@81.21.38.33</a>;user=phone></div>
          <div>Date: Tue, 05 Nov 2013 18:24:17 GMT</div>
          <div>Call-ID: <a moz-do-not-send="true"
              href="mailto:6fea2437-2d338fcf-4efc6b90-2d08@81.21.35.22">6fea2437-2d338fcf-4efc6b90-2d08@81.21.35.22</a></div>
          <div>CSeq: 1 INVITE</div>
          <div>Allow-Events: telephone-event</div>
          <div>Server: Cisco-SIPGateway/IOS-12.x</div>
          <div>Content-Length: 0</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Seems like Kamailio is not accepting this, is the Trying
          message from the client correct? Is it correct that he is
          sending 1 via header with 2 IP's as opposed to 2 via headers
          with 1 IP in each via header? Otherwise is there a solution
          for this?</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    it is ok to have two addresses in one Via header. Why do you think
    kamailio is not accepting it?<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Trainings - Berlin, Nov 25-28
  - more details about Kamailio trainings at <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> -
</pre>
  </body>
</html>