X-Lite (Bria4) - Asterisk / Presence Problem

Hello everybody,

this is my first post in this forum that means I insttaled asterix with trunks, routing, voicemail, transfer aso. “without” any problems :wink: ans now 90% of what I need is working fine.

But there are still 2 points on my list and the first i cant’t get trough alone will be listet as following.:

I use Xlite as Client on my Windows PC and want to use Messaging and (Custom) Presence (not just the device state what works actually fine.

I think the best well be i’ll post my config files which I think the presence should be configured in, so you all can tell me the mistakes I made :frowning:

sip.conf

[general]
context=public
allowoverlap=no
udpbindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
transport=udp
srvlookup=yes
subscribecontext=default
accept_outofcall_message=yes
outofcall_message_context=astsms
allowsubscribe=yes

useres.conf (user 6000 for example)

[general]
fullname=New User
userbase=6000
hasvoicemail=yes
vmsecret=1234
hassip=yes
hasiax=yes
hasmanager=no
callwaiting=yes
threewaycalling=yes
callwaitingcallerid=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
callgroup=1
pickupgroup=1
vmexten=99

[6000]
fullname=Christian Schwank
registersip=no
host=dynamic
callgroup=1
mailbox=6000
call-limit=100
type=peer
username=6000
transfer=yes
callcounter=yes
context=DLPN_DialPlan2_9989950
cid_number=6000
hasvoicemail=yes
vmsecret=1234
email=j.braun@samsys.eu
threewaycalling=no
hasdirectory=yes
callwaiting=no
hasmanager=no
hasagent=no
hassip=yes
hasiax=no
secret=samsys11
nat=no
canreinvite=no
dtmfmode=rfc2833
insecure=no
pickupgroup=1
macaddress=6000
autoprov=yes
label=6000
linenumber=1
LINEKEYS=1
disallow=all
allow=alaw,ulaw,gsm,g726,g723

extensions.conf

[general]
static=yes
writeprotect=no
clearglobalvars=no
[default]
exten=6001,1,Dial(SIP/6001)
exten=6002,1,Dial(SIP/6002)
exten=6003,1,Dial(SIP/6003)
exten=6004,1,Dial(SIP/6004)
exten=6005,1,Dial(SIP/6005)
exten=6000,1,Dial(SIP/6000)
exten=_#6XXX,1,Set(MBOX=${EXTEN:1}@default)
exten=_#6XXX,n,VoiceMail(${MBOX})
exten=a,1,VoicemailMain(${MBOX})
exten=99,1,VoiceMailMain(${CALLERID(num)}@default)

Thank you in advice. :smile:

I have something new :smiley:

I can change Presence manual via *CLI: presencestate change CustomPresence:6000 AVAILABLE// (6000 is the caller ID and name is the same) but Xlite doesnt get anything.

In Xlite I only see Presence via peer-to-peer. Doesnt this mean the Asterisk Servers isnt involved in it? So why do I dont get any Presence. Devica state works fine as well!

This is the new extensions.conf

exten=6000,hint,SIP/6000,CustomPresence:6000
exten=6000,1,Dial(SIP/6000)
exten=6001,hint,SIP/6001,CustomPresence:6001
exten=6001,1,Dial(SIP/6001)
exten=6002,hint,SIP/6002,CustomPresence:6002
exten=6002,1,Dial(SIP/6002)
exten=6003,hint,SIP/6003,CustomPresence:6003
exten=6003,1,Dial(SIP/6003)
exten=6004,hint,SIP/6004,CustomPresence:6004
exten=6004,1,Dial(SIP/6004)
exten=6005,hint,SIP/6005,CustomPresence:6005
exten=6005,1,Dial(SIP/6005)

if i made the following (sit set debug on) in *CLI I get

.
.
.
ALLOW: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
.
.
.

shouldnt be there another entry like “REFERENCE” !?