Asterisk and kamailio BLF only blink one light busy led!

hi, i try to follow the how to in the wiki
https://kb.asipto.com/kamailio:presence:k43-blf and configure my two
only phones…

but for any states only one led its blinking, the busy state… no
other state work, (if i connect directly to asterisk all work
perfeclty, i using asterisk 13 with kamailio 4.4.4)

also read the archived
https://lists.kamailio.org/pipermail/sr-users/2013-May/078234.html but
no luck

wht happened with that how to? it’s different for asterisk if are
integrated? do i need a pjsip asterisk event the oldes chan?

see that in presense module parameters, the server address said that
value of Contact header filed for 200 OK replies to SUBSCRIBE and
PUBLISH and in NOTIFY messages

umm if i have integrated and working asterisk (relatime mode) with
kamailio, that address muswt be asterisk? taking in cosideration that
i have a route rule said that send auth to asterisk and trust any
incomming from it?

Asterisk doesn’t use PUBLISH for this. The device needs to subscriber to the hints and Asterisk will send NOTIFY messages. Also, you can’t just use the Kamailio Presentity module without understanding that it because where devices must pull information from. So Asterisk would need to send it to Kamailio and then Kamailio would issue the NOTIFY, etc.

It seems like you’re not passing the NOTIFYs from Asterisk to the devices or passing the SUBSCRIBEs from the devices back to Asterisk. This all just needs to pass through Kamailio unless you’re going to do things directly on Kamailio. If you’re doing that you need to look at how to handle those transactions cleaner.

1 Like

you said: " and then Kamailio would issue the NOTIFY, " if you read carefully the notify are sending to asterisk… and seems for pjsip vs old chan are different!

that do you mention “or passing the SUBSCRIBEs from the devices back to Asterisk” sugesst to must be tuned the asterisk too! but there’s no hints and furter reading about the topic… so how can i “understand” about that! please !!! puffff

There are two ways Asterisk can do MWI.

Endpoints can subscribe for a mailbox or you can do unsolicited MWI.

Per the WIKI.

Enpoints that Subscribe to a mailbox can be configured by assigning the mailbox to the AOR.
The mailboxes specified will be subscribed to. More than one mailbox can be specified with a comma-delimited string. app_voicemail mailboxes must be specified as mailbox@context; for example: mailboxes=6001@default

Endpoints that do not subscrive to a mailbox can be sent unsolicited notifications by assigning the mailbox to the endpoint definition directly
Asterisk will send unsolicited MWI NOTIFY messages to the endpoint when state changes happen for any of the specified mailboxes. More than one mailbox can be specified with a comma-delimited string. app_voicemail mailboxes must be specified as mailbox@context; for example: mailboxes=6001@default.

Either way you will have to configure your kamailio installation to route the requests appropriately, for unsolicited it would be the NOTIFY from Asterisk to the Endpoint that you would need to handle, for Mailbox subscriptions you will have to handle both the NOTIFY from asterisk and the SUBSCRIBE to asterisk.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.