using 5060 source port for both stun(UDP) and SIP(UDP) transport

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

 



 we are building application on mobile(symbain OS plate form).what i am
doing is  ,  i am creating  stun request using  pj_stun_sock_create() , and
sending stun using  pj_stun_sock_start(). i have enabled keep alive for
stun. every thing works fine for stun ,, but problem comes when i have to
send  sip request or recieve sip request . because i need to use same
port(5060).  few days before   i use run my application without stun
(testing locally or using public address) so i used *
pjsip_udp_transport_start  *API to create SIP transport.  so have been
register to transport manger  callback to recieve  SIP request, and same
transport i was using for sending sip request .please can u suggest me how
i can come out of this problem.

Thanks and Regards
     Vinay.N


On Fri, Aug 28, 2009 at 8:14 PM, Pierre-Luc Bacon <
pierre-luc.bacon at savoirfairelinux.com> wrote:

> What do you mean ? What I described was from the client side.
>
> On Fri, 2009-08-28 at 20:00 +0530, vinay n wrote:
> > sorry  i forget to mention... we are use stun as a client.
> >
> > On Fri, Aug 28, 2009 at 7:23 PM, vinay n <vinikiri at gmail.com> wrote:
> >         Hi  All,
> >
> >         I am facing an issue in using stun for our project. i am using
> >         stun_sock.c file API for stun and pjsip-core and pjsip-simpe
> >         API for SIP.now i have to use 5060 port for both
> >         stun(UDP) and SIP(UDP) transport as a source port , which i am
> >         not able do.can any body suggest  me .. how  to use  stun and
> >         SIP on same port.
> >
> >
> >         Thanks and Regards
> >
> >
> >         Vinay N
> >
>  > _______________________________________________
> > 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
>
>
> _______________________________________________
> 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/20090828/641dc91d/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