[SR-Users] topoh ACK Call-ID mismatch

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 21 23:52:46 CET 2015


It is an ACK for a negative response, therefore it is hop-by-hop
(received and discared by kamailio, then a new one is generated to the
next hop). The information of direction which was detected with Route
header ftag cannot be done in this case. I will try to figure out how
can be solved...

Cheers,
Daniel

On 21/01/15 12:12, Daniel Tryba wrote:
> On Wednesday 21 January 2015 08:45:59 Daniel-Constantin Mierla wrote:
>> To understand properly, this is after the re-INVITE from B to A? I will
>> look in the code as I get a chance, being out of the office for few days...
> Yes. Full trace below. Only the ACK to SIP_A for the 488 has the wrong Call-
> ID.
>
> Disabling masking fixes the problem, but I need topoh with callerid masking to 
> enable an Avaya IP Office to make calls to itself via its external extensions. 
>
> There is no hurry, it appears have been broken for a long time, a few weeks 
> extra makes no difference to me :) I'll try a test server with a more recent 
> version to see if the problem was fixed since 4.0.3.
>
> U SIP_A:5060 -> KAMAILIO:5060
> INVITE sip:+31880100799 at sip.pocos.nl:5060 SIP/2.0.
> Via: SIP/2.0/UDP SIP_A:5060;branch=z9hG4bK396cd222;rport.
> From: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> To: <sip:+31880100799 at sip.pocos.nl:5060>.
> Contact: <sip:+31880100705 at sipA>.
> Call-ID: 0b5946b977210450571f767a19cd6fa0 at 99sip.pocos.nl.
>
> U KAMAILIO:5060 -> SIP_A:5060
> SIP/2.0 100 trying -- your call is important to us.
> Via: SIP/2.0/UDP SIP_A:5060;branch=z9hG4bK396cd222;rport=5060.
> From: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> To: <sip:+31880100799 at sip.pocos.nl:5060>.
> Call-ID: 0b5946b977210450571f767a19cd6fa0 at 99sip.pocos.nl.
>
> U KAMAILIO:5060 -> SIP_B:5060
> INVITE sip:+31880100799 at fax.pocos.nl SIP/2.0.
> Record-Route: <sip:KAMAILIO;lr;ftag=as1b0b8097;did=fc2.c39>.
> Via: SIP/2.0/UDP KAMAILIO;branch=z9hG4bK0a1a.d2ac1e03.0.
> Via: SIP/2.0/UDP 172.19.162.1;branch=pocos-
> rS4MusXox1l5QHyNxRy6uAXsEOdsxidSWGktxGZKWtQX-
> DQV9Acim8HoZpNlaA4kQsQiOsx6E8EnxAXfWgeKCgeS-RrKEAy*.
> From: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> To: <sip:+31880100799 at sip.pocos.nl:5060>.
> Contact: <sip:172.19.162.1;line=pcs-mp4KWiTsxRNdxG7KxGmKEry3xGnoxAxtuAxfuAMd>.
> Call-ID: !!:xqXtWRMpZAngEsX3xGMtxGrgxDZgEA9JxR4AzGz8ZRIyWR4sh.yomqlACgxoC8K*.
>
> U SIP_B:5060 -> KAMAILIO:5060
> SIP/2.0 100 Trying.
> Via: SIP/2.0/UDP KAMAILIO;branch=z9hG4bK0a1a.d2ac1e03.0;received=KAMAILIO.
> Via: SIP/2.0/UDP 172.19.162.1;branch=pocos-
> rS4MusXox1l5QHyNxRy6uAXsEOdsxidSWGktxGZKWtQX-
> DQV9Acim8HoZpNlaA4kQsQiOsx6E8EnxAXfWgeKCgeS-RrKEAy*.
> Record-Route: <sip:KAMAILIO;lr;ftag=as1b0b8097;did=fc2.c39>.
> From: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> To: <sip:+31880100799 at sip.pocos.nl:5060>.
> Call-ID: !!:xqXtWRMpZAngEsX3xGMtxGrgxDZgEA9JxR4AzGz8ZRIyWR4sh.yomqlACgxoC8K*.
>
> U SIP_B:5060 -> KAMAILIO:5060
> SIP/2.0 180 Ringing.
> Via: SIP/2.0/UDP KAMAILIO;branch=z9hG4bK0a1a.d2ac1e03.0;received=KAMAILIO.
> Via: SIP/2.0/UDP 172.19.162.1;branch=pocos-
> rS4MusXox1l5QHyNxRy6uAXsEOdsxidSWGktxGZKWtQX-
> DQV9Acim8HoZpNlaA4kQsQiOsx6E8EnxAXfWgeK
> CgeS-RrKEAy*.
> Record-Route: <sip:KAMAILIO;lr;ftag=as1b0b8097;did=fc2.c39>.
> From: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> To: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> Call-ID: !!:xqXtWRMpZAngEsX3xGMtxGrgxDZgEA9JxR4AzGz8ZRIyWR4sh.yomqlACgxoC8K*.
>
> U KAMAILIO:5060 -> SIP_A:5060
> SIP/2.0 180 Ringing.
> Via: SIP/2.0/UDP SIP_A:5060;branch=z9hG4bK396cd222;rport=5060.
> Record-Route: <sip:KAMAILIO;lr;ftag=as1b0b8097;did=fc2.c39>.
> From: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> To: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> Call-ID: 0b5946b977210450571f767a19cd6fa0 at 99sip.pocos.nl.
>
> U SIP_B:5060 -> KAMAILIO:5060
> SIP/2.0 200 OK.
> Via: SIP/2.0/UDP KAMAILIO;branch=z9hG4bK0a1a.d2ac1e03.0;received=KAMAILIO.
> Via: SIP/2.0/UDP 172.19.162.1;branch=pocos-
> rS4MusXox1l5QHyNxRy6uAXsEOdsxidSWGktxGZKWtQX-
> DQV9Acim8HoZpNlaA4kQsQiOsx6E8EnxAXfWgeKCgeS-RrKEAy*.
> Record-Route: <sip:KAMAILIO;lr;ftag=as1b0b8097;did=fc2.c39>.
> From: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> To: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> Call-ID: !!:xqXtWRMpZAngEsX3xGMtxGrgxDZgEA9JxR4AzGz8ZRIyWR4sh.yomqlACgxoC8K*.
>
> U KAMAILIO:5060 -> SIP_A:5060
> SIP/2.0 200 OK.
> Via: SIP/2.0/UDP SIP_A:5060;branch=z9hG4bK396cd222;rport=5060.
> Record-Route: <sip:KAMAILIO;lr;ftag=as1b0b8097;did=fc2.c39>.
> From: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> To: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> Call-ID: 0b5946b977210450571f767a19cd6fa0 at 99sip.pocos.nl.
>
> U SIP_A:5060 -> KAMAILIO:5060
> ACK sip:172.19.162.1;line=pcs-mp4KWiTsxRNdxG7KxGm6Wry3xGnoxAxtuAxfuAMpWArKEAy* 
> SIP/2.0.
> Via: SIP/2.0/UDP SIP_A:5060;branch=z9hG4bK766d39a2;rport.
> Route: <sip:KAMAILIO;lr;ftag=as1b0b8097;did=fc2.c39>.
> From: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> To: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> Contact: <sip:+31880100705 at sipA>.
> Call-ID: 0b5946b977210450571f767a19cd6fa0 at 99sip.pocos.nl.
>
> U KAMAILIO:5060 -> SIP_B:5060
> ACK sip:+31880100799 at SIP_B:5060 SIP/2.0.
> Via: SIP/2.0/UDP KAMAILIO;branch=z9hG4bKcydzigwkX.
> Via: SIP/2.0/UDP 172.19.162.1;branch=pocos-
> rS4MusXox1l5QHyNxRy6uAXsEOdsxidSWGktxGZKWtQX-
> DQA9Acim8HoZpNlaA4kQsQiOsmpE8MsWD7fWgeKCgeS-RrKEAy*.
> From: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> To: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> Contact: <sip:172.19.162.1;line=pcs-mp4KWiTsxRNdxG7KxGmKEry3xGnoxAxtuAxfuAMd>.
> Call-ID: !!:xqXtWRMpZAngEsX3xGMtxGrgxDZgEA9JxR4AzGz8ZRIyWR4sh.yomqlACgxoC8K*.
>
> U SIP_B:5060 -> KAMAILIO:5060
> INVITE sip:172.19.162.1;line=pcs-mp4KWiTsxRNdxG7KxGmKEry3xGnoxAxtuAxfuAMd 
> SIP/2.0.
> Via: SIP/2.0/UDP SIP_B:5060;branch=z9hG4bK667c5bb1.
> Route: <sip:KAMAILIO;lr;ftag=as1b0b8097;did=fc2.c39>.
> Max-Forwards: 70.
> From: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> To: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> Contact: <sip:+31880100799 at SIP_B:5060>.
> Call-ID: !!:xqXtWRMpZAngEsX3xGMtxGrgxDZgEA9JxR4AzGz8ZRIyWR4sh.yomqlACgxoC8K*.
>
> U KAMAILIO:5060 -> SIP_B:5060
> SIP/2.0 100 trying -- your call is important to us.
> Via: SIP/2.0/UDP SIP_B:5060;branch=z9hG4bK667c5bb1;rport=5060.
> From: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> To: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> Call-ID: !!:xqXtWRMpZAngEsX3xGMtxGrgxDZgEA9JxR4AzGz8ZRIyWR4sh.yomqlACgxoC8K*.
>
> U KAMAILIO:5060 -> SIP_A:5060
> INVITE sip:+31880100705 at sipA SIP/2.0.
> Via: SIP/2.0/UDP KAMAILIO;branch=z9hG4bKf91a.c6c88747.0.
> Via: SIP/2.0/UDP 172.19.162.1;branch=pocos-
> rS4MusXox1l5QHyNxRy6uAXsEOdsxidSEAktxGZKWgeKCgeS-
> RrKEAy057Nl9DEpWpefZD6AhGtwWDJjEqeuEAZgZs5iZA7*.
> Max-Forwards: 16.
> From: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> To: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> Contact: <sip:172.19.162.1;line=pcs-
> mp4KWiTsxRNdxG7KxGm6Wry3xGnoxAxtuAxfuAMpWArKEAy*>.
> Call-ID: 0b5946b977210450571f767a19cd6fa0 at 99sip.pocos.nl.
>
> U SIP_A:5060 -> KAMAILIO:5060
> SIP/2.0 488 Not acceptable here.
> Via: SIP/2.0/UDP KAMAILIO;branch=z9hG4bKf91a.c6c88747.0;received=KAMAILIO.
> Via: SIP/2.0/UDP 172.19.162.1;branch=pocos-
> rS4MusXox1l5QHyNxRy6uAXsEOdsxidSEAktxGZKWgeKCgeS-
> RrKEAy057Nl9DEpWpefZD6AhGtwWDJjEqeuEAZgZs5iZA7*.
> From: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> To: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> Call-ID: 0b5946b977210450571f767a19cd6fa0 at 99sip.pocos.nl.
>
> U KAMAILIO:5060 -> SIP_A:5060
> ACK sip:+31880100705 at sipA SIP/2.0.
> Via: SIP/2.0/UDP KAMAILIO;branch=z9hG4bKf91a.c6c88747.0.
> Max-Forwards: 16.
> From: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> To: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> Call-ID: !!:xqXtWRMpZAngEsX3xGMtxGrgxDZgEA9JxR4AzGz8ZRIyWR4sh.yomqlACgxoC8K*.
>
> U KAMAILIO:5060 -> SIP_B:5060
> SIP/2.0 488 Not acceptable here.
> Via: SIP/2.0/UDP SIP_B:5060;rport=5060;branch=z9hG4bK667c5bb1.
> From: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> To: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> Call-ID: !!:xqXtWRMpZAngEsX3xGMtxGrgxDZgEA9JxR4AzGz8ZRIyWR4sh.yomqlACgxoC8K*.
>
> U SIP_B:5060 -> KAMAILIO:5060
> ACK sip:172.19.162.1;line=pcs-mp4KWiTsxRNdxG7KxGmKEry3xGnoxAxtuAxfuAMd 
> SIP/2.0.
> Via: SIP/2.0/UDP SIP_B:5060;branch=z9hG4bK667c5bb1.
> Route: <sip:KAMAILIO;lr;ftag=as1b0b8097;did=fc2.c39>.
> Max-Forwards: 70.
> From: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> To: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> Contact: <sip:+31880100799 at SIP_B:5060>.
> Call-ID: !!:xqXtWRMpZAngEsX3xGMtxGrgxDZgEA9JxR4AzGz8ZRIyWR4sh.yomqlACgxoC8K*.
>
> U SIP_B:5060 -> KAMAILIO:5060
> INVITE sip:172.19.162.1;line=pcs-mp4KWiTsxRNdxG7KxGmKEry3xGnoxAxtuAxfuAMd 
> SIP/2.0.
> Via: SIP/2.0/UDP SIP_B:5060;branch=z9hG4bK2f3d85eb.
> Route: <sip:KAMAILIO;lr;ftag=as1b0b8097;did=fc2.c39>.
> Max-Forwards: 70.
> From: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> To: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> Contact: <sip:+31880100799 at SIP_B:5060>.
> Call-ID: !!:xqXtWRMpZAngEsX3xGMtxGrgxDZgEA9JxR4AzGz8ZRIyWR4sh.yomqlACgxoC8K*.
>
> U KAMAILIO:5060 -> SIP_B:5060
> SIP/2.0 100 trying -- your call is important to us.
> Via: SIP/2.0/UDP SIP_B:5060;branch=z9hG4bK2f3d85eb;rport=5060.
> From: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> To: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> Call-ID: !!:xqXtWRMpZAngEsX3xGMtxGrgxDZgEA9JxR4AzGz8ZRIyWR4sh.yomqlACgxoC8K*.
>
> U KAMAILIO:5060 -> SIP_A:5060
> INVITE sip:+31880100705 at sipA SIP/2.0.
> Via: SIP/2.0/UDP KAMAILIO;branch=z9hG4bK0a1a.e2ac1e03.0.
> Via: SIP/2.0/UDP 172.19.162.1;branch=pocos-
> rS4MusXox1l5QHyNxRy6uAXsEOdsxidSEAktxGZKWgeKCgeS-
> RrKEAy057Nl9DEpWpefZD6AhGtwWDJjEqeux8ZszGNtzDX*.
> Max-Forwards: 16.
> From: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> To: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> Contact: <sip:172.19.162.1;line=pcs-
> mp4KWiTsxRNdxG7KxGm6Wry3xGnoxAxtuAxfuAMpWArKEAy*>.
> Call-ID: 0b5946b977210450571f767a19cd6fa0 at 99sip.pocos.nl.
>
> U SIP_A:5060 -> KAMAILIO:5060
> SIP/2.0 491 Request Pending.
> Via: SIP/2.0/UDP KAMAILIO;branch=z9hG4bK0a1a.e2ac1e03.0;received=KAMAILIO.
> Via: SIP/2.0/UDP 172.19.162.1;branch=pocos-
> rS4MusXox1l5QHyNxRy6uAXsEOdsxidSEAktxGZKWgeKCgeS-
> RrKEAy057Nl9DEpWpefZD6AhGtwWDJjEqeux8ZszGNtzDX*.
> From: <sip:+31880100799 at sip.pocos.nl:5060>;tag=as3869fe2a.
> To: "+31880100705" <sip:+31880100705 at sip.pocos.nl>;tag=as1b0b8097.
> Call-ID: 0b5946b977210450571f767a19cd6fa0 at 99sip.pocos.nl.
>

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list