Hi, I have implemented kamailio with asterisk, I want to enable BLF using kamailio instead of asterisk. I would appreciate any kind of help, below I'm pasting my configuration.
*I'm testing with an Aastra phone, when phone sends the subscription kamailio answers with:*
U 192.168.15.22:5060 -> 192.168.15.108:5060 SIP/2.0 489 Bad Event. Via: SIP/2.0/UDP 192.168.15.108;branch=z9hG4bKa54a155ad67706dca. From: "1104" sip:1104@192.168.15.22:5060;tag=71cf5c9949. To: sip:1104@192.168.15.22:5060;tag=99b712eabe88b2bf7a20409f3dc7ebf1-f71b. Call-ID: f22823b8b4d58a8e. CSeq: 3430 SUBSCRIBE. Allow-Events: presence.winfo, presence, dialog. Server: kamailio (3.1.3 (i386/linux)). Content-Length: 0.
*This is my presence configuration:*
#!ifdef WITH_PRESENCE loadmodule "presence.so" loadmodule "presence_dialoginfo.so" loadmodule "presence_xml.so" #!endif
#!ifdef WITH_PRESENCE # ----- presence params ----- modparam("presence", "db_url", DBURL) modparam("presence", "server_address", "sip:192.168.15.22:5060") modparam("presence_dialoginfo", "force_single_dialog", 1)
# ----- presence_xml params ----- modparam("presence_xml", "db_url", DBURL) modparam("presence_xml", "force_active", 1) #!endif
Lucas, It's not possible to answer your question without at least a corresponding SUBSCRIBE message from Aastra.
On 20.04.2011 17:17, Lucas Alvarez wrote:
Hi, I have implemented kamailio with asterisk, I want to enable BLF using kamailio instead of asterisk. I would appreciate any kind of help, below I'm pasting my configuration.
*I'm testing with an Aastra phone, when phone sends the subscription kamailio answers with:*
U 192.168.15.22:5060 http://192.168.15.22:5060 -> 192.168.15.108:5060 http://192.168.15.108:5060 SIP/2.0 489 Bad Event. Via: SIP/2.0/UDP 192.168.15.108;branch=z9hG4bKa54a155ad67706dca. From: "1104" <sip:1104@192.168.15.22:5060 http://sip:1104@192.168.15.22:5060>;tag=71cf5c9949. To: <sip:1104@192.168.15.22:5060 http://sip:1104@192.168.15.22:5060>;tag=99b712eabe88b2bf7a20409f3dc7ebf1-f71b. Call-ID: f22823b8b4d58a8e. CSeq: 3430 SUBSCRIBE. Allow-Events: presence.winfo, presence, dialog. Server: kamailio (3.1.3 (i386/linux)). Content-Length: 0.
Thank you Andrew for your quick answer.
*This is the subscribe message:*
U 192.168.15.108:5060 -> 192.168.15.22:5060 SUBSCRIBE sip:1104@192.168.15.22:5060 SIP/2.0. Via: SIP/2.0/UDP 192.168.15.108;branch=z9hG4bKa54a155ad67706dca. Proxy-Authorization: Digest username="1104",realm="192.168.15.22",nonce="Ta7q1k2u6ar6DmLu8tDlXtvfjjhWEBct",uri=" sip:1104@192.168.15.22:5060",response="de6b80891ba192ffff3830cefc552b47". Max-Forwards: 70. From: "1104" sip:1104@192.168.15.22:5060;tag=71cf5c9949. To: sip:1104@192.168.15.22:5060. Call-ID: f22823b8b4d58a8e. CSeq: 3430 SUBSCRIBE. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO. Allow-Events: talk, hold, conference, LocalModeStatus. Contact: "1104" sip:1104@192.168.15.108:5060 ;transport=udp;+sip.instance="urn:uuid:00000000-0000-1000-8000-00085D10A1A6". Event: message-summary. Expires: 86400. Supported: path. User-Agent: Aastra 57i/3.2.1.43. Content-Length: 0.
On Wed, Apr 20, 2011 at 12:40 PM, Andrew Pogrebennyk < andrew.pogrebennyk@portaone.com> wrote:
Lucas, It's not possible to answer your question without at least a corresponding SUBSCRIBE message from Aastra.
On 20.04.2011 17:17, Lucas Alvarez wrote:
Hi, I have implemented kamailio with asterisk, I want to enable BLF using kamailio instead of asterisk. I would appreciate any kind of help, below I'm pasting my configuration.
*I'm testing with an Aastra phone, when phone sends the subscription kamailio answers with:*
U 192.168.15.22:5060 http://192.168.15.22:5060 -> 192.168.15.108:5060 http://192.168.15.108:5060
SIP/2.0 489 Bad Event. Via: SIP/2.0/UDP 192.168.15.108;branch=z9hG4bKa54a155ad67706dca. From: "1104" <sip:1104@192.168.15.22:5060 http://sip:1104@192.168.15.22:5060>;tag=71cf5c9949.
To: <sip:1104@192.168.15.22:5060 <http://sip:1104@192.168.15.22:5060
;tag=99b712eabe88b2bf7a20409f3dc7ebf1-f71b.
Call-ID: f22823b8b4d58a8e. CSeq: 3430 SUBSCRIBE. Allow-Events: presence.winfo, presence, dialog. Server: kamailio (3.1.3 (i386/linux)). Content-Length: 0.
-- Sincerely, Andrew Pogrebennyk
Hi,
your client is not subscribing to BLF, but to "Event: message-summary." (e.g. Mailbox lamp on your phone).
Carsten
2011/4/20 Lucas Alvarez lucasaa@gmail.com:
Thank you Andrew for your quick answer. This is the subscribe message: U 192.168.15.108:5060 -> 192.168.15.22:5060 SUBSCRIBE sip:1104@192.168.15.22:5060 SIP/2.0. Via: SIP/2.0/UDP 192.168.15.108;branch=z9hG4bKa54a155ad67706dca. Proxy-Authorization: Digest username="1104",realm="192.168.15.22",nonce="Ta7q1k2u6ar6DmLu8tDlXtvfjjhWEBct",uri="sip:1104@192.168.15.22:5060",response="de6b80891ba192ffff3830cefc552b47". Max-Forwards: 70. From: "1104" sip:1104@192.168.15.22:5060;tag=71cf5c9949. To: sip:1104@192.168.15.22:5060. Call-ID: f22823b8b4d58a8e. CSeq: 3430 SUBSCRIBE. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO. Allow-Events: talk, hold, conference, LocalModeStatus. Contact: "1104" sip:1104@192.168.15.108:5060;transport=udp;+sip.instance="urn:uuid:00000000-0000-1000-8000-00085D10A1A6". Event: message-summary. Expires: 86400. Supported: path. User-Agent: Aastra 57i/3.2.1.43. Content-Length: 0.
On Wed, Apr 20, 2011 at 12:40 PM, Andrew Pogrebennyk andrew.pogrebennyk@portaone.com wrote:
Lucas, It's not possible to answer your question without at least a corresponding SUBSCRIBE message from Aastra.
On 20.04.2011 17:17, Lucas Alvarez wrote:
Hi, I have implemented kamailio with asterisk, I want to enable BLF using kamailio instead of asterisk. I would appreciate any kind of help, below I'm pasting my configuration.
*I'm testing with an Aastra phone, when phone sends the subscription kamailio answers with:*
U 192.168.15.22:5060 http://192.168.15.22:5060 -> 192.168.15.108:5060 http://192.168.15.108:5060 SIP/2.0 489 Bad Event. Via: SIP/2.0/UDP 192.168.15.108;branch=z9hG4bKa54a155ad67706dca. From: "1104" <sip:1104@192.168.15.22:5060 http://sip:1104@192.168.15.22:5060>;tag=71cf5c9949. To: <sip:1104@192.168.15.22:5060
http://sip:1104@192.168.15.22:5060>;tag=99b712eabe88b2bf7a20409f3dc7ebf1-f71b. Call-ID: f22823b8b4d58a8e. CSeq: 3430 SUBSCRIBE. Allow-Events: presence.winfo, presence, dialog. Server: kamailio (3.1.3 (i386/linux)). Content-Length: 0.
-- Sincerely, Andrew Pogrebennyk
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Lucas, It seems the Aastra is not configured for BLF, the SUBSCRIBE below is for "message-summary", not dialog info. Kamailio is sending the list of supported events in Allow-Events: presence.winfo, presence, dialog
On 20.04.2011 17:45, Lucas Alvarez wrote:
Thank you Andrew for your quick answer.
*This is the subscribe message:*
U 192.168.15.108:5060 http://192.168.15.108:5060 -> 192.168.15.22:5060 http://192.168.15.22:5060 SUBSCRIBE sip:1104@192.168.15.22:5060 http://sip:1104@192.168.15.22:5060 SIP/2.0. Via: SIP/2.0/UDP 192.168.15.108;branch=z9hG4bKa54a155ad67706dca. Proxy-Authorization: Digest username="1104",realm="192.168.15.22",nonce="Ta7q1k2u6ar6DmLu8tDlXtvfjjhWEBct",uri="sip:1104@192.168.15.22:5060 http://sip:1104@192.168.15.22:5060",response="de6b80891ba192ffff3830cefc552b47". Max-Forwards: 70. From: "1104" <sip:1104@192.168.15.22:5060 http://sip:1104@192.168.15.22:5060>;tag=71cf5c9949. To: <sip:1104@192.168.15.22:5060 http://sip:1104@192.168.15.22:5060>. Call-ID: f22823b8b4d58a8e. CSeq: 3430 SUBSCRIBE. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO. Allow-Events: talk, hold, conference, LocalModeStatus. Contact: "1104" sip:1104@192.168.15.108:5060;transport=udp;+sip.instance="urn:uuid:00000000-0000-1000-8000-00085D10A1A6". Event: message-summary. Expires: 86400. Supported: path. User-Agent: Aastra 57i/3.2.1.43 http://3.2.1.43. Content-Length: 0.
Hi Lucas,
If you configure correctly, it should be like this(Event: dialog):
SUBSCRIBE sip:2513@atibwras.aastra.com:5060 SIP/2.0 Accept: application/dialog-info+xml Via: SIP/2.0/UDP 10.30.102.67;branch=z9hG4bKf3b465dfbae5309e8 Max-Forwards: 70 From: "4165142514" sip:4165142514@atibwras.aastra.com:5060;tag=f4b8264914 To: sip:2513@atibwras.aastra.com:5060 Call-ID: f5d81a1675243351 CSeq: 30414 SUBSCRIBE Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO Allow-Events: talk, hold, conference, LocalModeStatus Contact: "4165142514" sip:4165142514@10.30.102.67:5060;transport=udp;+sip.instance="urn:uui d:00000000-0000-1000-8000-00085D13BACE" Event: dialog Expires: 3607 Supported: path User-Agent: Aastra 6739i/3.2.1.42 Content-Length: 0
Sincerely, Derrick
-----Original Message----- From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Andrew Pogrebennyk Sent: Wednesday, April 20, 2011 10:49 AM To: Lucas Alvarez Cc: SR-Users Subject: Re: [SR-Users] BLF using kamailio
Lucas, It seems the Aastra is not configured for BLF, the SUBSCRIBE below is for "message-summary", not dialog info. Kamailio is sending the list of supported events in Allow-Events: presence.winfo, presence, dialog
On 20.04.2011 17:45, Lucas Alvarez wrote:
Thank you Andrew for your quick answer.
*This is the subscribe message:*
U 192.168.15.108:5060 http://192.168.15.108:5060 ->
192.168.15.22:5060
http://192.168.15.22:5060 SUBSCRIBE sip:1104@192.168.15.22:5060 http://sip:1104@192.168.15.22:5060 SIP/2.0. Via: SIP/2.0/UDP 192.168.15.108;branch=z9hG4bKa54a155ad67706dca. Proxy-Authorization: Digest
username="1104",realm="192.168.15.22",nonce="Ta7q1k2u6ar6DmLu8tDlXtvfjjh WEBct",uri="sip:1104@192.168.15.22:5060
http://sip:1104@192.168.15.22:5060",response="de6b80891ba192ffff3830ce fc552b47".
Max-Forwards: 70. From: "1104" <sip:1104@192.168.15.22:5060 http://sip:1104@192.168.15.22:5060>;tag=71cf5c9949. To: <sip:1104@192.168.15.22:5060
http://sip:1104@192.168.15.22:5060>.
Call-ID: f22823b8b4d58a8e. CSeq: 3430 SUBSCRIBE. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE,
PRACK,
SUBSCRIBE, INFO. Allow-Events: talk, hold, conference, LocalModeStatus. Contact: "1104"
sip:1104@192.168.15.108:5060;transport=udp;+sip.instance="urn:uuid:00 000000-0000-1000-8000-00085D10A1A6".
Event: message-summary. Expires: 86400. Supported: path. User-Agent: Aastra 57i/3.2.1.43 http://3.2.1.43. Content-Length: 0.