Hello,
I have a problem with my Asterisk -> it has a delay when dialing (about 3-5 seconds, which is quite annoying).
Can it be a memory problem, or something else?
CLI:
– Executing [144@ales:1] Set(“SIP/107-08e8a4d8”, “CALLERID(all)=testTeling <12345678945631>”) in new stack
– Executing [144@ales:2] Dial(“SIP/107-08e8a4d8”, “SIP/144@172.18.160.224”) in new stack
– Called 144@172.18.160.224
I did a trace on Asterisk with Wireshark, and saw, that Asterisk sends the invite very late - 3-5 second delay.
Extensions.conf
[quote][ales]
;include => rec
;include => tts
include => vmail
exten => _0.,1,Dial(SIP/${EXTEN}@172.18.160.224)
;exten => _1.,1,Dial(SIP/${EXTEN}@172.18.160.224)
exten => _1.,1,Set(CALLERID(all)=testTeling <12345678945631>)
exten => _1.,2,Dial(SIP/${EXTEN}@172.18.160.224)
exten => _2.,1,Dial(SIP/${EXTEN}@172.18.160.224)
exten => _3.,1,Dial(SIP/${EXTEN}@172.18.160.224)
exten => _4.,1,Dial(SIP/${EXTEN}@172.18.160.224)
exten => _5.,1,Dial(SIP/${EXTEN}@172.18.160.224)
exten => _6.,1,Dial(SIP/${EXTEN}@172.18.160.224)
exten => _7.,1,Dial(SIP/${EXTEN}@172.18.160.224)
exten => _8.,1,Dial(SIP/${EXTEN}@172.18.160.224)
exten => _9.,1,Dial(SIP/${EXTEN}@172.18.160.224)[/quote]
SIP.conf:
[quote][107]
username=107
type=peer
canreinvite=no
secret=107
disallow=all
allow=alaw
port=5060
nat=never
host=dynamic
dtmfmode=auto
call-limit=2
context=ales
callerid=<107> 107
mailbox=107@tehnika[/quote]
What could be causing the delay, from when I dial, to when Asterisk sends INVITE msg???