[OpenSIPS-Users] Dialog does not remain persistent in OpenSIPs

urmi lakkad urmi.lakkad at gmail.com
Mon Aug 24 14:40:04 CEST 2009


Hello Stanislaw Pitucha,

Thank you for your attention.

 *Here is my opensips call log ::*

     Aug 24 17:43:21 [5514] DBG:core:parse_msg: SIP Request:
Aug 24 17:43:21 [5514] DBG:core:parse_msg: method: <INVITE>
Aug 24 17:43:21 [5514] DBG:core:parse_msg: uri: <sip:2222 at 192.168.1.30:3300>
Aug 24 17:43:21 [5514] DBG:core:parse_msg: version: <SIP/2.0>
Aug 24 17:43:21 [5514] DBG:core:receive_msg: preparing to run routing
scripts...
---- Start -----
Aug 24 17:43:21 [5514] DBG:core:parse_to: display={}, ruri={
sip:2222 at 192.168.1.30:3300}
Aug 24 17:43:21 [5514] DBG:core:get_hdr_field: cseq <CSeq>: <449> <INVITE>
---- Before Loose route ----
Aug 24 17:43:21 [5514] DBG:core:parse_headers: flags=200

 ---- Invite ----

 Aug 24 17:43:21 [5514] DBG:dialog:build_new_dlg: new dialog 0x2aaaad7592c8
(c=0f12f9549c43bf52610574a570b02a07 at 192.168.1.23,f=
sip:10000 at 192.168.1.30:3300,t=sip:2222 at 192.168.1.30:3300,ft=6ab5b0c4bf421ea7)
on hash 3294

Aug 24 17:43:21 [5514] DBG:core:parse_headers: flags=400

Aug 24 17:43:21 [5514] DBG:dialog:populate_leg_info: route_set , contact
sip:10000 at 192.168.1.23:5062, cseq 449 and bind_addr udp:192.168.1.30:3300

Aug 24 17:43:21 [5514] DBG:dialog:dlg_set_leg_info: set leg 0 for
0x2aaaad7592c8: tag=<6ab5b0c4bf421ea7> rr=<> ct=<sip:10000 at 192.168.1.23:5062>
cseq=<449>

Aug 24 17:43:21 [5514] DBG:dialog:link_dlg: ref dlg 0x2aaaad7592c8 with 3 ->
3

Aug 24 17:43:21 [5514] DBG:rr:add_rr_param: adding (;did=edc.3d612914)
0x783c18

------------------------------------------

Dialog status :: 1

Dialog count :: 0

---- successfully created the dialog ----

------------------------------------------

------------------------------------------

Dialog status :: 1

Dialog count :: 0

Aug 24 17:43:21 [5514] DBG:dialog:fetch_dlg_value: looking for <bind_addr
udp>

Aug 24 17:43:21 [5514] DBG:dialog:fetch_dlg_value: var NOT found!

 Dialog from value :: <null>

------------------------------------------

 Aug 24 17:43:21 [5514] DBG:dialog:unref_dlg: unref dlg 0x2aaaad7592c8 with
1 -> 2

Aug 24 17:43:21 [5514] DBG:dialog:next_state_dlg: unref dlg 0x2aaaad7592c8
with 1 -> 1

Aug 24 17:43:21 [5514] DBG:dialog:next_state_dlg: dialog 0x2aaaad7592c8
changed from state 1 to state 5, due event 1

Aug 24 17:43:21 [5514] DBG:dialog:dlg_onreply: dialog 0x2aaaad7592c8 failed
(negative reply)

Aug 24 17:43:21 [5514] DBG:dialog:unref_dlg: unref dlg 0x2aaaad7592c8 with 1
-> 0

Aug 24 17:43:21 [5514] DBG:dialog:unref_dlg: ref <=0 for dialog
0x2aaaad7592c8

Aug 24 17:43:21 [5514] DBG:dialog:destroy_dlg: destroing dialog
0x2aaaad7592c8

Aug 24 17:43:21 [5514] DBG:dialog:destroy_dlg: dlg expired or not in list -
dlg 0x2aaaad7592c8 [3294:1100093139] with clid '
0f12f9549c43bf52610574a570b02a07 at 192.168.1.23' and tags '6ab5b0c4bf421ea7'
''

Aug 24 17:43:21 [5514] DBG:core:destroy_avp_list: destroying list (nil)

Aug 24 17:43:21 [5514] DBG:core:receive_msg: cleaning up

