Hello,
When I start asterisk, there are directly 2 channels opened:
*CLI> sip show channels
Peer User/ANR Call ID Format Hold Last Message Expiry
204.11.192.34 177729XXXX 2d09c12e194c809 0x0 (nothing) No
212.27.52.5 095060XXXX 1ea829b4525179d 0x0 (nothing) No
2 active SIP dialogs
after few time I just have :
*CLI> sip show channels
Peer User/ANR Call ID Format Hold Last Message Expiry
204.11.192.23 1777296266 2d09c12e194c809 0x0 (nothing) No
1 active SIP dialog
I’m using asterisk-trunk from yesterday (an older trunk had the same problem, I upgraded and the problem still exists).
Here are some parts of my configuration files:
In extension.conf I have :
callcentric=SIP/callcentric-out
...
exten => _7.,1,Dial(SIP/callcentric-out/00${EXTEN:1});
exten => _7.,n,Hangup()
[from-callcentric]
exten => s,1,Dial(SIP/1000)
exten => s,n,Hangup()
in sip.conf, I have 2 sip acount:
[code]
[geral]
…
context=default
…
register => XXXXXXX:XYXYXYXY@freephonie.net
…
context=from-callcentric
register => YYYYY:XXXXX@callcentric.com
[callcentric-out]
type=peer
context=from-callcentric
host=callcentric.com
username=17772962667
secret=XXXX
fromuser=17772962667
fromdomain=callcentric.com
insecure=very
nat=yes
[/code][/code]