pjsua unregister upon register for ipv6 client

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

 



Hi Benny,
Do I misunderstand what you mean? "A Log file will be on great help" mean which log file you suggest for me to read? or you was asking me for attach my log file to you?
Hope heard from you soon.

Thanks

Sincerely,
ws




________________________________
From: Soh Wei Sin <wssoh85@xxxxxxxxx>
To: pjsip list <pjsip at lists.pjsip.org>
Sent: Saturday, March 21, 2009 11:59:20 AM
Subject: Re: pjsua unregister upon register for ipv6 client


Hi Benny,
The attached file is my log file. From the log file, I found that the pjsua is able to register to SER, however, after it success in register, then it automatically unregister

after that. Why would this happen?

sincerely,
ws


________________________________
From: Benny Prijono <bennylp@xxxxxxxxx>
To: pjsip list <pjsip at lists.pjsip.org>
Sent: Friday, March 20, 2009 10:08:51 PM
Subject: Re: pjsua unregister upon register for ipv6 client

2009/3/20 Soh Wei Sin <wssoh85 at yahoo.com>

Hi,



[snip]
 

Is it all that I need to do?



It probably is.
 
However, after done all the change, when i start the pjsua with command below:

./pjsua-i686-pc-linux-gnu --id sip:mobile@[2001:db8:121::3] --registrar sip:[2001:db8:121::3]

the pjsua register to sip server (SER) , and then it straight unregister. Can I know whats happen here?



Log file will be of great help.

cheers 
benny

 
I urgently need helps from you all since I google around but with very little information about this.

Thanks in advance.

Sincerely,
ws



_______________________________________________
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

_______________________________________________
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






-----Inline Attachment Follows-----