Aug 24 17:43:21 [5521] DBG:core:parse_msg: SIP Request:

Aug 24 17:43:21 [5521] DBG:core:parse_msg: method: <ACK>

Aug 24 17:43:21 [5521] DBG:core:parse_msg: uri: <sip:2222 at 192.168.1.30:3300>


Aug 24 17:43:21 [5521] DBG:core:parse_msg: version: <SIP/2.0>



  ---- Start -----

 Aug 24 17:43:21 [5523] DBG:core:parse_headers: flags=100

Aug 24 17:43:21 [5523] DBG:core:parse_to: display={"Urmi"}, ruri={
sip:10000 at 192.168.1.30:3300}

 ---- Before Loose route ----

 Aug 24 17:43:21 [5523] DBG:core:parse_headers: flags=200


 ---- Invite ----

 Aug 24 17:43:21 [5523] DBG:dialog:build_new_dlg: new dialog 0x2aaaad7592c8
(c=0f12f9549c43bf52610574a570b02a07 at 192.168.1.23,f=
sip:10000 at 192.168.1.30:3300,t=sip:2222 at 192.168.1.30:3300,ft=6ab5b0c4bf421ea7)
on hash 3294

Aug 24 17:43:21 [5523] DBG:core:parse_headers: flags=400

Aug 24 17:43:21 [5523] DBG:dialog:populate_leg_info: route_set , contact
sip:10000 at 192.168.1.23:5062, cseq 450 and bind_addr udp:192.168.1.30:3300

Aug 24 17:43:21 [5523] DBG:dialog:dlg_set_leg_info: set leg 0 for
0x2aaaad7592c8: tag=<6ab5b0c4bf421ea7> rr=<> ct=<sip:10000 at 192.168.1.23:5062>
cseq=<450>

Aug 24 17:43:21 [5523] DBG:dialog:link_dlg: ref dlg 0x2aaaad7592c8 with 3 ->
3

Aug 24 17:43:21 [5523] DBG:rr:add_rr_param: adding (;did=edc.4d612914)
0x783c70

------------------------------------------

Dialog status :: 1

Dialog count :: 0

---- successfully created the dialog ----

------------------------------------------

------------------------------------------

Dialog status :: 1

Dialog count :: 0

Aug 24 17:43:21 [5523] DBG:dialog:fetch_dlg_value: looking for <bind_addr
udp>

Aug 24 17:43:21 [5523] DBG:dialog:fetch_dlg_value: var NOT found!

 Dialog from value :: <null>

------------------------------------------

 Aug 24 17:43:21 [5523] DBG:auth:check_nonce: comparing
[4a9283ff00000000bb6d577a7c4d629fd277553a33dc4b9f] and
[4a9283ff00000000bb6d577a7c4d629fd277553a33dc4b9f]

Aug 24 17:43:21 [5523] DBG:core:db_do_query: SYNC-DBG - SELECT successfully
executed!


 -------- To Asterisk - To Asterisk - To Asterisk -------

 Aug 24 17:43:21 [5523] DBG:dispatcher:ds_select_dst: set [1]

Aug 24 17:43:21 [5523] DBG:dispatcher:ds_select_dst: selected [0-1/0] <sip:
192.168.1.18:5061>

------------------------------------------

 End---- Dialog status :: 1

------------------------------------------


 Aug 24 17:43:21 [5523] DBG:core:mk_proxy: doing DNS lookup...

Aug 24 17:43:21 [5523] DBG:core:check_via_address: params 192.168.1.23,
192.168.1.23, 0

Aug 24 17:43:21 [5523] DBG:core:forward_request: sending:

INVITE sip:2222 at 192.168.1.30:3300 SIP/2.0

Record-Route: <sip:192.168.1.30:3300;lr;ftag=6ab5b0c4bf421ea7;did=edc.4d612914>


Via: SIP/2.0/UDP 192.168.1.30:3300;branch=z9hG4bK57e22e85ca60d392

Via: SIP/2.0/UDP 192.168.1.23:5062;branch=z9hG4bK57e22e85ca60d392

From: "Urmi" <sip:10000 at 192.168.1.30:3300>;tag=6ab5b0c4bf421ea7

To: <sip:2222 at 192.168.1.30:3300>

Contact: <sip:10000 at 192.168.1.23:5062>

Supported: replaces, timer, path

