pjsip-symbian tls Error

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

 



hi nanang,
thanks for the reply. yes i did #define ENABLE_SIP_TLS??? 1, and the proxy thing.
?
i was the one who reported you that the symbian-tls is working ok.?
when?i try to see calllog i saw a error. i?dig it because on other side?asterisk?receive and playing a demo?file so i was worried.?
?
i can tell?little bit more about the problem:
?
NORMAS MASAGE:
----------------------------INVITE massage----------------------
05:46:46.372? tsx0x2444e7fc? Sending Request msg INVITE/cseq=10270 (tdta0x2444db80) in state Null
?05:46:46.372 sip_transactio? towhid->pjsip_tsx_send_msg2:......
?05:46:46.372? sip_resolve.c? Target 'xx.xx.xx.xx:5071' type=TLS resolved to 'xx.xx.xx.xx:5071' type=TLS (TLS transport)
?05:46:46.372?? pjsua_core.c? TX 969 bytes Request msg INVITE/cseq=10270 (tdta0x2444db80) to tls xx.xx.xx.xx:5071:
----------------------------INVITE massage----------------------
?
?
PROBLEM MASSAGE:
----------------------------ACK massage----------------------
?
?05:46:23.890? dlg0x2444b808? Sending Request msg ACK/cseq=2247 (tdta0x24454974)
?05:46:23.890? sip_resolve.c? Target 'xx.xx.xx.xx:0' type=Unspecified resolved to 'xx.xx.xx.xx:5060' type=UDP (UDP transport)
?05:46:23.895? tsx0x2444e7fc? Timeout timer event
?
----------------------------ACK massage----------------------
?
----------------------------BYE massage----------------------
05:46:49.810?????? endpoint? Request msg BYE/cseq=10272 (tdta0x2444ebb0) created.
?05:46:49.810? inv0x2444b808? Sending Request msg BYE/cseq=10272 (tdta0x2444ebb0)
?05:46:49.810? dlg0x2444b808? Sending Request msg BYE/cseq=10272 (tdta0x2444ebb0)
?05:46:49.810? tsx0x2443e9cc? Transaction created for Request msg BYE/cseq=10271 (tdta0x2444ebb0)
?05:46:49.810? tsx0x2443e9cc? Sending Request msg BYE/cseq=10271 (tdta0x2444ebb0) in state Null
?05:46:49.810 sip_transactio? towhid->pjsip_tsx_send_msg2:......
?05:46:49.815? sip_resolve.c? Target 'xx.xx.xx.xx:0'? type=Unspecified resolved to 'xx.xx.xx.xx:5060' type=UDP (UDP transport)
?05:46:49.815? tsx0x2443e9cc? Failed to send Request msg BYE/cseq=10271 (tdta0x2444ebb0)! err=171060 (Unsupported transport (PJSIP_EUNSUPTRANSPORT))
?
?
?----------------------------BYE massage----------------------
?
i think when the BYE/ACK message comes to sip_resolve.c its not finding its port and its type.
?
any suggation is appriciated.
?
thanks
TOWHID


Just FYI,

In the SVN trunk, symbian_ua sample app has already support for TLS
(on Symbian platforms it is implemented using CSecureSocket), perhaps
this could be a starting point for testing or reference purpose. Here
are few steps to configure it:
1. Build PJSIP with TLS support, see
http://trac.pjsip.org/repos/wiki/TLS#BuildPJSIPwithTLSSupport.
2. Edit ENABLE_SIP_TLS setting in ua.cpp of symbian_ua to enable SIP TLS:
---
#define ENABLE_SIP_TLS??? 1
---
3. Don't forget to put URI param "transport=tls" in proxy or target
settings, e.g: <sip:a.b.c;transport=tls>

BR,
nanang


On Sun, Oct 18, 2009 at 12:17 PM, towhid islam <towhid2000bd at yahoo.com> wrote:
>
> hi,
>
> 1. pjsip tls Error
> 2. pjsip-symbian tls Error
>
> which one is better understanding that the problem related to symbian ?
>
> anyway , i will try to be more attantive.
>
> TLS setup:
>
>
>
> pjsua_transport_config tcfg;
>
> pjsua_transport_id tid;
>
>
>
> pjsua_transport_config_default(&tcfg);
>
> tcfg.
>
> port = SIP_PORT;
>
> tcfg.
>
> tls_setting.method=PJSIP_TLSV1_METHOD;
>
> tcfg.
>
> tls_setting.server_name=pj_str(TLS_SERVER_NAME);
>
> status =
>
> pjsua_transport_create(PJSIP_TRANSPORT_TLS, &tcfg, &tid);
>
>
>
> thanks
>
> towhid
>
>
>
> Yeah, like Benny said, just send the mail once, we will hear it and if
> someone knows the answer they'll reply.
>
> Can you paste the code that sets up the TLS transport please? (Just
> once!)
>
> Shayne.
>
> On 14/10/2009, at 5:34 PM, towhid islam wrote:
>
> > hi,
> >
> > pjsip-symbian tls cant send BYE,
> >
> > log file:
> >
> > 07:55:06.241?? Master/sound? Underflow, buf_cnt=0, will generate 1
> > frame
> > ?07:55:06.241?? Master/sound? Underflow, buf_cnt=0, will generate 1
> > frame
> > ?07:55:06.281? tsx0x2456b2d0? Failed to send Request msg BYE/
> > cseq=29613 (tdta0x2456f880)! err=171060 (Unsupported transport
> > (PJSIP_EUNSUPTRANSPORT))
> > ?07:55:06.346? pjsua_media.c? Media session for call 0 is destroyed
> > ?07:55:06.346?? pjsua_call.c? Failed to send end session message:
> > Unsupported transport (PJSIP_EUNSUPTRANSPORT) [status=171060]
> >
> > why unsupported transport is occurring.
> >
> > thanks
> >
> >
> >
> > _______________________________________________
> > 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
>
> ===================================
> Shayne O'Neill Development
> Mobile, Web and Business process integration.
> shayne.oneill at gmail.com 0400247091
> Ask me about how Alfresco can help your business grow.
>
> _______________________________________________
> 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/20091020/07cb0ea3/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