Re: [Asterisk-Users] Transient SIP Registration Issues

2005-04-05 Thread Cirelle Internet Products
Richard J. Sears wrote:
Hey Everyone - 

I am having a problem that is keeping me awake at night.ok, so maybe
not keeping me awake, but it is frustrating. :-)
I am running Asterisk 1.0.7 on Gentoo (2.6.10-gentoo-r6) on an Intel
700Mhz box with 512MB of RAM.
The system is very light, with maybe 35 SIP and IAX connections. I am
using NuFone and Konfer for dialtone with no traditional TDM cards
installed at all. Overall system load is around .4 or less most of the
time.
Overall - a very simple configuration.
I am using (mostly) the Linksys PAP2-NA units for deployment. I
preconfigure the units, then ship them out to the people that need them.
I also have several of the Digium IAXy units in use.
The problem I am starting to see is that a person's extension will work
great, and then I will start to see failed registrations for their unit
over and over again. When this happens, the units fall offline. Then the
unit will magically reregister and start to work again.
I had assumed (initially) that it was a bad unit, so I replaced it, but
then it started to happen to other units as well.
When registered, the units in question have ping time under 50 to 60 ms,
and no latency associated with them. Packet loss is extremely minimal or
none at all.
Here is one example - I have included the relevant portions of my
sip.conf and extensions.conf:
sip.conf
[1028]
type=friend
username=GSynn
secret=
qualify=500
host=dynamic
fromuser=GSynn
dtmfmode=rfc2833
nat=yes 
canreinvite=no
disallow=all
allow=g729
callerid=Gary Synn 3050
context=secure


extension.conf
[gary_synn]
exten = 3050,1,Macro(stdexten,SIP/1028)
[macro-stdexten]
;; ARG1 = Phone ID to dial
exten = s,1,NoOp(${CALLERID})  ; Grab Caller ID Info
exten = s,2,Playback(${VMDIR}/${MACRO_EXTEN}/greet); Grab the 
dialed extension and play a greeting
exten = s,3,Dial(${ARG1},15,rtm)
exten = s,4,Goto(s-${DIALSTATUS},1)
exten = s-NOANSWER,1,Voicemail(u${MACRO_EXTEN})
exten = s-CHANUNAVAIL,1,Voicemail(u${MACRO_EXTEN}) ;if chan 
unavail (sip phone not regisitered?)
exten = s-CONGESTION,1,Voicemail(u${MACRO_EXTEN}) ;if chan 
congested
exten = s-BUSY,1,Voicemail(b${MACRO_EXTEN})
exten = s-.,1,Goto(s-NOANSWER,1)
exten = a,1,VoicemailMain(${MACRO_EXTEN})
[secure]
include = pstn_outbound
include = system_extensions

Here are the errors that I see on the colsole - 

Apr  4 17:35:38 NOTICE[27276]: chan_sip.c:7681 handle_request:
Registration from 'GSynn sip:[EMAIL PROTECTED]' failed for
'5.63.198.220'
Apr  4 17:35:42 NOTICE[27276]: chan_sip.c:7681 handle_request:
Registration from 'GSynn sip:[EMAIL PROTECTED]' failed for
'5.63.198.220'
Apr  4 17:35:46 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration from 
'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:35:50 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration from 
'DMadore sip:[EMAIL PROTECTED]' failed for '69.17.136.238'
Apr  4 17:35:50 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration from 
'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:35:54 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration from 
'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:35:58 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration from 
'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:36:02 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration from 
'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:36:33 NOTICE[27276]: chan_sip.c:7681 handle_request:
Registration from 'GSynn sip:[EMAIL PROTECTED]' failed for
'5.63.198.220'
Apr  4 17:36:34 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration from 
'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:36:37 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration from 
'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:36:40 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration from 
'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:36:44 NOTICE[27276]: chan_sip.c:7681 handle_request:
Registration from 'GSynn sip:[EMAIL PROTECTED]' failed for
'5.63.198.220'
Apr  4 17:36:48 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration from 
'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:36:52 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration from 
'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'

Any ideas would be greatly appreciated.
Thanks !!
**
Richard J. Sears
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
 

There is another thread that is dealing with the same symptom
as you are experiencing.  Subj: Previous sip reload not yet done
It does 

Re: [Asterisk-Users] Transient SIP Registration Issues

2005-04-05 Thread Richard Sears
Thanks - I'll look at the other thread.