Authorization: Digest username="10000", realm="192.168.1.30", algorithm=MD5,
uri="sip:2222 at 192.168.1.30:3300",
nonce="4a9283ff00000000bb6d577a7c4d629fd277553a33dc4b9f",
response="b2d0b8322dfaa4bd76153730aad62993"

Call-ID: 0f12f9549c43bf52610574a570b02a07 at 192.168.1.23

CSeq: 450 INVITE

Content-Length: 521

 v=0

s=SIP Call

c=IN IP4 192.168.1.23

m=audio 5004 RTP/AVP 18 8 4 3 2 0

a=sendrecv

a=rtpmap:18 G729/8000

a=framerate:20

.

Aug 24 17:43:21 [5523] DBG:dialog:unref_dlg: unref dlg 0x2aaaad7592c8 with 1
-> 2

Aug 24 17:43:21 [5523] DBG:dialog:next_state_dlg: unref dlg 0x2aaaad7592c8
with 1 -> 1

Aug 24 17:43:21 [5523] DBG:dialog:next_state_dlg: dialog 0x2aaaad7592c8
changed from state 1 to state 5, due event 1

Aug 24 17:43:21 [5523] DBG:dialog:dlg_onreply: dialog 0x2aaaad7592c8 failed
(negative reply)

Aug 24 17:43:21 [5523] DBG:dialog:unref_dlg: unref dlg 0x2aaaad7592c8 with 1
-> 0

Aug 24 17:43:21 [5523] DBG:dialog:unref_dlg: ref <=0 for dialog
0x2aaaad7592c8

Aug 24 17:43:21 [5523] DBG:dialog:destroy_dlg: destroing dialog
0x2aaaad7592c8

Aug 24 17:43:21 [5523] DBG:dialog:destroy_dlg: dlg expired or not in list -
dlg 0x2aaaad7592c8 [3294:1100093140] with clid '
0f12f9549c43bf52610574a570b02a07 at 192.168.1.23' and tags '6ab5b0c4bf421ea7'
''

Aug 24 17:43:21 [5523] DBG:core:destroy_avp_list: destroying list (nil)

Aug 24 17:43:21 [5523] DBG:core:receive_msg: cleaning up

Aug 24 17:43:21 [5534] DBG:core:parse_msg: SIP Reply (status):

Aug 24 17:43:21 [5534] DBG:core:parse_msg: version: <SIP/2.0>

Aug 24 17:43:21 [5534] DBG:core:parse_msg: status: <100>

Aug 24 17:43:21 [5534] DBG:core:parse_msg: reason: <Trying>

Aug 24 17:43:21 [5534] DBG:core:parse_headers: flags=2

Aug 24 17:43:21 [5534] DBG:core:parse_headers: flags=8

Aug 24 17:43:21 [5534] DBG:tm:t_reply_matching: failure to match a
transaction

Aug 24 17:43:21 [5534] DBG:tm:t_check: end=(nil)

Aug 24 17:43:21 [5534] DBG:core:parse_headers: flags=4

Aug 24 17:43:21 [5534] DBG:core:build_res_buf_from_sip_res: old size: 526,
new size: 437

Aug 24 17:43:21 [5534] DBG:core:build_res_buf_from_sip_res: copied size:
orig:109, new: 20, rest: 417 msg=

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 192.168.1.23:5062;branch=z9hG4bK57e22e85ca60d392

From: "Urmi" <sip:10000 at 192.168.1.30:3300>;tag=6ab5b0c4bf421ea7

To: <sip:2222 at 192.168.1.30:3300>

Call-ID: 0f12f9549c43bf52610574a570b02a07 at 192.168.1.23

CSeq: 450 INVITE

User-Agent: Renovau-Switch

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY

Supported: replaces

Contact: <sip:2222 at 192.168.1.18:5061>

Content-Length: 0

  Aug 24 17:43:21 [5534] DBG:core:receive_msg: cleaning up

Aug 24 17:43:21 [5540] DBG:core:parse_msg: SIP Request:

Aug 24 17:43:21 [5540] DBG:core:parse_msg: method: <INVITE>

Aug 24 17:43:21 [5540] DBG:core:parse_msg: uri: <sip:2222 at 192.168.1.30:3300>


Aug 24 17:43:21 [5540] DBG:core:parse_msg: version: <SIP/2.0>


 ---- Start -----


 Aug 24 17:43:21 [5540] DBG:core:parse_headers: flags=100

