[Asterisk-Users] 12 CANCEL's followed by 12 INVITE's in 5 secs

Anand S. Katti askatti at ece.iisc.ernet.in
Wed Dec 29 22:59:01 MST 2004


Hello All,


	I have a problem that is alien to me and obvious for some of you
:). I have asterisk setup with few sip clients(using linphonec).

In a proper context, I have mentioned extensions 107 as
simputer at X.X.X.X  (x.x.x.x=asterisk server ip)

Asterisk Sever-------------------------simputer(sip ua)

I can make calls from sipua to asterisk but not reverse way.

I get the following display on asterisk terminal.


Could anyone of you please tell em why im not able to receive calls on
linphonec ?n
---------------------
*CLI>
    -- Executing Dial("SIP/clienta-30c9", "SIP/simputer|20|tr") in new
stack
    -- Called simputer
Dec 28 12:00:05 WARNING[-1116775504]: chan_sip.c:665 retrans_pkt: Maximum
retries exceeded on call 05accd28324a5f5a60ccb4d807be5d9d at X.X.X.X
for seqno 102 (Critical Request)
  == No one is available to answer at this time
Dec 28 12:00:11 WARNING[-1116775504]: chan_sip.c:665 retrans_pkt: Maximum
retries exceeded on call 05accd28324a5f5a60ccb4d807be5d9d at X.X.X.X
for seqno 102 (Non-critical Request)
Dec 28 12:00:15 WARNING[36199344]: pbx.c:1996 ast_pbx_run: Timeout, but no
rule 't' in context 'sip'

WHERE X.X.X.X=ASTERISK SEREVR

-------

I do tcpdump and see 12 INVITES going from asterisk to sipua,and then 12
CANCEL in a span of 5 secs and the session terminates with being call
established.

Please tell me what could be the problem here ?

----*-------
for you anaysis: i have put my extensions.conf here..

[globals]
;AbsoluteTimeout(3)

[incoming]
;incoming context is tied with channel 4 FXO device
exten => s,1,Answer
exten => s,2,Background(beep)
exten => s,3,Dial(Zap/1,40,tr)
exten => s,4,Playback(vm-isunavail)
;exten => s,5,Dial(SIP/clienta,10,tr)
exten => s,5,Background(vm-enter-num-to-call)
exten => s,6,NoOp,${CALLERID}
;exten => s,8,Dial(Zap/1,20,tr)
;exten =>s,9,Hangup
include =>sip

;sip users
[sipextensions]
exten => 100,1,Dial(SIP/clienta,20,tr)
exten => 101,1,Dial(SIP/salisa,20,tr)
exten => 102,1,Dial(SIP/salisd,20,tr)
exten => 103,1,Dial(SIP/sourabha,20,tr)
exten => 104,1,Dial(SIP/laptop,20,tr)
exten => 105,1,Dial(SIP/anurag,20,tr)
exten => 106,1,Dial(SIP/askatti,20,tr)
exten => 107,1,Dial(SIP/simputer,20,tr)
exten => 108,1,Dial(SIP/geetha,20,tr)
include=> record

;working
[extensions]
exten => _3X,1,Dial,Zap/4/${EXTEN}
exten => _4X,1,Dial,Zap/4/${EXTEN}
include =>sipextensions

;working
[centrix]
ignorepat => 9
exten => 9,1,Dial,Zap/4/${EXTEN}
exten => _93XXX,2,Dial,Zap/4/${EXTEN:1}
include =>extensions

;working
[local]
ignorepat =>0
exten => 0,1,Dial,Zap/4/${EXTEN}
exten => _0NXXXXXXXXX,2,Dial(Zap/4/${EXTEN:1})
exten => _0NXXXXXXX,2,Dial(Zap/4/${EXTEN:1})
include =>centrix

;working
[longdistance]
ignorepat => 0
exten => 25,1,Dial,Zap/4/${EXTEN}
exten => _250NXNXXXXXXX,2,Dial,Zap/4/${EXTEN:2}
include =>local

;FOR SIP
[sip]
;exten => s,1,Wait(1)
exten => 1000,1,Dial(Zap/1,20,t)
exten => 1000,2,Hangup
include =>sipextensions
include=>local
--------------------
--sip.conf----------------
;
; SIP Configuration for Asterisk
;
[general]
port = 5060                     ; Port to bind to
bindaddr = X.X.X.X        ; Address to bind to
context = sip   ; Default for incoming calls
;context = longdistance
disallow=all
allow=ulaw
alloq=gsm
allow=alaw
allow=iLbc
maxexpirey=180
canreinvite=yes
nat=no
defaultexpirey=160

[askatti]
type=friend
secret=oneday
host=dynamic
username=askatti

[simputer]
type=friend
username=simputer
host=dynamic

------------------------

Warm Regards,
Anand




More information about the asterisk-users mailing list