On Apr 5, 2005 3:12 AM, Cirelle Internet Products [EMAIL PROTECTED] wrote:
 Richard J. Sears wrote:
 
 Hey Everyone -
 
 I am having a problem that is keeping me awake at night.ok, so maybe
 not keeping me awake, but it is frustrating. :-)
 
 I am running Asterisk 1.0.7 on Gentoo (2.6.10-gentoo-r6) on an Intel
 700Mhz box with 512MB of RAM.
 
 The system is very light, with maybe 35 SIP and IAX connections. I am
 using NuFone and Konfer for dialtone with no traditional TDM cards
 installed at all. Overall system load is around .4 or less most of the
 time.
 
 Overall - a very simple configuration.
 
 I am using (mostly) the Linksys PAP2-NA units for deployment. I
 preconfigure the units, then ship them out to the people that need them.
 I also have several of the Digium IAXy units in use.
 
 The problem I am starting to see is that a person's extension will work
 great, and then I will start to see failed registrations for their unit
 over and over again. When this happens, the units fall offline. Then the
 unit will magically reregister and start to work again.
 
 I had assumed (initially) that it was a bad unit, so I replaced it, but
 then it started to happen to other units as well.
 
 When registered, the units in question have ping time under 50 to 60 ms,
 and no latency associated with them. Packet loss is extremely minimal or
 none at all.
 
 Here is one example - I have included the relevant portions of my
 sip.conf and extensions.conf:
 
 sip.conf
 
 [1028]
 type=friend
 username=GSynn
 secret=
 qualify=500
 host=dynamic
 fromuser=GSynn
 dtmfmode=rfc2833
 nat=yes
 canreinvite=no
 disallow=all
 allow=g729
 callerid=Gary Synn 3050
 context=secure
 
 
 
 extension.conf
 
 [gary_synn]
 exten = 3050,1,Macro(stdexten,SIP/1028)
 
 
 [macro-stdexten]
 ;; ARG1 = Phone ID to dial
 
 exten = s,1,NoOp(${CALLERID})  ; Grab Caller ID Info
 exten = s,2,Playback(${VMDIR}/${MACRO_EXTEN}/greet); Grab the 
 dialed extension and play a greeting
 exten = s,3,Dial(${ARG1},15,rtm)
 exten = s,4,Goto(s-${DIALSTATUS},1)
 exten = s-NOANSWER,1,Voicemail(u${MACRO_EXTEN})
 exten = s-CHANUNAVAIL,1,Voicemail(u${MACRO_EXTEN}) ;if chan 
 unavail (sip phone not regisitered?)
 exten = s-CONGESTION,1,Voicemail(u${MACRO_EXTEN}) ;if chan 
 congested
 exten = s-BUSY,1,Voicemail(b${MACRO_EXTEN})
 exten = s-.,1,Goto(s-NOANSWER,1)
 exten = a,1,VoicemailMain(${MACRO_EXTEN})
 
 
 [secure]
 include = pstn_outbound
 include = system_extensions
 
 
 
 Here are the errors that I see on the colsole -
 
 
 Apr  4 17:35:38 NOTICE[27276]: chan_sip.c:7681 handle_request:
 Registration from 'GSynn sip:[EMAIL PROTECTED]' failed for
 '5.63.198.220'
 Apr  4 17:35:42 NOTICE[27276]: chan_sip.c:7681 handle_request:
 Registration from 'GSynn sip:[EMAIL PROTECTED]' failed for
 '5.63.198.220'
 Apr  4 17:35:46 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
 from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
 Apr  4 17:35:50 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
 from 'DMadore sip:[EMAIL PROTECTED]' failed for '69.17.136.238'
 Apr  4 17:35:50 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
 from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
 Apr  4 17:35:54 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
 from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
 Apr  4 17:35:58 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
 from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
 Apr  4 17:36:02 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
 from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
 Apr  4 17:36:33 NOTICE[27276]: chan_sip.c:7681 handle_request:
 Registration from 'GSynn sip:[EMAIL PROTECTED]' failed for
 '5.63.198.220'
 Apr  4 17:36:34 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
 from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
 Apr  4 17:36:37 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
 from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
 Apr  4 17:36:40 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
 from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
 Apr  4 17:36:44 NOTICE[27276]: chan_sip.c:7681 handle_request:
 Registration from 'GSynn sip:[EMAIL PROTECTED]' failed for
 '5.63.198.220'
 Apr  4 17:36:48 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
 from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
 Apr  4 17:36:52 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
 from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
 
 
 
 Any ideas would be greatly appreciated.
 
 
 Thanks !!
 
 **
 Richard J. Sears
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 

RE: [Asterisk-Users] Transient SIP Registration Issues

2005-04-05 Thread Kanuri, Seshu (Company IT)
 The problem I am starting to see is that a person's extension will 
 work great, and then I will start to see failed registrations for 
 their unit over and over again. When this happens, the units fall 
 offline. Then the unit will magically reregister and start to work
again.

There is a quick fix for this. 

1) Use the DNS name instead of the IP Address 5.63.198.220 in
SIPURA/Linksys Units
2) qualify=500  -  Leave this out. Don't qualify.

That should work

Seshu 

 
NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited. 
 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Transient SIP Registration Issues

2005-04-04 Thread Richard J. Sears
Hey Everyone - 

I am having a problem that is keeping me awake at night.ok, so maybe
not keeping me awake, but it is frustrating. :-)

I am running Asterisk 1.0.7 on Gentoo (2.6.10-gentoo-r6) on an Intel
700Mhz box with 512MB of RAM.

The system is very light, with maybe 35 SIP and IAX connections. I am
using NuFone and Konfer for dialtone with no traditional TDM cards
installed at all. Overall system load is around .4 or less most of the
time.

