SipPeer(EXT:curcall) always returns 0 (with 1.2.5)


#1

Hi,

I has been unable to get curcalls with SIPPEER function. It always returns 0. My sip extensions are defined as:

port=5060
bindaddr=0.0.0.0
disallow=all
allow=ulaw
musicclass=default
language=English
relaxdtmf=yes
rtpholdtimeout=300
rtptimeout=60
useragent=Asterisk
dtmfmode=rfc2833
localnet=192.168.0.0/255.255.0.0
context=phones
nat=no
canreinvite=no
qualify=yes
callgroup=1
pickupgroup=1
rtcachefriends=yes
maxexpirey=3700
ignorereregexpire=yes

[1172]
type=friend
callerid=Martin Cabrera <1172>
mailbox=1172@default
username=1172
secret=XXX
call-limit=4
host=dynamic

I’m Running 1.2.5 version.

Thanks in advance for any tip.