Hi all,
I'm currently using PJProject 1.0.1 and Ubuntu 7.10. I currently test the pjsua's ability to send send instant message, however, it seem like cannot work. Therefore, I want ask how can make the pjsua support for IPv6 account?
In terminal, I type
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
./pjsua-i686-pc-linux-gnu --id sip:desktop@[2001:db8:111::3] --registrar sip:[2001:db8:111::3] --local-port=7077
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
(I set the local-port = 7077 because I use ser and pjsua in single PC, therefore, I change its port number to avoid network problem) yet, it give the error message of that account:
?????????????????????????????????????????????????????????????????????????????????????????????????
17:14:45.061 udp0x81d7428 SIP UDP transport started, published address is 192.168.1.112:7077
17:14:45.061 pjsua_acc.c Account sip:192.168.1.112:7077 added with id 0
17:14:45.062 tcplis:7077 SIP TCP listener ready for incoming connections at 192.168.1.112:7077
17:14:45.062 pjsua_acc.c Account sip:192.168.1.112:7077;transport=TCP added with id 1
17:14:45.062 pjsua_acc.c Account sip:desktop@[2001:db8:111::3] added with id 2
17:14:45.062 pjsua_acc.c Unable to generate suitable Contact header for registration: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [status=171060]
17:14:45.062 pjsua_acc.c Unable to create registration: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [status=171060]
17:14:45.062 pjsua_media.c RTP socket reachable at 192.168.1.112:4000
??????????????????????????????????????????????????????????????????????????????????????????????????
I had the IPv6 address in for my eth0:
below is output of ifconfig:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
client1@client1-desktop:~/Desktop/wssoh/2testvlc-0.8.6f$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:21:5A:18:C9:83
inet addr:192.168.1.112 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: 2001:db8:111::3/64 Scope:Global
inet6 addr: fe80::221:5aff:fe18:c983/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
RX packets:58295 errors:0 dropped:0 overruns:0 frame:0
TX packets:23453 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:68572780 (65.3 MB) TX bytes:2960558 (2.8 MB)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:248 errors:0 dropped:0 overruns:0 frame:0
TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:51396 (50.1 KB) TX bytes:51396 (50.1 KB)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
can give me some guide?
Sincerely,
WS