[Asterisk-Users] Struggling with grandstream sip to asterisk

marrandy marrandy at chaossolutions.org
Thu Nov 20 13:31:22 MST 2003


On Monday 17 November 2003 10:31 pm, Brian West wrote:
> Show us your sip.conf entries.. and i'm sure I can point out the error.
> 
> bkw

Hello Brian.

Well, I've tried over 20 different settings, from examples in the archives 
etc.
This is the last one I tried, for what it's worth.

Grandstream Program--1.0.3.81    Bootloader--1.0.0.7    HTML--1.0.0.18 
Grandstream is 192.1681.170  asterisk is 192.168.1.1.

What happens presently, is I call call from/to an analog phone on zap/2-1 
(fxo, tdm400).  If I try voicemail, I get the comdian mail prompt.  But when 
I enter an extension, it times out.  Debug says:-

*CLI> sip show peers
Name/username    Host                 Mask             Port     Status
206/206          192.168.1.70         255.255.255.255  5060     OK (13 ms)
*CLI> NOTICE[81926]: File chan_sip.c, Line 5215 (handle_request): Registration 
from '<sip:206 at 192.168.1.1>' failed for '192.168.1.70'
NOTICE[81926]: File chan_sip.c, Line 5215 (handle_request): Registration from 
'<sip:206 at 192.168.1.1>' failed for '192.168.1.70'
NOTICE[81926]: File chan_sip.c, Line 5215 (handle_request): Registration from 
'<sip:206 at 192.168.1.1>' failed for '192.168.1.70'
NOTICE[81926]: File chan_sip.c, Line 5215 (handle_request): Registration from 
'<sip:206 at 192.168.1.1>' failed for '192.168.1.70'
NOTICE[81926]: File chan_sip.c, Line 5215 (handle_request): Registration from 
'<sip:206 at 192.168.1.1>' failed for '192.168.1.70'
    -- Executing VoiceMailMain("SIP/206-7ecb", "") in new stack
  == Parsing '/etc/asterisk/voicemail.conf': Found
    -- Playing 'vm-login'
NOTICE[81926]: File chan_sip.c, Line 5215 (handle_request): Registration from 
'<sip:206 at 192.168.1.1>' failed for '192.168.1.70'
NOTICE[81926]: File chan_sip.c, Line 5215 (handle_request): Registration from 
'<sip:206 at 192.168.1.1>' failed for '192.168.1.70'
NOTICE[81926]: File chan_sip.c, Line 5215 (handle_request): Registration from 
'<sip:206 at 192.168.1.1>' failed for '192.168.1.70'
NOTICE[81926]: File chan_sip.c, Line 5215 (handle_request): Registration from 
'<sip:206 at 192.168.1.1>' failed for '192.168.1.70'
NOTICE[81926]: File chan_sip.c, Line 5215 (handle_request): Registration from 
'<sip:206 at 192.168.1.1>' failed for '192.168.1.70'
    -- Username not entered
    -- Executing Hangup("SIP/206-7ecb", "") in new stack
  == Spawn extension (extensions, 15, 2) exited non-zero on 'SIP/206-7ecb'
NOTICE[81926]: File chan_sip.c, Line 5215 (handle_request): Registration from 
'<sip:206 at 192.168.1.1>' failed for '192.168.1.70'
NOTICE[81926]: File chan_sip.c, Line 5215 (handle_request): Registration from 
'<sip:206 at 192.168.1.1>' failed for '192.168.1.70'
contd...


So basically, I am seeing Two different errors.

1)   registration errors with grandstream
2)   Voicemail doesn't read the extension tones from the grandstream

Voicemail works fine from the  analog phone.

SIP.conf
[general]

port=5060
bindaddr=0.0.0.0
context=incoming
;
;
;
[206]
username=206
context=extensions
qualify=yes
incominglimit=1
type=friend
insecure=yes
host=192.168.1.70
permit=192.168.1.0/255.255.255.0
dtmfmode=info
canreinvite=no
reinvite=no
callgroup=1
pickupgroup=1
disallow=all
allow=alaw
allow=ulaw

Regards...Martin




More information about the asterisk-users mailing list