pjus2 C++ api how to use tcp to connect to proxy for registier

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

 



Hi  all, 
    I'm trying to use pjusa2 c++ API to do my own register in my own proxy server , when i try to do code like below :
"
                TransportConfig tcfg ; 
tcfg.port=6000;
TransportId tsid = _endpoint->transportCreate(PJSIP_TRANSPORT_TCP,tcfg) ;
"
it seems not work , in wireshark i can't catch any sip tcp packet , and i refer the FAQ, to to add proxy to accout  like below:

"
    acfg.sipConfig.proxies.push_back("sip:192.168.17.151:6000;transport=tcp");
"
it seem connected to my own server, and return code 408, but  why can't i catch the packet in my wireshark??

 is there something wrong in my code ?? thx a lot!





Best Regards!
yours Yongwen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150202/c63eb089/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