Aug 24 17:43:21 [5540] DBG:core:parse_to: display={"Urmi"}, ruri={
sip:10000 at 192.168.1.18:5061}

 ---- Before Loose route ----

 Aug 24 17:43:21 [5540] DBG:core:parse_headers: flags=200

 ---- From Asterisk -----

 Aug 24 17:43:21 [5540] DBG:db_mysql:db_mysql_submit_query: discon reset for
7785584


 SIP/2.0 180 Ringing

Via: SIP/2.0/UDP
192.168.1.18:5061;received=192.168.1.18;branch=z9hG4bK2bb16144;rport=5061


Record-Route: <sip:192.168.1.30:3300;lr;ftag=as677eb355>

From: "Urmi" <sip:10000 at 192.168.1.18:5061>;tag=as677eb355

To: <sip:2222 at 192.168.1.30:3300>;tag=938176947210ba61

Call-ID: 7a97e34c5650544f0cb00a83281c673b at 192.168.1.18

CSeq: 102 INVITE

User-Agent: Grandstream GXV3000 1.1.3.50

Contact: <sip:2222 at 192.168.1.28:5062>

Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE


Content-Length: 0

  Aug 24 17:43:21 [5522] DBG:tm:relay_reply: sent buf=0x783928: SIP/2.0
1..., shmem=0x2aaaad75c870: SIP/2.0 1

Aug 24 17:43:21 [5534] DBG:tm:t_check: end=(nil)

Aug 24 17:43:21 [5534] DBG:core:build_res_buf_from_sip_res: copied size:
orig:110, new: 21, rest: 432 msg=


 SIP/2.0 180 Ringing

Via: SIP/2.0/UDP 192.168.1.23:5062;branch=z9hG4bK57e22e85ca60d392

From: "Urmi" <sip:10000 at 192.168.1.30:3300>;tag=6ab5b0c4bf421ea7

To: <sip:2222 at 192.168.1.30:3300>;tag=as118f3d5d

Call-ID: 0f12f9549c43bf52610574a570b02a07 at 192.168.1.23

CSeq: 450 INVITE

User-Agent: Renovau-Switch

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY

Supported: replaces

Contact: <sip:2222 at 192.168.1.18:5061>

Content-Length: 0

  SIP/2.0 200 OK

Via: SIP/2.0/UDP
192.168.1.18:5061;received=192.168.1.18;branch=z9hG4bK2bb16144;rport=5061


Record-Route: <sip:192.168.1.30:3300;lr;ftag=as677eb355>

From: "Urmi" <sip:10000 at 192.168.1.18:5061>;tag=as677eb355

To: <sip:2222 at 192.168.1.30:3300>;tag=938176947210ba61

Call-ID: 7a97e34c5650544f0cb00a83281c673b at 192.168.1.18

CSeq: 102 INVITE

User-Agent: Grandstream GXV3000 1.1.3.50

Contact: <sip:2222 at 192.168.1.28:5062>

Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE


Content-Type: application/sdp

Supported: replaces, timer, 100rel, path

Content-Length: 391

 v=0

o=2222 8000 8000 IN IP4 192.168.1.28

s=SIP Call

c=IN IP4 192.168.1.28

t=0 0

m=audio 5004 RTP/AVP 18 101

a=sendrecv

a=rtpmap:18 G729/8000

sets=Z0KADJWgUH5A,aM4CfIC=

a=framerate:15


 ---- Start -----

 Aug 24 17:43:21 [5514] DBG:core:parse_headers: flags=100

Aug 24 17:43:21 [5514] DBG:core:parse_to: display={"Urmi"}, ruri={
sip:10000 at 192.168.1.18:5061}

 ---- Before Loose route ----

 Aug 24 17:43:21 [5514] DBG:core:parse_headers: flags=200

Aug 24 17:43:21 [5521] DBG:core:parse_to: display={}, ruri={
sip:2222 at 192.168.1.30:3300}


 Aug 24 17:43:21 [5514] DBG:dialog:internal_get_dlg: input ci=<
7a97e34c5650544f0cb00a83281c673b at 192.168.1.18>(45), tt=<as677eb355>(10),
ft=<938176947210ba61>(16)

Aug 24 17:43:21 [5521] DBG:core:get_hdr_field: <To> [45]; uri=[
sip:2222 at 192.168.1.30:3300]

Aug 24 17:43:21 [5514] DBG:dialog:internal_get_dlg: no dialog callid='
7a97e34c5650544f0cb00a83281c673b at 192.168.1.18' found

Aug 24 17:43:21 [5521] DBG:core:get_hdr_field: to body [<
sip:2222 at 192.168.1.30:3300>]

