[SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 14 14:44:12 CET 2016


Hello,

what would be relevant here is seeing the INVITE request sent to
10.14.0.1:5060 -- paste it to the mailing list discussion. That is going
to be used to generate 487, and the Via stack from it should be used there.

Cheers,
Daniel

On 14/03/16 13:23, Grant Bagdasarian wrote:
>
> Hello,
>
>  
>
> We’re testing kamailio 4.3.4 with two kamailio’s communicating with
> each other. One of them is a gateway with rtpengine at the carrier
> side, the other is a basic sip router.
>
> When calling a destination and cancelling the INVITE a 487 is received
> from the carrier and directly ACK’d by the first kamailio and in turn
> is forwarded to the second.
>
> But the 487 response received by the 2^nd kamailio doesn’t have a Via
> header which results in kamailio printing the error: receive_msg(): no
> via found in reply.
>
>  
>
> Any ideas why the forwarded 487 doesn’t contain a Via header and how
> to fix this?
>
>  
>
> Note: IP’s are changed.
>
>  
>
> Carrier: 10.0.0.1
>
> Kamailio 1: 10.14.0.1
>
> Kamailio 2: 10.14.0.2
>
>  
>
> U 10.0.0.1:5060 -> 10.14.0.1:5060
>
> SIP/2.0 487 Request Cancelled.
>
> Via: SIP/2.0/UDP
> 10.14.0.1;branch=z9hG4bK8e28.642c68037d059634308d4be8fe3f0cdc.0.
>
> From: "+31612345678" <sip:+31612345678 at 10.14.0.3:5060>;tag=109ac722.
>
> To:
> <sip:003112345678 at 10.14.0.3:5060>;tag=sbcsipuas_1_C22196_20160314080307791_b59sb10.
>
> Call-ID: 78100MjY3OGExZmMyODU2MzAyMzM5ODA3MmNhMDdlMzg0MzU.
>
> Contact: <sip:10.0.0.1:5060>.
>
> CSeq: 2 INVITE.
>
> Server: sbc_5.
>
> Content-Length: 0.
>
> .
>
>  
>
> #
>
> U 10.14.0.1:5060 -> 10.0.0.1:5060
>
> ACK sip:003112345678 at 10.0.0.1:5060 SIP/2.0.
>
> Via: SIP/2.0/UDP
> 10.14.0.1;branch=z9hG4bK8e28.642c68037d059634308d4be8fe3f0cdc.0.
>
> Max-Forwards: 67.
>
> To:
> <sip:003112345678 at 10.14.0.3:5060>;tag=sbcsipuas_1_C22196_20160314080307791_b59sb10.
>
> From: "+31612345678"<sip:+31612345678 at 10.14.0.3:5060>;tag=109ac722.
>
> Call-ID: 78100MjY3OGExZmMyODU2MzAyMzM5ODA3MmNhMDdlMzg0MzU.
>
> CSeq: 2 ACK.
>
> Content-Length: 0.
>
> .
>
>  
>
> #
>
> U 10.14.0.1:5060 -> 10.14.0.2:5060
>
> SIP/2.0 487 Request Cancelled.
>
> From: "+31612345678" <sip:+31612345678 at 10.14.0.3:5060>;tag=109ac722.
>
> To:
> <sip:003112345678 at 10.14.0.3:5060>;tag=sbcsipuas_1_C22196_20160314080307791_b59sb10.
>
> Call-ID: 78100MjY3OGExZmMyODU2MzAyMzM5ODA3MmNhMDdlMzg0MzU.
>
> Contact: <sip:10.0.0.1:5060>.
>
> CSeq: 2 INVITE.
>
> Server: sbc_5.
>
> Content-Length: 0.
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160314/2cdcc109/attachment.html>


More information about the sr-users mailing list