[Home]

Summary:ASTERISK-07258: CLI -> Sip show peer XXXXX
Reporter:Badalian Vyacheslav (slavon)Labels:
Date Opened:2006-06-30 02:38:58Date Closed:2006-07-06 10:55:10
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bug_7455_r37144_sav_v1.diff
( 1) bug_7455_v1.2.9.1_sav_v1.diff
Description:CLI -> Sip show peer XXXXX

Expire information don't update
Comments:By: Olle Johansson (oej) 2006-06-30 02:59:03

Give us examples!!!

By: Badalian Vyacheslav (slavon) 2006-06-30 03:05:27

Registring expare not show in realtime.

office*CLI> sip show peer a74995008002
office*CLI>

 * Name       : a74995008002
 Secret       : <Set>
 MD5Secret    : <Not set>
 Context      : mtu-send-a74995008002
 Subscr.Cont. : <Not set>
 Language     :
 AMA flags    : Unknown
 CallingPres  : Presentation Allowed, Not Screened
 Callgroup    :
 Pickupgroup  :
 Mailbox      :
 VM Extension : asterisk
 LastMsgsSent : -1
 Call limit   : 0
 Dynamic      : Yes
 Callerid     : "" <>
 Expire       : 174
 Insecure     : no
 Nat          : RFC3581
 ACL          : No
 CanReinvite  : No
 PromiscRedir : No
 User=Phone   : No
 Trust RPID   : No
 Send RPID    : No
 DTMFmode     : rfc2833
 LastMsg      : 0
 ToHost       :
 Addr->IP     : 10.10.181.48 Port 5060
 Defaddr->IP  : 10.10.181.48 Port 5060
 Def. Username: a74995008002
 SIP Options  : (none)
 Codecs       : 0xc (ulaw|alaw)
 Codec Order  : (ulaw,alaw)
 Status       : Unmonitored
 Useragent    : Phone Adapter
 Reg. Contact : sip:a74995008002@10.10.181.48:5060
office*CLI>
office*CLI> sip show peer a74995008002
office*CLI>

 * Name       : a74995008002
 Secret       : <Set>
 MD5Secret    : <Not set>
 Context      : mtu-send-a74995008002
 Subscr.Cont. : <Not set>
 Language     :
 AMA flags    : Unknown
 CallingPres  : Presentation Allowed, Not Screened
 Callgroup    :
 Pickupgroup  :
 Mailbox      :
 VM Extension : asterisk
 LastMsgsSent : -1
 Call limit   : 0
 Dynamic      : Yes
 Callerid     : "" <>
 Expire       : 174
 Insecure     : no
 Nat          : RFC3581
 ACL          : No
 CanReinvite  : No
 PromiscRedir : No
 User=Phone   : No
 Trust RPID   : No
 Send RPID    : No
 DTMFmode     : rfc2833
 LastMsg      : 0
 ToHost       :
 Addr->IP     : 10.10.181.48 Port 5060
 Defaddr->IP  : 10.10.181.48 Port 5060
 Def. Username: a74995008002
 SIP Options  : (none)
 Codecs       : 0xc (ulaw|alaw)
 Codec Order  : (ulaw,alaw)
 Status       : Unmonitored
 Useragent    : Phone Adapter
 Reg. Contact : sip:a74995008002@10.10.181.48:5060

office*CLI> sip show peer a74995008002
office*CLI>

 * Name       : a74995008002
 Secret       : <Set>
 MD5Secret    : <Not set>
 Context      : mtu-send-a74995008002
 Subscr.Cont. : <Not set>
 Language     :
 AMA flags    : Unknown
 CallingPres  : Presentation Allowed, Not Screened
 Callgroup    :
 Pickupgroup  :
 Mailbox      :
 VM Extension : asterisk
 LastMsgsSent : -1
 Call limit   : 0
 Dynamic      : Yes
 Callerid     : "" <>
 Expire       : 174
 Insecure     : no
 Nat          : RFC3581
 ACL          : No
 CanReinvite  : No
 PromiscRedir : No
 User=Phone   : No
 Trust RPID   : No
 Send RPID    : No
 DTMFmode     : rfc2833
 LastMsg      : 0
 ToHost       :
 Addr->IP     : 10.10.181.48 Port 5060
 Defaddr->IP  : 10.10.181.48 Port 5060
 Def. Username: a74995008002
 SIP Options  : (none)
 Codecs       : 0xc (ulaw|alaw)
 Codec Order  : (ulaw,alaw)
 Status       : Unmonitored
 Useragent    : Phone Adapter
 Reg. Contact : sip:a74995008002@10.10.181.48:5060
office*CLI>
office*CLI>

By: Joshua C. Colp (jcolp) 2006-07-05 12:02:51

This is not a bug, chan_sip was not written to update the expire number in realtime... it's just the numerical value of when it will expire. If you mean something differently, then reopen this bug.

By: Joshua C. Colp (jcolp) 2006-07-05 12:08:20

This is actually misleading, after I looked at the code I clued in on what it was. Expire is the scheduled item ID for the expiration.

By: Badalian Vyacheslav (slavon) 2006-07-05 16:21:28

In old version (1.0.x) this param ask to me in realtime that Device time left to reregistring. May be i wrong but than time is near 0 - devices is do reregister.

By: Olle Johansson (oej) 2006-07-06 08:37:00

Josh - is this fixed?

By: Serge Vecher (serge-v) 2006-07-06 10:35:57

Patches for trunk and 1.2.9.1 with cosmetic fixes uploaded; disclaimer on file.

By: Joshua C. Colp (jcolp) 2006-07-06 10:55:09

Fixed in both 1.2 and trunk! Thanks, took awhile to understand but we got there!