Aug 24 17:43:21 [5514] DBG:dialog:internal_get_dlg: input ci=<
7a97e34c5650544f0cb00a83281c673b at 192.168.1.18>(45), tt=<as677eb355>(10),
ft=<938176947210ba61>(16)

Aug 24 17:43:21 [5514] DBG:dialog:internal_get_dlg: no dialog callid='
7a97e34c5650544f0cb00a83281c673b at 192.168.1.18' found

Aug 24 17:43:21 [5514] DBG:dialog:get_dlg: no dialog callid='
7a97e34c5650544f0cb00a83281c673b at 192.168.1.18' found

Aug 24 17:43:21 [5521] DBG:core:get_hdr_field: cseq <CSeq>: <450> <INVITE>

Aug 24 17:43:21 [5514] DBG:dialog:dlg_onroute: Callid '
7a97e34c5650544f0cb00a83281c673b at 192.168.1.18' not found

Aug 24 17:43:21 [5521] DBG:core:parse_headers: flags=8

  ---- Loose route ----

 Aug 24 17:43:21 [5521] DBG:tm:t_reply_matching: failure to match a
transaction

Aug 24 17:43:21 [5521] DBG:core:build_res_buf_from_sip_res: copied size:
orig:105, new: 16, rest: 821 msg=


 SIP/2.0 200 OK

Via: SIP/2.0/UDP 192.168.1.23:5062;branch=z9hG4bK57e22e85ca60d392

Record-Route: <sip:192.168.1.30:3300;lr;ftag=6ab5b0c4bf421ea7;did=edc.4d612914>


From: "Urmi" <sip:10000 at 192.168.1.30:3300>;tag=6ab5b0c4bf421ea7

To: <sip:2222 at 192.168.1.30:3300>;tag=as118f3d5d

Call-ID: 0f12f9549c43bf52610574a570b02a07 at 192.168.1.23

CSeq: 450 INVITE

User-Agent: Renovau-Switch

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY

Supported: replaces

Contact: <sip:2222 at 192.168.1.18:5061>

Content-Type: application/sdp

Content-Length: 275

 v=0

o=root 4304 4304 IN IP4 192.168.1.28

m=audio 5004 RTP/AVP 18

a=rtpmap:18 G729/8000

a=sendrecv

 Aug 24 17:43:21 [5514] DBG:tm:t_newtran: building branch for end2end ACK


 ACK sip:2222 at 192.168.1.28:5062 SIP/2.0

Record-Route: <sip:192.168.1.30:3300;lr;ftag=as677eb355>

Via: SIP/2.0/UDP 192.168.1.30:3300;branch=z9hG4bKf59e.11af0a64.2

Via: SIP/2.0/UDP
192.168.1.18:5061;received=192.168.1.18;branch=z9hG4bK2d007766;rport=5061


From: "Urmi" <sip:10000 at 192.168.1.18:5061>;tag=as677eb355

To: <sip:2222 at 192.168.1.30:3300>;tag=938176947210ba61

Contact: <sip:10000 at 192.168.1.18:5061>

Call-ID: 7a97e34c5650544f0cb00a83281c673b at 192.168.1.18

CSeq: 102 ACK

User-Agent: Renovau-Switch

Max-Forwards: 69

Content-Length: 0

 .

Aug 24 17:43:21 [5514] DBG:core:forward_request: orig. len=448, new_len=548,
proto=1

---- Start -----

 Aug 24 17:43:21 [5523] DBG:core:parse_headers: flags=100

Aug 24 17:43:21 [5523] DBG:core:parse_to: display={"Urmi"}, ruri={
sip:10000 at 192.168.1.30:3300}

 ---- Before Loose route ----

 Aug 24 17:43:21 [5523] DBG:core:parse_headers: flags=200

Aug 24 17:43:21 [5523] DBG:dialog:dlg_onroute: route param is 'edc.4d612914'
(len=12)

Aug 24 17:43:21 [5523] DBG:dialog:lookup_dlg: no dialog id=1100093140 found
on entry 3294

Aug 24 17:43:21 [5523] WARNING:dialog:dlg_onroute: unable to find dialog for
ACK with route param 'edc.4d612914'

 ---- Loose route ----

 ACK sip:2222 at 192.168.1.18:5061 SIP/2.0

Record-Route: <sip:192.168.1.30:3300;lr;ftag=6ab5b0c4bf421ea7>

