Unsupported transport

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

 



I figured it out, you have to add ";transport=tcp" to URI.

On Tue, Nov 4, 2008 at 5:16 PM, Peter Cai <newptcai at gmail.com> wrote:
> Hi all,
>
> I'm trying the example at
>
> http://trac.pjsip.org/repos/wiki/Python_SIP/Accounts
>
> The original version of "registration.py" works fine.
>
> But when I changed the line:
>
>    transport = lib.create_transport(pj.TransportType.UDP)
>
> to
>
>   transport = lib.create_transport(pj.TransportType.TCP)
>
>
> I got there error info.
>
>  17:11:44.396    pjsua_acc.c  Unable to generate suitable Contact header for reg
> istration: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [status=171060]
>  17:11:44.396    pjsua_acc.c  Unable to create registration: Unsupported transpo
> rt (PJSIP_EUNSUPTRANSPORT) [status=171060]
>
> No package was sent out at all.
>
> What mistakes did I make?
>



-- 
???????????DNA?????????????????????????????????????????????????????????????????????????????????????????


[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