Script started on Sat 21 Mar 2009 11:51:37 AM MYT
]0;ims at ims-laptop: ~/Desktop/v6pjproject-1.0.1/pjsip-apps/binims at ims-laptop:~/Desktop/v6pjproject-1.0.1/pjsip-apps/bin$ sudo gedit /boot/grub/menu.lst ls[Kcd  /boot/grub/[7 at sudo gedit[C[C[C[C[C[C[C[C[C[C[C[C[12P./vlc -vvvcd Desktop/orivlc-0.8.6f/lear[K./vlc -vvv[6Pmake./vlc -vvv[6Pmakewping 192.168.1.10[1P510makw[Ke./vlc -vvv[6Pmake./vlc -vvv[5Pcleard Desktop/orivlc-0.8.6f/[15P./vlc -vvvsudo gedit /boot/grub/[7Pcd [C[C[C[C[C[C[C[C[C[C[C[Cls[Ksudo gedit /boot/grub/menu.lst [Ksudo gedit /boot/grub/menu.lst [K./pjsua-i686-pc-linux-gnu --local-port=6060 --id sip:h[Kims@[2001:db8:1 
21::3] --registrar sip:[2001:db8:121::3]
11:52:25.653 os_core_unix.c  pjlib 1.0.1 for POSIX initialized
11:52:25.654 sip_endpoint.c  Creating endpoint instance...
11:52:25.654          pjlib  select() I/O Queue created (0x81a8c68)
11:52:25.654 sip_endpoint.c  Module "mod-msg-print" registered
11:52:25.654 sip_transport.  Transport manager created.
11:52:25.654 sip_endpoint.c  Module "mod-pjsua-log" registered
11:52:25.655 sip_endpoint.c  Module "mod-tsx-layer" registered
11:52:25.655 sip_endpoint.c  Module "mod-stateful-util" registered
11:52:25.655 sip_endpoint.c  Module "mod-ua" registered
11:52:25.655 sip_endpoint.c  Module "mod-100rel" registered
11:52:25.655 sip_endpoint.c  Module "mod-pjsua" registered
11:52:25.655 sip_endpoint.c  Module "mod-invite" registered
11:52:26.061      pasound.c  PortAudio sound library initialized, status=0
11:52:26.061      pasound.c  PortAudio host api count=2
11:52:26.061      pasound.c  Sound device count=15
11:52:26.062          pjlib  select() I/O Queue created (0x81c8cac)
11:52:26.062 sip_endpoint.c  Module "mod-evsub" registered
11:52:26.062 sip_endpoint.c  Module "mod-presence" registered
11:52:26.062 sip_endpoint.c  Module "mod-refer" registered
11:52:26.062 sip_endpoint.c  Module "mod-pjsua-pres" registered
11:52:26.062 sip_endpoint.c  Module "mod-pjsua-im" registered
11:52:26.062 sip_endpoint.c  Module "mod-pjsua-options" registered
11:52:26.063   pjsua_core.c  1 SIP worker threads created
11:52:26.063   pjsua_core.c  pjsua version 1.0.1 for i686-pc-linux-gnu initialized
11:52:26.368   pjsua_core.c  SIP UDP socket reachable at 2001:db8:121::3:6060
11:52:26.368 udpv60x81d83b0  SIP UDP IPv6 transport started, published address is 2001:db8:121::3:6060
11:52:26.368    pjsua_acc.c  Account <sip:[2001:db8:121::3]:6060> added with id 0
11:52:26.368    tcplis:6060  SIP TCP listener ready for incoming connections at 192.168.1.10:6060
11:52:26.368    pjsua_acc.c  Account <sip:[192.168.1.10]:6060;transport=TCP> added with id 1
11:52:26.368    pjsua_acc.c  Account sip:ims@[2001:db8:121::3] added with id 2
11:52:26.368   pjsua_core.c  TX 447 bytes Request msg REGISTER/cseq=60648 (tdta0x81dae10) to UDP 2001:db8:121::3:5060:
REGISTER sip:[2001:db8:121::3] SIP/2.0 
Via: SIP/2.0/UDP [2001:db8:121::3]:6060;rport;branch=z9hG4bKPjA2WfcmH7EuBIa8RJ5qjFaL-AnQGoyDNG 
Max-Forwards: 70 
From: <sip:ims@[2001:db8:121::3]>;tag=1QQcZBzeEFNOTUXj1SnMWjoXaVWICjQ2 
To: <sip:ims@[2001:db8:121::3]> 
Call-ID: pMlBEOOxmlc5jk.xt0HQWCeBJ4xL7gb5 
CSeq: 60648 REGISTER 
User-Agent: PJSUA v1.0.1/i686-pc-linux-gnu 
Contact: <sip:ims@[2001:db8:121::3]:6060> 
Expires: 300 
Content-Length:  0 


--end msg--
11:52:26.369    pjsua_acc.c  Registration sent
11:52:26.369  pjsua_media.c  RTP socket reachable at 192.168.1.10:4000
11:52:26.369  pjsua_media.c  RTCP socket reachable at 192.168.1.10:4001
11:52:26.369  pjsua_media.c  RTP socket reachable at 192.168.1.10:4002
11:52:26.369  pjsua_media.c  RTCP socket reachable at 192.168.1.10:4003
11:52:26.369  pjsua_media.c  RTP socket reachable at 192.168.1.10:4004
11:52:26.369  pjsua_media.c  RTCP socket reachable at 192.168.1.10:4005
11:52:26.369  pjsua_media.c  RTP socket reachable at 192.168.1.10:4006
11:52:26.369  pjsua_media.c  RTCP socket reachable at 192.168.1.10:4007
>>>>
Account list:
  [ 0] <sip:[2001:db8:121::3]:6060>: does not register
       Online status: Online
  [ 1] <sip:[192.168.1.10]:6060;transport=TCP>: does not register
       Online status: Online
*[ 2] sip:ims@[2001:db8:121::3]: 100/In Progress (expires=0)
       Online status: Online
Buddy list:
-none-

+=============================================================================+
|       Call Commands:         |   Buddy, IM & Presence:  |     Account:      |
|                              |                          |                   |
|  m  Make new call            | +b  Add new buddy       .| +a  Add new accnt |
|  M  Make multiple calls      | -b  Delete buddy         | -a  Delete accnt. |
|  a  Answer call              |  i  Send IM              | !a  Modify accnt. |
|  h  Hangup call  (ha=all)    |  s  Subscribe presence   | rr  (Re-)register |
|  H  Hold call                |  u  Unsubscribe presence | ru  Unregister    |
|  v  re-inVite (release hold) |  t  ToGgle Online status |  >  Cycle next ac.|
|  U  send UPDATE              |  T  Set online status    |  <  Cycle prev ac.|
| ],[ Select next/prev call    +--------------------------+-------------------+
|  x  Xfer call                |      Media Commands:     |  Status & Config: |
|  X  Xfer with Replaces       |                          |                   |
|  #  Send RFC 2833 DTMF       | cl  List ports           |  d  Dump status   |
|  *  Send DTMF with INFO      | cc  Connect port         | dd  Dump detailed |
| dq  Dump curr. call quality  | cd  Disconnect port      | dc  Dump config   |
|                              |  V  Adjust audio Volume  |  f  Save config   |
|  S  Send arbitrary REQUEST   | Cp  Codec priorities     |  f  Save config   |
+------------------------------+--------------------------+-------------------+
|  q  QUIT       sleep MS     echo [0|1|txt]        n: detect NAT type        |
+=============================================================================+
You have 0 active call
>>>  11:52:26.375   pjsua_core.c  RX 685 bytes Response msg 200/REGISTER/cseq=60648 (rdata0x81d8824) from UDP 2001:db8:121::3:5060:
SIP/2.0 200 OK 
Via: SIP/2.0/UDP [2001:db8:121::3]:6060;rport=6060;branch=z9hG4bKPjA2WfcmH7EuBIa8RJ5qjFaL-AnQGoyDNG;received=2001:DB8:121:0:0:0:0:3 
From: <sip:ims@[2001:db8:121::3]>;tag=1QQcZBzeEFNOTUXj1SnMWjoXaVWICjQ2 
To: <sip:ims@[2001:db8:121::3]>;tag=9ab222bedaadae7945b972e442a3f11d.f31f 
Call-ID: pMlBEOOxmlc5jk.xt0HQWCeBJ4xL7gb5 
CSeq: 60648 REGISTER 
Contact: <sip:ims@[2001:db8:121::3]:6060>;expires=300 
Server: Sip EXpress router (0.9.6 (i386/linux)) 
Content-Length: 0 
Warning: 392 2001:DB8:121:0:0:0:0:3:5060 "Noisy feedback tells:  pid=10131 req_src_ip=2001:DB8:121:0:0:0:0:3 req_src_port=6060 in_uri=sip:[2001:db8:121::3] out_uri=sip:[2001:db8:121::3] via_cnt==1" 


--end msg--
11:52:26.375    pjsua_acc.c  IP address change detected for account 2 (2001:db8:121::3:6060 --> 2001:DB8:121:0:0:0:0:3:6060). Updating registration..
11:52:26.376   pjsua_core.c  TX 445 bytes Request msg REGISTER/cseq=60649 (tdta0x81e7400) to UDP 2001:db8:121::3:5060:
REGISTER sip:[2001:db8:121::3] SIP/2.0 
Via: SIP/2.0/UDP [2001:db8:121::3]:6060;rport;branch=z9hG4bKPjBkzhNOLdaUSScRCJb4HCcPtttV8yg7vq 
Max-Forwards: 70 
From: <sip:ims@[2001:db8:121::3]>;tag=3vxkLPG9J6EjDoKVW.926s2v0JFaswAl 
To: <sip:ims@[2001:db8:121::3]> 
Call-ID: pMlBEOOxmlc5jk.xt0HQWCeBJ4xL7gb5 
CSeq: 60649 REGISTER 
User-Agent: PJSUA v1.0.1/i686-pc-linux-gnu 
Contact: <sip:ims@[2001:db8:121::3]:6060> 
Expires: 0 
Content-Length:  0 


--end msg--
11:52:26.376    pjsua_acc.c  Unregistration sent
11:52:26.376      sip_reg.c  Invalid Contact URI: "<sip:ims at 2001:DB8:121:0:0:0:0:3:6060;transport=UDP>"
11:52:26.376    pjsua_acc.c  Client registration initialization error: Invalid URI (PJSIP_EINVALIDURI) [status=171039]
11:52:26.376    pjsua_acc.c  Unable to create registration: Invalid URI (PJSIP_EINVALIDURI) [status=171039]
11:52:26.376   pjsua_core.c  RX 630 bytes Response msg 200/REGISTER/cseq=60649 (rdata0x81d8824) from UDP 2001:db8:121::3:5060:
SIP/2.0 200 OK 
Via: SIP/2.0/UDP [2001:db8:121::3]:6060;rport=6060;branch=z9hG4bKPjBkzhNOLdaUSScRCJb4HCcPtttV8yg7vq;received=2001:DB8:121:0:0:0:0:3 
From: <sip:ims@[2001:db8:121::3]>;tag=3vxkLPG9J6EjDoKVW.926s2v0JFaswAl 
To: <sip:ims@[2001:db8:121::3]>;tag=9ab222bedaadae7945b972e442a3f11d.868a 
Call-ID: pMlBEOOxmlc5jk.xt0HQWCeBJ4xL7gb5 
CSeq: 60649 REGISTER 
Server: Sip EXpress router (0.9.6 (i386/linux)) 
Content-Length: 0 
Warning: 392 2001:DB8:121:0:0:0:0:3:5060 "Noisy feedback tells:  pid=10133 req_src_ip=2001:DB8:121:0:0:0:0:3 req_src_port=6060 in_uri=sip:[2001:db8:121::3] out_uri=sip:[2001:db8:121::3] via_cnt==1" 


--end msg--
q
11:52:40.060      pasound.c  PortAudio sound library shutting down..
11:52:40.061   pjsua_core.c  Shutting down...
11:52:41.064   pjsua_core.c  Destroying...
11:52:41.064 sip_transactio  Stopping transaction layer module
11:52:41.064 sip_endpoint.c  Module "mod-pjsua-options" unregistered
11:52:41.064 sip_endpoint.c  Module "mod-pjsua-im" unregistered
11:52:41.064 sip_endpoint.c  Module "mod-pjsua-pres" unregistered
11:52:41.064 sip_endpoint.c  Module "mod-pjsua" unregistered
11:52:41.064 sip_endpoint.c  Module "mod-stateful-util" unregistered
11:52:41.064 sip_endpoint.c  Module "mod-refer" unregistered
11:52:41.064 sip_endpoint.c  Module "mod-presence" unregistered
11:52:41.064 sip_endpoint.c  Module "mod-evsub" unregistered
11:52:41.064 sip_endpoint.c  Module "mod-invite" unregistered
11:52:41.064 sip_endpoint.c  Module "mod-100rel" unregistered
11:52:41.064 sip_endpoint.c  Module "mod-ua" unregistered
11:52:41.064 sip_transactio  Transaction layer module destroyed
11:52:41.064 sip_endpoint.c  Module "mod-tsx-layer" unregistered
11:52:41.064 sip_endpoint.c  Module "mod-msg-print" unregistered
11:52:41.064 sip_endpoint.c  Module "mod-pjsua-log" unregistered
11:52:41.068    tcplis:6060  SIP TCP listener destroyed
11:52:41.068 sip_endpoint.c  Endpoint 0x81a0dbc destroyed
11:52:41.069   pjsua_core.c  PJSUA destroyed...
]0;ims at ims-laptop: ~/Desktop/v6pjproject-1.0.1/pjsip-apps/binims at ims-laptop:~/Desktop/v6pjproject-1.0.1/pjsip-apps/bin$ exit
exit

Script done on Sat 21 Mar 2009 11:52:43 AM MYT



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090324/07f0597a/attachment-0001.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