Via: SIP/2.0/UDP 192.168.1.30:3300;branch=z9hG4bKaf50ab109f30a5a3

Via: SIP/2.0/UDP 192.168.1.23:5062;branch=z9hG4bKaf50ab109f30a5a3

From: "Urmi" <sip:10000 at 192.168.1.30:3300>;tag=6ab5b0c4bf421ea7

To: <sip:2222 at 192.168.1.30:3300>;tag=as118f3d5d

Contact: <sip:10000 at 192.168.1.23:5062>

Authorization: Digest username="10000", realm="192.168.1.30", algorithm=MD5,
uri="sip:2222 at 192.168.1.30:3300",
nonce="4a9283ff00000000bb6d577a7c4d629fd277553a33dc4b9f",
response="b2d0b8322dfaa4bd76153730aad62993"

Call-ID: 0f12f9549c43bf52610574a570b02a07 at 192.168.1.23

CSeq: 450 ACK

User-Agent: Grandstream GXV3000 1.1.3.50

Max-Forwards: 69

Content-Length: 0

 .

Aug 24 17:43:21 [5523] DBG:core:forward_request: orig. len=788, new_len=845,
proto=1


 ---- Start -----

 Aug 24 17:43:26 [5515] DBG:core:parse_headers: flags=100

Aug 24 17:43:26 [5515] DBG:core:parse_to: display={"Urmi"}, ruri={
sip:10000 at 192.168.1.30:3300}

 ---- Before Loose route ----

 Aug 24 17:43:26 [5515] DBG:core:parse_headers: flags=200

Aug 24 17:43:26 [5515] DBG:dialog:dlg_onroute: route param is 'edc.4d612914'
(len=12)

Aug 24 17:43:26 [5515] DBG:dialog:lookup_dlg: no dialog id=1100093140 found
on entry 3294

Aug 24 17:43:26 [5515] WARNING:dialog:dlg_onroute: unable to find dialog for
BYE with route param 'edc.4d612914'

  ---- Loose route ----

 Aug 24 17:43:26 [5515] DBG:tm:t_newtran: transaction on
entrance=0xffffffffffffffff


 SIP/2.0 200 OK

Via: SIP/2.0/UDP 192.168.1.23:5062;branch=z9hG4bK6634a0849366e480

Record-Route: <sip:192.168.1.30:3300;lr;ftag=6ab5b0c4bf421ea7>

From: "Urmi" <sip:10000 at 192.168.1.30:3300>;tag=6ab5b0c4bf421ea7

To: <sip:2222 at 192.168.1.30:3300>;tag=as118f3d5d

Call-ID: 0f12f9549c43bf52610574a570b02a07 at 192.168.1.23

CSeq: 451 BYE

User-Agent: Renovau-Switch

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY

Supported: replaces

Contact: <sip:2222 at 192.168.1.18:5061>

Content-Length: 0

---- Start -----

 Aug 24 17:43:26 [5522] DBG:core:parse_headers: flags=100

Aug 24 17:43:26 [5522] DBG:core:parse_to: display={"Urmi"}, ruri={
sip:10000 at 192.168.1.18:5061}

 ---- Before Loose route ----


 Aug 24 17:43:26 [5522] DBG:core:parse_headers: flags=200

Aug 24 17:43:26 [5522] DBG:dialog:dlg_onroute: Route param 'did' not found

Aug 24 17:43:26 [5522] DBG:core:parse_headers: flags=48

Aug 24 17:43:26 [5522] DBG:dialog:internal_get_dlg: input ci=<
7a97e34c5650544f0cb00a83281c673b at 192.168.1.18>(45), tt=<as677eb355>(10),
ft=<938176947210ba61>(16)

Aug 24 17:43:26 [5522] DBG:dialog:internal_get_dlg: no dialog callid='
7a97e34c5650544f0cb00a83281c673b at 192.168.1.18' found

Aug 24 17:43:26 [5522] DBG:dialog:internal_get_dlg: input ci=<
7a97e34c5650544f0cb00a83281c673b at 192.168.1.18>(45), tt=<as677eb355>(10),
ft=<938176947210ba61>(16)

Aug 24 17:43:26 [5522] DBG:dialog:internal_get_dlg: no dialog callid='
7a97e34c5650544f0cb00a83281c673b at 192.168.1.18' found

Aug 24 17:43:26 [5522] DBG:dialog:get_dlg: no dialog callid='
7a97e34c5650544f0cb00a83281c673b at 192.168.1.18' found

