Multiple UDP transports on different ports using the same endpoint

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

 



maybe pjsip_tpselector is useful for you.

regards,
Gang

On Sat, Jan 7, 2012 at 7:16 AM, Tom Bova <tombova at gmail.com> wrote:
> Hi,
>
> I'm writing a SIP UA which needs to listen on two UDP ports.
>
> I created a single endpoint using ?pjsip_endpt_create()
>
> and then added multiple transports to it using pjsip_udp_transport_start()
>
> When I send a message to the first UDP port, its received and I use
> pjsip_endpt_respond_stateless()
> to send the responses.
>
> My problem is the responses don't go out the first transport created
> on the first UDP port. ?They use the 2nd transport and go out the 2nd
> UDP port.
>
> Does the endpoint support multiple transports of the same type?
>
> Is there anyway to specify the transport I'd like to use to send a
> response message from?
>
> Should I instead be creating multiple endpoints and create a transport
> on each one?
>
> Thanks,
> Tom
>
> _______________________________________________
> 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



[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