[OpenSIPS-Users] topology hiding not accepting BYE before 200 OK
Stuart Marsden
stuart at myphones.com
Mon Oct 5 18:50:11 CEST 2015
> On 5 Oct 2015, at 17:47, Stuart Marsden <drsmarsden at me.com> wrote:
>
> Our actual case is
>
> phone A-> opensips -> our soft switch -> same opensips -> phone B
>
> INVITE —————————————————————>
> <—————————————————————————RINGING
> 200 ——————————————————————— >
> <————————————————————————— ACK
>
>
> <————————————————————————— BYE
> BYE ———————————————— 483
> 200 ——————————————————————— >
>
> this only happens when both phones send a BYE at the same time
>
> Opensips cannot process the 2nd BYE the 2nd time it sees it
>
> so has been impossible to reproduce in the lab
>
> wireshark sent via email
>
> thanks
>
> Stuart
>
>
>
>> On 5 Oct 2015, at 13:46, users-request at lists.opensips.org wrote:
>>
>> Send Users mailing list submissions to
>> users at lists.opensips.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> or, via email, send a message with subject or body 'help' to
>> users-request at lists.opensips.org
>>
>> You can reach the person managing the list at
>> users-owner at lists.opensips.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Users digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: topology hiding not accepting BYE before 200 OK (Vlad Paiu)
>> 2. Regarding chachedb_mongdb use . (Sasmita Panda)
>> 3. Re: Regarding chachedb_mongdb use . (Vlad Paiu)
>> 4. Re: Regarding chachedb_mongdb use . (Sasmita Panda)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Mon, 05 Oct 2015 14:51:47 +0300
>> From: Vlad Paiu <vladpaiu at opensips.org>
>> Subject: Re: [OpenSIPS-Users] topology hiding not accepting BYE before
>> 200 OK
>> To: users at lists.opensips.org
>> Message-ID: <56126453.2050208 at opensips.org>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>>
>> Hello Stuard,
>>
>> What is the full SIP scenario for this ? The callee cannot send a BYE
>> before the 200OK is sent ( from SIP point of view ). Can you please post
>> a SIP trace for this ? A full debug OpenSIPS log would also help.
>>
>> Regards,
>>
>> Vlad Paiu
>> OpenSIPS Developer
>>
>> On 05.10.2015 11:46, Stuart Marsden wrote:
>>> Hi
>>>
>>> we are experimenting with topology hiding on 2.1
>>>
>>> I think we see the same issue once a call is set up if UAC and UAS both send BYE at ?the same time?
>>>
>>> we cannot reproduce at will because of the small timing window required to receive the 2 BYEs
>>>
>>> Stuart
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Mon, 5 Oct 2015 17:28:51 +0530
>> From: Sasmita Panda <spanda at 3clogic.com>
>> Subject: [OpenSIPS-Users] Regarding chachedb_mongdb use .
>> To: OpenSIPS users mailling list <users at lists.opensips.org>
>> Message-ID:
>> <CALf-Q464cRFRcS=QUmSjuDjUoFQwWE=_8PLYm=yd=AcY1P+w4Q at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi All ,
>>
>> I an using the NoSql module cachedb_mongodb as database with db_cachedb .
>>
>> I have tested it running mongodb and opensips in a single instance . Now I
>> am trying to run mongodb and opensips in different instances . I am facing
>> some error in this case .
>>
>> What i have done :
>> I have created a db with name opensips read/write permission. I am also
>> created the version table with name "my_version_table" inside that db .Now
>> I am trying to connect to that DB from my opensips server . But its giving
>> following error :
>>
>> DBG:core:db_bind_mod: using db bind api for db_cachedb
>> DBG:db_cachedb:db_cachedb_bind_api: BINDING API for :
>> cachedb://mongodb:instance1
>> DBG:db_cachedb:db_cachedb_init: Found matching URL :
>> [mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips]
>> DBG:core:cachedb_bind_mod: Binded to mod mongodb
>> DBG:core:parse_cachedb_url: parsing
>> [mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips]
>> DBG:core:parse_cachedb_url: in host - :
>> DBG:core:cachedb_do_init: opening new connection
>> DBG:cachedb_mongodb:mongo_new_connection: Set timeout to 3000 millis
>> INFO:cachedb_mongodb:mongo_new_connection: Connected at server x.x.x.x
>> with version 3.0.6 , to db db.opensips
>> DBG:db_cachedb:db_cachedb_init: Succesfully initiated connection to
>> [mongodb:instance1]
>> DBG:cachedb_mongodb:mongo_db_query_trans: Running raw mongo query on table
>> db.my_version_table
>> ERROR:cachedb_mongodb:mongo_db_query_trans: Failed to run query. Err = 0,
>> 0 , 0
>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key connectionId
>> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 12
>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key n
>> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 0
>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key syncMillis
>> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 0
>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key writtenTo
>> DBG:cachedb_mongodb:mongo_db_query_trans: (unknown type 10)
>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key err
>> DBG:cachedb_mongodb:mongo_db_query_trans: (unknown type 10)
>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key ok
>> DBG:cachedb_mongodb:mongo_db_query_trans: (double) 1.000000e+00
>> ERROR:core:db_table_version: error in db_query
>> ERROR:core:db_check_table_version: querying version for table silo
>> ERROR:msilo:mod_init: error during table version check.
>> ERROR:core:init_mod: failed to initialize module msilo
>> ERROR:core:main: error while initializing modules
>>
>>
>> Please help me to solve this error .
>>
>> *Thanks & Regards*
>> *Sasmita Panda*
>> *Network Testing and Software Engineer*
>> *3CLogic , ph:07827611765*
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.opensips.org/pipermail/users/attachments/20151005/ac8eb3ba/attachment-0001.htm>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Mon, 05 Oct 2015 15:31:54 +0300
>> From: Vlad Paiu <vladpaiu at opensips.org>
>> Subject: Re: [OpenSIPS-Users] Regarding chachedb_mongdb use .
>> To: users at lists.opensips.org
>> Message-ID: <56126DBA.3050106 at opensips.org>
>> Content-Type: text/plain; charset="windows-1252"; Format="flowed"
>>
>> Hello,
>>
>> Looks like there is an error with your MongoDB sharding - the errors you
>> are receiving from MongoDB look something like this :
>> https://jira.mongodb.org/browse/SERVER-12899
>>
>> Can you manually login to a MongoDB node and run the version query by hand ?
>>
>> Regards,
>>
>> Vlad Paiu
>> OpenSIPS Developer
>>
>> On 05.10.2015 14:58, Sasmita Panda wrote:
>>> Hi All ,
>>>
>>> I an using the NoSql module cachedb_mongodb as database with
>>> db_cachedb .
>>>
>>> I have tested it running mongodb and opensips in a single instance .
>>> Now I am trying to run mongodb and opensips in different instances . I
>>> am facing some error in this case .
>>>
>>> What i have done :
>>> I have created a db with name opensips read/write permission. I am
>>> also created the version table with name "my_version_table" inside
>>> that db .Now I am trying to connect to that DB from my opensips
>>> server . But its giving following error :
>>>
>>> DBG:core:db_bind_mod: using db bind api for db_cachedb
>>> DBG:db_cachedb:db_cachedb_bind_api: BINDING API for :
>>> cachedb://mongodb:instance1
>>> DBG:db_cachedb:db_cachedb_init: Found matching URL :
>>> [mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips]
>>> DBG:core:cachedb_bind_mod: Binded to mod mongodb
>>> DBG:core:parse_cachedb_url: parsing
>>> [mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips]
>>> DBG:core:parse_cachedb_url: in host - :
>>> DBG:core:cachedb_do_init: opening new connection
>>> DBG:cachedb_mongodb:mongo_new_connection: Set timeout to 3000 millis
>>> INFO:cachedb_mongodb:mongo_new_connection: Connected at server
>>> x.x.x.x with version 3.0.6 , to db db.opensips
>>> DBG:db_cachedb:db_cachedb_init: Succesfully initiated connection to
>>> [mongodb:instance1]
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Running raw mongo query on
>>> table db.my_version_table
>>> ERROR:cachedb_mongodb:mongo_db_query_trans: Failed to run query. Err
>>> = 0, 0 , 0
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key connectionId
>>> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 12
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key n
>>> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 0
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key syncMillis
>>> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 0
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key writtenTo
>>> DBG:cachedb_mongodb:mongo_db_query_trans: (unknown type 10)
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key err
>>> DBG:cachedb_mongodb:mongo_db_query_trans: (unknown type 10)
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key ok
>>> DBG:cachedb_mongodb:mongo_db_query_trans: (double) 1.000000e+00
>>> ERROR:core:db_table_version: error in db_query
>>> ERROR:core:db_check_table_version: querying version for table silo
>>> ERROR:msilo:mod_init: error during table version check.
>>> ERROR:core:init_mod: failed to initialize module msilo
>>> ERROR:core:main: error while initializing modules
>>>
>>>
>>> Please help me to solve this error .
>>>
>>> */Thanks & Regards/*
>>> /Sasmita Panda/
>>> /Network Testing and Software Engineer/
>>> /3CLogic , ph:07827611765/
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.opensips.org/pipermail/users/attachments/20151005/4909113b/attachment-0001.htm>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Mon, 5 Oct 2015 18:16:24 +0530
>> From: Sasmita Panda <spanda at 3clogic.com>
>> Subject: Re: [OpenSIPS-Users] Regarding chachedb_mongdb use .
>> To: OpenSIPS users mailling list <users at lists.opensips.org>
>> Message-ID:
>> <CALf-Q46ni4rirAuSw=sm8JKMZdqt1shF+MGTSmrUYg5ejLiRsg at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> yes I am able to login through mongodb manually and able to run the version
>> query too .
>>
>> Now I have just done some changes to mongodb . I am running it without
>> auth:true.
>> Now its gettiong connected to the db and giving some other error like
>> bellow .
>>
>> INFO:cachedb_mongodb:mongo_new_connection: Connected at server x.x.x.x
>> with version 3.0.6 , to db db.opensips
>> ERROR:core:db_check_table_version: invalid version 0 for table silo found,
>> expected 6
>> ERROR:msilo:mod_init: error during table version check.
>> ERROR:core:init_mod: failed to initialize module msilo
>> ERROR:core:main: error while initializing modules
>> INFO:core:cleanup: cleanup
>>
>> rather I have added a "my_version_table" collection and inserted the entry
>> for silo table like bellow .
>>
>> db.my_version_table.insert({table_version : NumberInt(6), table_name :
>> "silo"})
>>
>> But still its giving the above error .
>>
>>
>> *Thanks & Regards*
>> *Sasmita Panda*
>> *Network Testing and Software Engineer*
>> *3CLogic , ph:07827611765*
>>
>> On Mon, Oct 5, 2015 at 6:01 PM, Vlad Paiu <vladpaiu at opensips.org> wrote:
>>
>>> Hello,
>>>
>>> Looks like there is an error with your MongoDB sharding - the errors you
>>> are receiving from MongoDB look something like this :
>>> https://jira.mongodb.org/browse/SERVER-12899
>>>
>>> Can you manually login to a MongoDB node and run the version query by hand
>>> ?
>>>
>>> Regards,
>>>
>>> Vlad Paiu
>>> OpenSIPS Developer
>>>
>>> On 05.10.2015 14:58, Sasmita Panda wrote:
>>>
>>> Hi All ,
>>>
>>> I an using the NoSql module cachedb_mongodb as database with db_cachedb
>>> .
>>>
>>> I have tested it running mongodb and opensips in a single instance . Now I
>>> am trying to run mongodb and opensips in different instances . I am facing
>>> some error in this case .
>>>
>>> What i have done :
>>> I have created a db with name opensips read/write permission. I am also
>>> created the version table with name "my_version_table" inside that db .Now
>>> I am trying to connect to that DB from my opensips server . But its giving
>>> following error :
>>>
>>> DBG:core:db_bind_mod: using db bind api for db_cachedb
>>> DBG:db_cachedb:db_cachedb_bind_api: BINDING API for :
>>> cachedb://mongodb:instance1
>>> DBG:db_cachedb:db_cachedb_init: Found matching URL : [
>>> mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips]
>>> DBG:core:cachedb_bind_mod: Binded to mod mongodb
>>> DBG:core:parse_cachedb_url: parsing [
>>> mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips]
>>> DBG:core:parse_cachedb_url: in host - :
>>> DBG:core:cachedb_do_init: opening new connection
>>> DBG:cachedb_mongodb:mongo_new_connection: Set timeout to 3000 millis
>>> INFO:cachedb_mongodb:mongo_new_connection: Connected at server x.x.x.x
>>> with version 3.0.6 , to db db.opensips
>>> DBG:db_cachedb:db_cachedb_init: Succesfully initiated connection to
>>> [mongodb:instance1]
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Running raw mongo query on
>>> table db.my_version_table
>>> ERROR:cachedb_mongodb:mongo_db_query_trans: Failed to run query. Err = 0,
>>> 0 , 0
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key connectionId
>>> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 12
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key n
>>> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 0
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key syncMillis
>>> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 0
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key writtenTo
>>> DBG:cachedb_mongodb:mongo_db_query_trans: (unknown type 10)
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key err
>>> DBG:cachedb_mongodb:mongo_db_query_trans: (unknown type 10)
>>> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key ok
>>> DBG:cachedb_mongodb:mongo_db_query_trans: (double) 1.000000e+00
>>> ERROR:core:db_table_version: error in db_query
>>> ERROR:core:db_check_table_version: querying version for table silo
>>> ERROR:msilo:mod_init: error during table version check.
>>> ERROR:core:init_mod: failed to initialize module msilo
>>> ERROR:core:main: error while initializing modules
>>>
>>>
>>> Please help me to solve this error .
>>>
>>> *Thanks & Regards*
>>> *Sasmita Panda*
>>> *Network Testing and Software Engineer*
>>> *3CLogic , ph:07827611765*
>>>
>>>
>>> _______________________________________________
>>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.opensips.org/pipermail/users/attachments/20151005/d8ae26f9/attachment.htm>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>> End of Users Digest, Vol 87, Issue 11
>> *************************************
>>
>
More information about the Users
mailing list