Hall, Eric M.
2007-Apr-03  08:24 UTC
[asterisk-users] Hints not working using SVN-branch-1.4-r59289
Group
 I'm having trouble getting hints to work correctly using
SVN-branch-1.4-r59289
I have hints working on several other systems but I must be missing
something this time around.
 
 
VoIPGW*CLI> show hints 
    -= Registered Asterisk Dial Plan Hints =-
                     30@default             :
State:Unavailable     Watchers  3
                     29@default             :
State:Unavailable     Watchers  3
                     26@default             :
State:Unavailable     Watchers  4
                     25@default             :
State:Unavailable     Watchers  2
                     23@default             :
State:Unavailable     Watchers  4
                     21@default             :
State:Unavailable     Watchers  4
---------------
- 6 hints registered
 
 
Here is the sip.conf
 
 
[general]
context=default                 ; Default context for incoming calls
allowguest=no                   ; Allow or reject guest calls (default
is yes)
allowoverlap=no                 ; Disable overlap dialing support.
(Default is yes)
;allowtransfer=no               ; Disable all transfers (unless enabled
in peers or users)
bindport=5060                   ; UDP Port to bind to (SIP standard port
is 5060)
bindaddr=0.0.0.0                ; IP address to bind to (0.0.0.0 binds
to all)
srvlookup=yes                   ; Enable DNS SRV lookups on outbound
calls
subscribecontext = default      ; Set a specific context for SUBSCRIBE
requests
notifyringing = yes             ; Notify subscriptions on RINGING state
(default: no)
notifyhold = yes                ; Notify subscriptions on HOLD state
(default: no)
limitonpeers=yes
allow=ulaw
 
[21] ;Bill Salmons
type=peer
username=21
callerid=Bill Salmons  <21>
secret=21
host=dynamic
context=default
mailbox=21
canreinvite=no
nat=1
qualify=yes
Subscribecontext=default
notifyringing=yes
call-limit=30
 
[23] ;Teresa Trautman
type=peer
username=23
callerid=Teresa Trautman  <23>
secret=23
host=dynamic
context=default
mailbox=23
canreinvite=no
nat=1
qualify=yes
Subscribecontext=default
notifyringing=yes
call-limit=300
 
[25] ;Bill Goldsmith
type=peer
username=25
callerid=Bill Goldsmith <25>
secret=25
host=dynamic
context=default
mailbox=25
canreinvite=no
nat=1
qualify=yes
Subscribecontext=default
notifyringing=yes
call-limit=300
 
[26] ;Joelle Harris
type=peer
username=26
callerid=Joelle Harris  <26>
secret=26
host=dynamic
context=default
mailbox=26
canreinvite=no
nat=1
qualify=yes
Subscribecontext=default
notifyringing=yes
call-limit=300
 
[29] ;Amanda Anderson
type=peer
username=29
callerid=Amanda Anderson <29>
secret=29
host=dynamic
context=default
mailbox=29
canreinvite=no
nat=1
qualify=yes
Subscribecontext=default
notifyringing=yes
call-limit=300
 
[30] ;Joelle Harris
type=peer
username=30
callerid=Liz Williamson <30>
secret=30
host=dynamic
context=default
mailbox=30
canreinvite=no
nat=1
qualify=yes
Subscribecontext=default
notifyringing=yes
call-limit=300
 
[ata]
type=peer
username=ata
host=dynamic
context=default
secret=ata
 
 
 
here is the extensions.conf
[default]
include => parkedcalls
 
exten => 21,hint(SIP/21)
exten => 21,1,answer
exten => 21,n,dial(sip/21|30|kw)
exten => 21,n,voicemail(21@default|u)
 
exten => 23,hint(sip/23)
exten => 23,1,answer
exten => 23,n,dial(sip/23|30|kw)
exten => 23,n,voicemail(23@default|u)
 
exten => 25,hint(SIP/25)
exten => 25,1,answer
exten => 25,n,dial(sip/25|30|kw)
exten => 25,n,voicemail(25@default|u)
 
exten => 26,hint(SIP/26)
exten => 26,1,answer
exten => 26,n,dial(sip/26|30|kw)
exten => 26,n,voicemail(26@default|u)
 
exten => 29,hint(SIP/29)
exten => 29,1,answer
exten => 29,n,dial(sip/29|30|kw)
exten => 29,n,voicemail(29@default|u)
 
exten => 30,hint(SIP/30)
exten => 30,1,answer
exten => 30,n,dial(sip/30|30|kw)
exten => 30,n,voicemail(30@default|u)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070403/baa466e4/attachment.htm
Hall, Eric M.
2007-Apr-04  10:38 UTC
[asterisk-users] Hints not working using SVN-branch-1.4-r59289
Just wanted to update the group.
 I copied the config file to a working server and the hints worked
