No subject
Wed Jun 27 05:48:46 CEST 2012
guration of kamailio+blf. And i did so, but somehow things are not working =
as they should.=20
I have done following changes to kamailio.cfg file=20
loadmodule "presence.so"=20
loadmodule "presence_xml.so"=20
loadmodule "presence_dialoginfo.so"=20
loadmodule "presence_mwi.so"=20
loadmodule "dialog.so"=20
loadmodule "pua.so"=20
loadmodule "pua_dialoginfo.so"=20
modparam("presence", "fallback2db", 1)=20
modparam("dialog", "dlg_flag", 4)=20
modparam("dialog", "db_url",=20
"mysql://xxxxxxxxx:xxxxxxxxxxxxxx@localhost/openser")=20
modparam("dialog", "db_mode", 1)=20
modparam("pua", "db_url",=20
"mysql://xxxxxxxxx:xxxxxxxxxxxxxx@localhost/openser")=20
Now when my phone(yealink VP530), sends subscribe request it looks as below=
:=20
SUBSCRIBE sip:1001 at 172.16.27.66 SIP/2.0=20
Via: SIP/2.0/UDP 172.16.27.61:5063;branch=3Dz9hG4bK10464096=20
From: "1000" <sip:1000 at 172.16.27.66>;tag=3D393923564=20
To: <sip:1001 at 172.16.27.66>=20
Call-ID: 1572901975 at 172.16.27.61=20
CSeq: 1 SUBSCRIBE=20
Contact: <sip:1000 at 172.16.27.61:5063>=20
Accept: application/dialog-info+xml=20
Max-Forwards: 70=20
User-Agent: VP530P 23.70.0.40=20
Expires: 120=20
Event: dialog=20
Content-Length: 0=20
In response to this message, Kamailio returns 202 with following informatio=
n=20
SIP/2.0 202 OK=20
Via: SIP/2.0/UDP 172.16.27.61:5063;branch=3Dz9hG4bK245273058=20
From: "1000" <sip:1000 at 172.16.27.66>;tag=3D393923564=20
To: <sip:1001 at 172.16.27.66>;tag=3Da6a1c5f60faecf035a1ae5b6e96e979a-8ee2=20
Call-ID: 1572901975 at 172.16.27.61=20
CSeq: 2 SUBSCRIBE=20
Expires: 120=20
Contact: <sip:172.16.27.66:5060>=20
Server: kamailio (3.0.0 (i386/linux))=20
Content-Length: 0=20
Followed by a NOTIFY=20
NOTIFY sip:1000 at 172.16.27.61:5063 SIP/2.0=20
Via: SIP/2.0/UDP 172.16.27.66;branch=3Dz9hG4bK3ccd.adfbc416.0=20
To: sip:1000 at 172.16.27.66;tag=3D2058189864=20
From: sip:1001 at 172.16.27.66;tag=3Da6a1c5f60faecf035a1ae5b6e96e979a-6cd8=20
CSeq: 1 NOTIFY=20
Call-ID: 2040123403 at 172.16.27.61=20
Content-Length: 0=20
User-Agent: kamailio (3.0.0 (i386/linux))=20
Max-Forwards: 70=20
Event: dialog=20
Contact: <sip:172.16.27.66:5060>=20
Subscription-State: active;expires=3D170=20
During subscribe message asked for XML based reply, yet NOTIFY doesnt send =
any XML. and hence there is no impact of this message on device. Nothing is=
changed.Also there's nothing when i call from this device to another, idea=
lly i should get some NOTIFY messages=20
So, i think i am doing something wrong in Configuration.=20
Can anyone please help me in it. If you need any other info, i'll provide y=
ou.=20
--=20
Regards,=20
Hemanshu Patel=20
Senior Software Engg=20
P Help the environment =E2=80=93 please don't print this email unless you r=
eally need to!=20
------=_Part_548979_1554838019.1353928021500
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: times new roman, new york, times, se=
rif; font-size: 12pt; color: #000000"><div>Hello everyone,</div><div>Till n=
ow we were working with asterisk to handle BLF.</div><div>But then we decid=
ed to move everything to kamailio and hence i started working on BLF with k=
amailio.</div><div>I have already configured kamailio for Call handling and=
presence information.</div><div><br></div><div>From different pages on Int=
ernet, I have found some information about configuration of kamailio+blf. A=
nd i did so, but somehow things are not working as they should.</div><div>I=
have done following changes to kamailio.cfg file</div><div><br></div><div>=
<p>loadmodule "presence.so"<br>loadmodule "presence_xml.so"<br>loadmodule "=
presence_dialoginfo.so"<br>loadmodule "presence_mwi.so"<br>loadmodule "dial=
og.so"<br>loadmodule "pua.so"<br>loadmodule "pua_dialoginfo.so"</p></div><d=
iv><br></div><div><p>modparam("presence", "fallback2db", 1)<br>modparam("di=
alog", "dlg_flag", 4)<br>modparam("dialog", "db_url",<br> "mysql://xxxxxxxx=
x:xxxxxxxxxxxxxx at localhost/openser")<br>modparam("dialog", "db_mode", 1)<br=
>modparam("pua", "db_url",<br> "mysql://xxxxxxxxx:xxxxxxxxxxxxxx@localhost/=
openser")</p><p>Now when my phone(yealink VP530), sends subscribe request i=
t looks as below:</p><p>SUBSCRIBE sip:1001 at 172.16.27.66 SIP/2.0<br>Via: SIP=
/2.0/UDP 172.16.27.61:5063;branch=3Dz9hG4bK10464096<br>From: "1000" <sip=
:1000 at 172.16.27.66>;tag=3D393923564<br>To: <sip:1001 at 172.16.27.66>=
<br>Call-ID: 1572901975 at 172.16.27.61<br>CSeq: 1 SUBSCRIBE<br>Contact: <s=
ip:1000 at 172.16.27.61:5063><br><strong>Accept: application/dialog-info+xm=
l</strong><br>Max-Forwards: 70<br>User-Agent: VP530P 23.70.0.40<br>Expires:=
120<br><strong>Event: dialog</strong><br>Content-Length: 0</p><p>In r=
esponse to this message, Kamailio returns 202 with following informati=
on</p><p>SIP/2.0 202 OK<br>Via: SIP/2.0/UDP 172.16.27.61:5063;branch=3Dz9hG=
4bK245273058<br>From: "1000" <sip:1000 at 172.16.27.66>;tag=3D393923564<=
br>To: <sip:1001 at 172.16.27.66>;tag=3Da6a1c5f60faecf035a1ae5b6e96e979a=
-8ee2<br>Call-ID: 1572901975 at 172.16.27.61<br>CSeq: 2 SUBSCRIBE<br>Expires: =
120<br>Contact: <sip:172.16.27.66:5060><br>Server: kamailio (3.0.0 (i=
386/linux))<br>Content-Length: 0<br><br></p><p>Followed by a NOTIFY</p><p>N=
OTIFY sip:1000 at 172.16.27.61:5063 SIP/2.0<br>Via: SIP/2.0/UDP 172.16.27.66;b=
ranch=3Dz9hG4bK3ccd.adfbc416.0<br>To: sip:1000 at 172.16.27.66;tag=3D205818986=
4<br>From: sip:1001 at 172.16.27.66;tag=3Da6a1c5f60faecf035a1ae5b6e96e979a-6cd=
8<br>CSeq: 1 NOTIFY<br>Call-ID: 2040123403 at 172.16.27.61<br>Content-Length: =
0<br>User-Agent: kamailio (3.0.0 (i386/linux))<br>Max-Forwards: 70<br>Event=
: dialog<br>Contact: <sip:172.16.27.66:5060><br>Subscription-State: a=
ctive;expires=3D170</p><p><br></p><p>During subscribe message asked for XML=
based reply, yet NOTIFY doesnt send any XML. and hence there is no impact =
of this message on device. Nothing is changed.Also there's nothing when i c=
all from this device to another, ideally i should get some NOTIFY messages<=
/p><p>So, i think i am doing something wrong in Configuration.</p><p>Can an=
yone please help me in it. If you need any other info, i'll provide you.</p=
><p><br></p><p><br></p></div><div><br></div><div><span name=3D"x"></span><d=
iv><b><b><span><br>--<br>Regards,<br></span></b></b><div><br></div><b><b><s=
pan>Hemanshu Patel<br></span></b></b><div><br></div><b><span>Senior Softwar=
e Engg<br><span color=3D"#3366ff" style=3D"color: #3366ff;" data-mce-style=
=3D"color: #3366ff;"></span></span></b><div><div><span style=3D"color: rgb(=
0, 128, 0); " data-mce-style=3D"color: #008000;"><strong>P</strong>Help the=
environment =E2=80=93 please don't print this email unless you really need=
to!</span></div></div></div><span name=3D"x"></span><br></div></div></body=
></html>
------=_Part_548979_1554838019.1353928021500--
More information about the sr-users
mailing list