[asterisk-bugs] [Asterisk-GUI 0010405]: Agent+SIP hints not working on 1.2.21.1

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Aug 8 07:21:04 CDT 2007


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10405 
====================================================================== 
Reported By:                rlister
Assigned To:                pari
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   10405
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:            1.2.21.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 won't fix
Fixed in Version:           
====================================================================== 
Date Submitted:             08-08-2007 05:32 CDT
Last Modified:              08-08-2007 07:21 CDT
====================================================================== 
Summary:                    Agent+SIP hints not working on 1.2.21.1
Description: 

We recently upgraded to 1.2.21.1 from 1.2.17 (for security fixes)

We have a number of users who can have both a soft phone and an Agent
instance, and they may be logged in on either.

In the hints config, we have:

exten => 706,hint,SIP/706&Agent/706
exten => 707,hint,SIP/707&Agent/707
exten => 708,hint,SIP/708&Agent/708
exten => 710,hint,SIP/710&Agent/710
exten => 711,hint,SIP/711&Agent/711
exten => 713,hint,SIP/713&Agent/713
exten => 714,hint,SIP/714&Agent/714

So that the SUBSCRIBE (blf light) comes on when their soft phone is
online, or when their agent is logged in.

Most people are using X-Lite client.

This was all working fine until the upgrade to 1.2.21.1.

Now, only hints with a single target seem to work. So I can have:

exten => 702,hint,Agent/702

or

exten => 702,hint,SIP/702

But not what I had before. Perhaps the SIP responses have changed such
that X-Lite doesn't deal with it correctly anymore?

Note we cannot go to version 1.4 because the AgentCallBackLogin feature on
which this relies has been deprecated, and I cannot see any other way to
update the hints for agents dynamically.

If I attempt to update the hints from the CLI, asterisk crashes (sometimes
immediately, sometimes when the next client tries to request an update for
that extn.) (Any hints on how to update hints dynamically without asterisk
throwing a wobbly or relying on a deprecated feature would be
appreciated!)

pink*CLI> remove extension 710 at blf-hints
Whole extension 710 at blf-hints removed
pink*CLI>
Aug  8 11:42:37 NOTICE[31826]: chan_sip.c:11221 handle_request_subscribe:
Got SUBSCRIBE for extension 710 at from-client from 195.66.233.231, but there
is no hint for that extension
    -- Registered SIP '710' at 195.66.233.231 port 13520 expires 1800
Aug  8 11:42:54 NOTICE[31826]: chan_sip.c:11221 handle_request_subscribe:
Got SUBSCRIBE for extension 710 at from-client from 195.66.233.231, but there
is no hint for that extension

# now wait a bit for clients to request....

pink*CLI>
Disconnected from Asterisk server

robl at pink ~ $ asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl
exist?)
robl at pink ~ $
robl at pink ~ $ sudo /etc/init.d/asterisk zap
Password:
 * Manually resetting asterisk to stopped state.
robl at pink ~ $ sudo /etc/init.d/asterisk start
 * Starting asterisk PBX (as asterisk) ...                                
                                       [ ok ]


====================================================================== 

---------------------------------------------------------------------- 
 file - 08-08-07 07:21  
---------------------------------------------------------------------- 
1.2 is in a security fixes only state now, and as well you should be using
the last released version of 1.2 (1.2.24) to see if that fixes the issue. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-08-07 07:21  file           Status                   assigned => resolved
08-08-07 07:21  file           Resolution               open => won't fix   
08-08-07 07:21  file           Note Added: 0068598                          
======================================================================




More information about the asterisk-bugs mailing list