without any problems. 
 
Can anyone tell me if they have a working system using hits and
SVN-branch-1.4-r59289 or newer.
 
 
Eric Hall
 
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Hall, Eric
M.
Sent: Tuesday, April 03, 2007 11:27 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Hints not working using SVN-branch-1.4-r59289
 
Group
 I'm having trouble getting hints to work correctly using
SVN-branch-1.4-r59289
I have hints working on several other systems but I must be missing
something this time around.
 
 
VoIPGW*CLI> show hints 
    -= Registered Asterisk Dial Plan Hints =-
                     30@default             :
State:Unavailable     Watchers  3
                     29@default             :
State:Unavailable     Watchers  3
                     26@default             :
State:Unavailable     Watchers  4
                     25@default             :
State:Unavailable     Watchers  2
                     23@default             :
State:Unavailable     Watchers  4
                     21@default             :
State:Unavailable     Watchers  4
---------------
- 6 hints registered
 
 
Here is the sip.conf
 
 
[general]
context=default                 ; Default context for incoming calls
allowguest=no                   ; Allow or reject guest calls (default
is yes)
allowoverlap=no                 ; Disable overlap dialing support.
(Default is yes)
;allowtransfer=no               ; Disable all transfers (unless enabled
in peers or users)
bindport=5060                   ; UDP Port to bind to (SIP standard port
is 5060)
bindaddr=0.0.0.0                ; IP address to bind to (0.0.0.0 binds
to all)
srvlookup=yes                   ; Enable DNS SRV lookups on outbound
calls
subscribecontext = default      ; Set a specific context for SUBSCRIBE
requests
notifyringing = yes             ; Notify subscriptions on RINGING state
(default: no)
notifyhold = yes                ; Notify subscriptions on HOLD state
(default: no)
limitonpeers=yes
allow=ulaw
 
[21] ;Bill Salmons
type=peer
username=21
callerid=Bill Salmons  <21>
secret=21
host=dynamic
context=default
mailbox=21
canreinvite=no
nat=1
qualify=yes
Subscribecontext=default
notifyringing=yes
call-limit=30
 
[23] ;Teresa Trautman
type=peer
username=23
callerid=Teresa Trautman  <23>
secret=23
host=dynamic
context=default
mailbox=23
canreinvite=no
nat=1
qualify=yes
Subscribecontext=default
notifyringing=yes
call-limit=300
 
[25] ;Bill Goldsmith
type=peer
username=25
callerid=Bill Goldsmith <25>
secret=25
host=dynamic
context=default
mailbox=25
canreinvite=no
nat=1
qualify=yes
Subscribecontext=default
notifyringing=yes
call-limit=300
 
[26] ;Joelle Harris
type=peer
username=26
callerid=Joelle Harris  <26>
secret=26
host=dynamic
context=default
mailbox=26
canreinvite=no
nat=1
qualify=yes
Subscribecontext=default
notifyringing=yes
call-limit=300
 
[29] ;Amanda Anderson
type=peer
username=29
callerid=Amanda Anderson <29>
secret=29
host=dynamic
context=default
mailbox=29
canreinvite=no
nat=1
qualify=yes
Subscribecontext=default
notifyringing=yes
call-limit=300
 
[30] ;Joelle Harris
type=peer
username=30
callerid=Liz Williamson <30>
secret=30
host=dynamic
context=default
mailbox=30
canreinvite=no
nat=1
qualify=yes
Subscribecontext=default
notifyringing=yes
call-limit=300
 
[ata]
type=peer
username=ata
host=dynamic
context=default
secret=ata
 
 
 
here is the extensions.conf
[default]
include => parkedcalls
 
exten => 21,hint(SIP/21)
exten => 21,1,answer
exten => 21,n,dial(sip/21|30|kw)
exten => 21,n,voicemail(21@default|u)
 
exten => 23,hint(sip/23)
exten => 23,1,answer
exten => 23,n,dial(sip/23|30|kw)
exten => 23,n,voicemail(23@default|u)
 
exten => 25,hint(SIP/25)
exten => 25,1,answer
exten => 25,n,dial(sip/25|30|kw)
exten => 25,n,voicemail(25@default|u)
 
exten => 26,hint(SIP/26)
exten => 26,1,answer
exten => 26,n,dial(sip/26|30|kw)
exten => 26,n,voicemail(26@default|u)
 
exten => 29,hint(SIP/29)
exten => 29,1,answer
exten => 29,n,dial(sip/29|30|kw)
exten => 29,n,voicemail(29@default|u)
 
exten => 30,hint(SIP/30)
exten => 30,1,answer
exten => 30,n,dial(sip/30|30|kw)
exten => 30,n,voicemail(30@default|u)
 
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date:
4/3/2007 5:32 AM
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070404/43147220/attachment.htm