Aug 24 17:43:26 [5522] DBG:dialog:dlg_onroute: Callid '
7a97e34c5650544f0cb00a83281c673b at 192.168.1.18' not found

 ---- Loose route ----

 Aug 24 17:43:26 [5522] DBG:tm:t_newtran: transaction on
entrance=0xffffffffffffffff


 Aug 24 17:43:26 [5523] DBG:core:parse_msg: SIP Reply (status):

Aug 24 17:43:26 [5523] DBG:core:parse_msg: version: <SIP/2.0>

Aug 24 17:43:26 [5523] DBG:core:parse_msg: status: <200>

Aug 24 17:43:26 [5523] DBG:core:parse_msg: reason: <OK>


 SIP/2.0 200 OK

Via: SIP/2.0/UDP
192.168.1.18:5061;received=192.168.1.18;branch=z9hG4bK7cc643fa;rport=5061


Record-Route: <sip:192.168.1.30:3300;lr;ftag=as677eb355>

From: "Urmi" <sip:10000 at 192.168.1.18:5061>;tag=as677eb355

To: <sip:2222 at 192.168.1.30:3300>;tag=938176947210ba61

Call-ID: 7a97e34c5650544f0cb00a83281c673b at 192.168.1.18

CSeq: 103 BYE

User-Agent: Grandstream GXV3000 1.1.3.50

Contact: <sip:2222 at 192.168.1.28:5062>

Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE


Supported: replaces, timer, 100rel, path

Content-Length: 0

 -------------------------------------

-Urmi



On Mon, Aug 24, 2009 at 6:05 PM, urmi lakkad <urmi.lakkad at gmail.com> wrote:

