Skip to content

How do I register a client in sipster? #25

@BennieBe

Description

@BennieBe

Hi, I got a question regarding how to accept a client register request in sipster.
I setup sipster nodeJS as in the example on github / npm page but when I use a script to call the service, I get this message:

00:12:18.235 sip_endpoint.c  .Request msg REGISTER/cseq=22313 (rdata0x7f7784003e28) from 127.0.0.1:5080 was dropped/unhandled by any modules
00:12:22.235   pjsua_core.c  .RX 485 bytes Request msg REGISTER/cseq=22313 (rdata0x7f7784003e28) from UDP 127.0.0.1:5080:
REGISTER sip:localhost SIP/2.0
Via: SIP/2.0/UDP 192.168.0.11:5080;rport;branch=z9hG4bKPjK83SBBtDEE2NV32HuulSjzMNC4tJRTT4
Max-Forwards: 70
From: <sip:receiver@localhost>;tag=y.eiGJ4bw-ryg19nD61wzqf2r-QDKcmh
To: <sip:receiver@localhost>
Call-ID: o1cMxsJ6sD1pzfKqN7nFZRakFwKjhafI
CSeq: 22313 REGISTER
Contact: <sip:receiver@192.168.0.11:5080;ob>
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length:  0


--end msg--
00:12:22.235 sip_endpoint.c  .Request msg REGISTER/cseq=22313 (rdata0x7f7784003e28) from 127.0.0.1:5080 was dropped/unhandled by any modules

Seems like I need to implement a module / event or something to accept the registration request. What do I need to do?

Also is there anywhere some documentation or some additional sample code I could look at to make it easier for me to get sipster to work for me?

Thanks in advance for the help!

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