Error while using TCP transport

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

 



Hi ;



I ve tried successful TCP connection with Sipc server. Do not forget to add
;transport=tls  at the end of registrar and proxy URLs.

You may use no-udp properties to disable all udp connection. There is also
use-tls properties which is experimental as far as i read from the
documentations.



One more simple thing.. check if the proxy server accepts TCP connection
(all ports and accesses  configuration)



Regards

muge


On Fri, Sep 5, 2008 at 10:58 AM, girish_kumar <girish_kumar at infosys.com>wrote:

>  Hi,
>
>
>
> We are using PJSIP 0.8.0 in one of our softphone application which is
> working fine and uses UDP for SIP messages. Now we want to use TCP transport
> for SIP messages instead of UDP. For achieving the same, we replaced the
> input parameters in pjsua_transport_create method to PJSIP_TRANSPORT_TCP
> instead of PJSIP_TRANSPORT_UDP. All other method calls are same.
>
>
>
> However, now we are getting following error when PJSIP starts the account
> registration process.
>
>
>
> *pjsua_acc.c Unable to generate suitable Contact header for registration:
> Unsupported transport (PJSIP_EUNSUPTRANSPORT) [status=171060]*
>
> *pjsua_acc.c Unable to create registration: Unsupported transport
> (PJSIP_EUNSUPTRANSPORT) [status=171060]*
>
>
>
> Please suggest what do we need to do extra to make it work? Is it necessary
> to explicitly bind the transport while creating/adding the sip account. As I
> understand, an account would be able to send requests using any available
> transports according to the destination.
>
>
>
> Regards
>
> Girish
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
> for the use of the addressee(s). If you are not the intended recipient, please
> notify the sender by e-mail and delete the original message. Further, you are not
> to copy, disclose, or distribute this e-mail or its contents to any other person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
> every reasonable precaution to minimize this risk, but is not liable for any damage
> you may sustain as a result of any virus in this e-mail. You should carry out your
> own virus checks before opening the e-mail or attachment. Infosys reserves the
> right to monitor and review the content of all messages sent to or from this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
>
> _______________________________________________
> 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/20080905/7da19857/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