>
>
> On Mon, Aug 24, 2009 at 3:51 PM, Bogdan-Andrei Iancu <
> bogdan at voice-system.ro> wrote:
>
>> Hi Urmi,
>>
>> I see you are using the DB_MODE 1 (REALTIME), so once the call is
>> established, you should have the record into the DB.
>>
>> So, the question is -  were your dialog established (via 200 OK) -
>> because otherwise you will not get any record in DB.
>>
> My dialog is established jst after INVITE msg. U can see, when I am
> printing the Dialog status it gives me 1 (i.e after INVITE ).
>
>
>>
>> BTW, to eliminate any confusion: the dialog module does not log CDR for
>> the dialogs, but keeps in DB records only about on going call - once the
>> call was ended, the record is removed from DB.
>>
>> Regards,
>> Bogdan
>>
>> urmi lakkad wrote:
>> >
>> > Hello,
>> >
>> > I am using OpenSIPs-1.5.1 version. And I want to use DIALOG module
>> > functionality.
>> > I have gone through the module documentations, and did the
>> configuration.
>> >
>> > When I make a call, the dialog should be created and the dialog entry
>> > should be inserted into the database. My call is *working* fine. I
>> > have tested with SIPp as well as with Grandsteam phones.
>> > But the *dialog details is not inserted in my database*. Here in log I
>> > can see, that the dialog is created and then *destroyed* as well.
>> > Again its created and destroyed.
>> >
>> > At the time of making a call, I have started the wireshark, to see
>> > whether there is any error msg or not !! (something 400 ...) But there
>> > also, no error.
>> >
>> > Can you please suggest me the solution of this ?
>> >
>> > Below is my opensips.cfg file and opensips Log details.
>> >
>> > Opensips.cfg
>> > ****************
>> >
>> > loadmodule "dialog.so"
>> > modparam("dialog", "dlg_flag",1 )
>> > modparam("dialog", "enable_stats", 1)
>> > modparam("dialog", "bye_on_timeout_flag", 6 )
>> > modparam("dialog", "dlg_match_mode", 1)
>> >
>> > modparam("dialog", "db_url",
>> > "mysql://opensips:opensipsrw@127.0.0.1/opensips
>> > <http://opensips:opensipsrw@127.0.0.1/opensips>")
>> > modparam("dialog", "db_mode",1)
>> > modparam("dialog", "table_name", "dialog")
>> > modparam("dialog", "from_uri_column", "from_uri")
>> > modparam("dialog", "from_tag_column", "from_tag")
>> > modparam("dialog", "to_uri_column", "to_uri")
>> > modparam("dialog", "to_tag_column", "to_tag")
>> > modparam("dialog", "h_id_column", "hash_id")
>> > modparam("dialog", "state_column", "state")
>> >
>> > route
>> > {
>> > if (is_method("INVITE"))
>> > {
>> > xdbg("\n\n---- Invite ----\n\n");
>> > setflag(4);
>> > if( (create_dialog()))
>> > {
>> > # set_dlg_profile("caller");
>> > xlog("L_INFO", " ------------------------------------------\n");
>> > xlog("L_INFO", "\n Dialog status :: $DLG_status \n");
>> > xlog("L_INFO", "\n Dialog count :: $DLG_count \n");
>> > xlog("L_INFO", "\n---- successfully created the dialog ----\n\n");
>> > xlog("L_INFO", "\n------------------------------------------\n\n");
>> > }
>> >
>> >
>> >
>> > Opensips LOG
>> > ******************
>> > Aug 24 12:58:57 [3590] DBG:dialog:build_new_dlg: new dialog
>> > 0x2aaaad54d240 (c=f66285722c9082d6dda627f748f1d7c3 at 192.168.1.23
>> > <mailto:f66285722c9082d6dda627f748f1d7c3 at 192.168.1.23>,f=
>> sip:10000 at 192.168.1.30:3300
>> > <http://sip:10000@192.168.1.30:3300>,t=sip:2222 at 192.168.1.30:3300
>> > <http://sip:2222@192.168.1.30:3300>,ft=66d7b491a6e6a760) on hash 2315
>> > Aug 24 12:58:57 [3590] DBG:core:parse_headers: flags=400
>> > Aug 24 12:58:57 [3590] DBG:dialog:populate_leg_info: route_set ,
>> > contact sip:10000 at 192.168.1.23:5062
>> > <http://sip:10000@192.168.1.23:5062>, cseq 4182 andbind_addr
>> > udp:192.168.1.30:3300 <http://192.168.1.30:3300>
>> > Aug 24 12:58:57 [3590] DBG:dialog:dlg_set_leg_info: set leg 0 for
>> > 0x2aaaad54d240: tag=<66d7b491a6e6a760> rr=<>
>> > ct=<sip:10000 at 192.168.1.23:5062 <http://sip:10000@192.168.1.23:5062>>
>> > cseq=<4182>
>> > Aug 24 12:58:57 [3590] DBG:dialog:link_dlg: ref dlg 0x2aaaad54d240
>> > with 3 -> 3
>> > Aug 24 12:58:57 [3590] DBG:rr:add_rr_param: adding (;did=b09.97872922)
>> > 0x7817f8
>> > ------------------------------------------
>> >
>> > Dialog status :: 1
>> > Dialog count :: 0
>> > ---- successfully created the dialog ----
>> > ------------------------------------------
>> >
>> > .
>> >
>> > Aug 24 12:58:57 [3590] DBG:core:forward_request: orig. len=1294,
>> > new_len=1442, proto=1
>> > Aug 24 12:58:57 [3590] DBG:dialog:unref_dlg: unref dlg 0x2aaaad54d240
>> > with 1 -> 2
>> > Aug 24 12:58:57 [3590] DBG:dialog:next_state_dlg: unref dlg
>> > 0x2aaaad54d240 with 1 -> 1
>> > Aug 24 12:58:57 [3590] DBG:dialog:next_state_dlg: dialog
>> > 0x2aaaad54d240 changed from state 1 to state 5, due event 1
>> > Aug 24 12:58:57 [3590] DBG:dialog:dlg_onreply: dialog 0x2aaaad54d240
>> > failed (negative reply)
>> > Aug 24 12:58:57 [3590] DBG:dialog:unref_dlg: unref dlg 0x2aaaad54d240
>> > with 1 -> 0
>> > Aug 24 12:58:57 [3590] DBG:dialog:unref_dlg: ref <=0 for dialog
>> > 0x2aaaad54d240
>> > Aug 24 12:58:57 [3590] DBG:dialog:destroy_dlg: destroing dialog
>> > 0x2aaaad54d240
>> > Aug 24 12:58:57 [3590] DBG:dialog:destroy_dlg: dlg expired or not in
>> > list - dlg 0x2aaaad54d240 [2315:580024441] with clid
>> > 'f66285722c9082d6dda627f748f1d7c3 at 192.168.1.23
>> > <mailto:f66285722c9082d6dda627f748f1d7c3 at 192.168.1.23>' and tags
>> > '66d7b491a6e6a760' ''
>> >
>> > Thank you for your attention.
>> >
>> > -Urmi
>> >
>> >
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opensips.org
>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> >
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090824/43f66238/attachment-0001.htm 


More information about the Users mailing list