Overall - a very simple configuration.

I am using (mostly) the Linksys PAP2-NA units for deployment. I
preconfigure the units, then ship them out to the people that need them.
I also have several of the Digium IAXy units in use.

The problem I am starting to see is that a person's extension will work
great, and then I will start to see failed registrations for their unit
over and over again. When this happens, the units fall offline. Then the
unit will magically reregister and start to work again.

I had assumed (initially) that it was a bad unit, so I replaced it, but
then it started to happen to other units as well.

When registered, the units in question have ping time under 50 to 60 ms,
and no latency associated with them. Packet loss is extremely minimal or
none at all.

Here is one example - I have included the relevant portions of my
sip.conf and extensions.conf:

sip.conf

[1028]
type=friend
username=GSynn
secret=
qualify=500
host=dynamic
fromuser=GSynn
dtmfmode=rfc2833
nat=yes 
canreinvite=no
disallow=all
allow=g729
callerid=Gary Synn 3050
context=secure



extension.conf

[gary_synn]
exten = 3050,1,Macro(stdexten,SIP/1028)


[macro-stdexten]
;; ARG1 = Phone ID to dial

exten = s,1,NoOp(${CALLERID})  ; Grab Caller ID Info
exten = s,2,Playback(${VMDIR}/${MACRO_EXTEN}/greet); Grab the 
dialed extension and play a greeting
exten = s,3,Dial(${ARG1},15,rtm)
exten = s,4,Goto(s-${DIALSTATUS},1)
exten = s-NOANSWER,1,Voicemail(u${MACRO_EXTEN})
exten = s-CHANUNAVAIL,1,Voicemail(u${MACRO_EXTEN}) ;if chan 
unavail (sip phone not regisitered?)
exten = s-CONGESTION,1,Voicemail(u${MACRO_EXTEN}) ;if chan 
congested
exten = s-BUSY,1,Voicemail(b${MACRO_EXTEN})
exten = s-.,1,Goto(s-NOANSWER,1)
exten = a,1,VoicemailMain(${MACRO_EXTEN})


[secure]
include = pstn_outbound
include = system_extensions



Here are the errors that I see on the colsole - 


Apr  4 17:35:38 NOTICE[27276]: chan_sip.c:7681 handle_request:
Registration from 'GSynn sip:[EMAIL PROTECTED]' failed for
'5.63.198.220'
Apr  4 17:35:42 NOTICE[27276]: chan_sip.c:7681 handle_request:
Registration from 'GSynn sip:[EMAIL PROTECTED]' failed for
'5.63.198.220'
Apr  4 17:35:46 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:35:50 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
from 'DMadore sip:[EMAIL PROTECTED]' failed for '69.17.136.238'
Apr  4 17:35:50 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:35:54 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:35:58 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:36:02 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:36:33 NOTICE[27276]: chan_sip.c:7681 handle_request:
Registration from 'GSynn sip:[EMAIL PROTECTED]' failed for
'5.63.198.220'
Apr  4 17:36:34 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:36:37 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:36:40 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:36:44 NOTICE[27276]: chan_sip.c:7681 handle_request:
Registration from 'GSynn sip:[EMAIL PROTECTED]' failed for
'5.63.198.220'
Apr  4 17:36:48 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'
Apr  4 17:36:52 NOTICE[27276]: chan_sip.c:7681 handle_request: Registration 
from 'GSynn sip:[EMAIL PROTECTED]' failed for '5.63.198.220'



Any ideas would be greatly appreciated.


Thanks !!

**
Richard J. Sears

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Transient SIP Registration Issues

2005-04-04 Thread Eric Wieling aka ManxPower
Richard J. Sears wrote:
Hey Everyone - 

I am having a problem that is keeping me awake at night.ok, so maybe
not keeping me awake, but it is frustrating. :-)
I am running Asterisk 1.0.7 on Gentoo (2.6.10-gentoo-r6) on an Intel
700Mhz box with 512MB of RAM.
The system is very light, with maybe 35 SIP and IAX connections. I am
using NuFone and Konfer for dialtone with no traditional TDM cards
installed at all. Overall system load is around .4 or less most of the
time.
Overall - a very simple configuration.
I am using (mostly) the Linksys PAP2-NA units for deployment. I
preconfigure the units, then ship them out to the people that need them.
I also have several of the Digium IAXy units in use.
The problem I am starting to see is that a person's extension will work
great, and then I will start to see failed registrations for their unit
over and over again. When this happens, the units fall offline. Then the
unit will magically reregister and start to work again.
I had assumed (initially) that it was a bad unit, so I replaced it, but
then it started to happen to other units as well.
When registered, the units in question have ping time under 50 to 60 ms,
and no latency associated with them. Packet loss is extremely minimal or
none at all.
There was a thread recently, I don't recall if it was -users or -dev 
about SIP registrations failing when network latency was high.  I don't 
remember seeing a solution.

I would suggest trying Google, but I'll bet it has not indexed the 
mailing list archives recently.  Try searching manually.

--Eric
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users