PJSIP and REGISTER request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/3/19 Pawe? Stawicki <stawel at gmail.com>

> Hi,
>
> I'm new to pjsip...
>
> I'm trying to: Replace PJMEDIA with Third Party Media Stack.
> on the basis of simpleua example.
>
>
Too bad you don't like PJMEDIA, so good luck (no pun intended). :)

And I have a problem to "REGISER" to, a SIP server.
> Is there a easy way to do that (using PJSIP only, without PJSUA)
> or are there some easy examples,  how to do that ??
>
>
There is no example unfortunately, but it should be fairly straightforward.
See [1] for reference.

To setup:
  - regc_create
  - regc_init
  - regc_set_credentials
  - regc_register
  - regc_send

The regc then will "run" independently, keeping the binding
open/re-registering automatically etc.

To unregister and destroy:
 - regc_unregister/regc_unregister_all
 - regc_send
 - regc_destroy

Hint: when calling regc_destroy() you don't have to wait until regc has been
unregistered; it can mark the destroy request as pending and will destroy
itself when it's done with unregistering.

cheers
 Benny

[1] http://www.pjsip.org/pjsip/docs/html/group__PJSUA__REGC.htm



> Regards,
> Pawe? Stawicki
>
>
>
>
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090319/aad2e40e/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux