[SR-Users] sip options not relaying

gerry kernan gerry.kernan at infinityit.ie
Fri Jul 22 18:05:02 CEST 2016


Hi 

You can ignore this request,  I found my problem.  It was a typo by me.

 

 

 

Best Regards

 

Gerry Kernan

 

From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of
gerry kernan
Sent: Friday 22 July 2016 16:47
To: 'Kamailio (SER) - Users Mailing List' <sr-users at lists.sip-router.org>
Subject: [SR-Users] sip options not relaying

 

Hi 

 

I have a kamailio proxy in front of asterisk ver 13 servers. I'm using path
support to route to the relevant asterisk server depending on the domain in
the sip header. The incoming registers & invites from sip endpoints get
routed to the correct asterisk server , but when asterisk is sending  sip
options to the end points  my kamailio config is not routing the option on
to the endpoint .

Kamailio debug shows error below 

 

ERROR: <script>: 192.168.200.131 OPTIONS sip:1333 at 192.168.200.112:5062 --
domain "192.168.200.112" is not found in domain table 192.168.200.131

 

Am I correct in thinking that this SIP option should be getting routed via
my on-reply route.

 

 

the sip option looks like it is failing here at the start of my config

 

if (src_ip != BACKEND_NET4)

        {

                xlog("L_NOTICE", "FROM CLIENT IP: $si $rm $ru  $td \n");

 

            # SIP request packet client->backend

 

            if( !loose_route() )

            {

                if (!lookup_domain("$td", "dattr_")) {

                    xlog("L_NOTOCE" , "Domain lookup, $rm ");

                    xlog("L_ERR", "$si $rm $ru -- domain \"$td\" is not " +

                        "found in domain table $si\n");

                    drop();

                }

 

 

 

Sample of SIP option captured on the kamailio server

 

OPTIONS sip:1333 at 192.168.200.112:5062 SIP/2.0

Via: SIP/2.0/UDP 192.168.200.131:5060;branch=z9hG4bK4f910445

Max-Forwards: 70

Route: <sip:192.168.200.148;lr;received=sip:87.198.223.83:16070>

From: "Unknown" <sip:Unknown at 192.168.200.131>;tag=as54cfb9df

To: <sip:1333 at 192.168.200.112:5062>

Contact: <sip:Unknown at 192.168.200.131:5060>

Call-ID: 257dea110f5255275aa38d9c45e0e235 at 192.168.200.131:5060
<mailto:257dea110f5255275aa38d9c45e0e235 at 192.168.200.131:5060> 

CSeq: 102 OPTIONS

User-Agent: FPBX-2.11.0(13.10.0)

Date: Fri, 22 Jul 2016 15:31:13 GMT

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH, MESSAGE

Supported: replaces, timer, path

Content-Length: 0

 

OPTIONS sip:1333 at 192.168.200.112:5062 SIP/2.0

Via: SIP/2.0/UDP 192.168.200.131:5060;branch=z9hG4bK20611e3b

Max-Forwards: 70

Route: <sip:192.168.200.148;lr;received=sip:87.198.223.83:16070>

From: "Unknown" <sip:Unknown at 192.168.200.131>;tag=as1b6a0faf

To: <sip:1333 at 192.168.200.112:5062>

Contact: <sip:Unknown at 192.168.200.131:5060>

Call-ID: 7f8ed5ea7a147f2b61269df862af7fae at 192.168.200.131:5060
<mailto:7f8ed5ea7a147f2b61269df862af7fae at 192.168.200.131:5060> 

CSeq: 102 OPTIONS

User-Agent: FPBX-2.11.0(13.10.0)

Date: Fri, 22 Jul 2016 15:31:27 GMT

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH, MESSAGE

Supported: replaces, timer, path

Content-Length: 0 

 

Gerry Kernan

 



 

Infinity IT   |   17 The Mall   |   Beacon Court   |   Sandyford   |
Dublin D18 E3C8   |   Ireland

Tel:  +353 - (0)1 - 293 0090   |   E-Mail:  gerry.kernan at infinityit.ie
<mailto:gerry.kernan at infinityit.ie> 

 

Managed IT Services       Infinity IT -  <http://www.infinityit.ie/>
www.infinityit.ie

IP Telephony                    Asterisk Consulting -
<http://www.asteriskconsulting.com> www.asteriskconsulting.com

Contact Centre                Total Interact -
<http://www.totalinteract.com> www.totalinteract.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160722/9e47224f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2681 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160722/9e47224f/attachment.jpg>


More information about the sr-users mailing list