Skip to content

Sample project External IP parsing error #88

@naveline67

Description

@naveline67

using sample with external IP parameter throws parsing error

cargo run --example client -- --sip-server xxxx.xxx --user 00123456789--password xxxxxx --auto-answer --external-ip XX.XX.XX.XX

thread 'tokio-runtime-worker' (26828) panicked at examples\client\play_file.rs:26:52:
Invalid external IP: AddrParseError(Socket)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

But if I provide a port

cargo run --example client -- --sip-server xxxx.xxx --user 00123456789--password xxxxxx --auto-answer --external-ip XX.XX.XX.XX:0

then it fails immediatly

2026-01-22T11:13:39.3893228+01:00  INFO client: examples\client\main.rs:150: Starting SIP client
Error: AddrParseError(AddrParseError(Socket))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions