Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

***[DOUBANGO ERROR]: function: "tnet_get_peerip_n_port()" file: ".\src\tnet_utils.c" line: "1216" MSG: TNET_GET_SOCKADDR has failed with status code: -1 #219

Description

@gustavobsch

What steps will reproduce the problem?
1.Build Boghe from source code
2.Enable IPSec from Options tab
3.Try to Register / Sign In

What is the expected output? What do you see instead?
After receiving 200OK from P-CSCF, I expect Boghe to complete registration process, instead, it does not act upon the 200OK.

2016-01-12 11:30:07,959 ERROR [1] BogheCore.Services.Impl.SipService:1078 - ***[DOUBANGO ERROR]: function: "tnet_get_peerip_n_port()"
file: ".\src\tnet_utils.c"
line: "1216"
MSG: TNET_GET_SOCKADDR has failed with status code: -1

2016-01-12 11:30:07,960 INFO [6] BogheCore.Services.Impl.SipService:675 - OnStackEvent (Stack started)
2016-01-12 11:30:07,965 INFO [6] BogheCore.Services.Impl.SipService:502 - OnDialogEvent (Dialog connecting)
2016-01-12 11:30:07,968 INFO [6] BogheCore.Services.Impl.SipService:502 - OnDialogEvent ((un)REGISTER request successfully sent.)
2016-01-12 11:30:08,497 INFO [6] BogheCore.Services.Impl.SipService:502 - OnDialogEvent ((un)REGISTER request successfully sent.)
2016-01-12 11:30:10,409 DEBUG [5] BogheCore.Services.Impl.XmlConfigurationService:270 - Saving configuration...
2016-01-12 11:30:40,497 INFO [6] BogheCore.Services.Impl.SipService:502 - OnDialogEvent (Transport error.)
2016-01-12 11:30:40,498 INFO [6] BogheCore.Services.Impl.SipService:502 - OnDialogEvent (Dialog terminated)
2016-01-12 11:30:40,498 INFO [6] BogheCore.Services.Impl.SipService:602 - OnDialogEvent (Unregistered)
2016-01-12 11:30:40,500 INFO [6] BogheCore.Services.Impl.SipService:675 - OnStackEvent (Stack stopping)
2016-01-12 11:30:40,501 INFO [6] BogheCore.Services.Impl.SipService:675 - OnStackEvent (Stack stopped)

What version of the product are you using? On what operating system?
Windows 7/8
Boghe v2.0.201.1317, Doubango branch 2.0

Please provide any additional information below.

I confirmed the SA's are being installed into the OS, I've tried all auth and encryption protocols combinations.

In the attached PCAP it can be seen P-CSCF replies the REGISTER with a 200OK on packet # 18.
boghe_ipsec.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions