About L4 Swtich + 2 * opensips

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

About L4 Swtich + 2 * opensips

Nick Chang

Hello Ali

 

Debug is on

 

I saw log

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialplan:translate: the rule's attrs are usrloc

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialplan:translate: the copied attributes are: usrloc

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialplan:rule_translate: null replacement

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialplan:dp_translate_f: input 0939723377 with dpid 0 => output

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:buf_init: initializing...

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: usrloc

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:comp_scriptvar: str 20 : usrloc

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:registrar:lookup: '0939723377@202.55.233.195' Not found in usrloc

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: -1

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:t_newtran: transaction on entrance=(nil)

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:parse_headers: flags=ffffffffffffffff

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:parse_headers: flags=78

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:t_lookup_request: start searching: hash=18019, isACK=0

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:matching_3261: RFC3261 transaction matching failed

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:t_lookup_request: no transaction found

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:run_reqin_callbacks: trans=0x7f5de97b58c0, callback type 1, id 1 entered

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialog:dlg_onreq: t hash_index = 18019, t label = 688903610

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialog:get_dlg_timeout: invalid AVP value, use default timeout

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:run_reqin_callbacks: trans=0x7f5de97b58c0, callback type 1, id 0 entered

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:parse_headers: flags=78

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:parse_headers: flags=ffffffffffffffff

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:_shm_resize: resize(0) called

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:run_trans_callbacks: trans=0x7f5de97b58c0, callback type 64, id 0 entered

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialog:next_state_dlg: dialog 0x7f5de97b4cd8 changed from state 1 to state 5, due event 4

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialog:dlg_onreply: dialog 0x7f5de97b4cd8 failed (negative reply)

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialog:unref_dlg: unref dlg 0x7f5de97b4cd8 with 1 -> 2

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:cleanup_uac_timers: RETR/FR timers reset

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:set_timer: relative timeout is 500000

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:insert_timer_unsafe: [4]: 0x7f5de97b5a08 (47200000)

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:set_timer: relative timeout is 5

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:insert_timer_unsafe: [0]: 0x7f5de97b5a38 (51)

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:_reply_light: reply sent out. buf=0x7f5def3ee418: SIP/2.0 4..., shmem=0x7f5de97b8e00: SIP/2.0 4

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:run_trans_callbacks: trans=0x7f5de97b58c0, callback type 128, id 1 entered

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:_reply_light: finished

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:t_unref: UNREF_UNSAFE: [0x7f5de97b58c0] after is 0

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialog:unref_dlg: unref dlg 0x7f5de97b4cd8 with 1 -> 1

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:destroy_avp_list: destroying list (nil)

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:receive_msg: cleaning up

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17672]: DBG:core:parse_msg: SIP Request:

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17672]: DBG:core:parse_msg:  method:  <ACK>

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17672]: DBG:core:parse_msg:  uri:     <sip:0939723377@202.55.233.195>

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17672]: DBG:core:parse_msg:  version: <SIP/2.0>

 

It tell me , can’t found this user.

But In my database.

mysql> select * from location;

+------+--------------+----------------+------------------------------------------------------------+--------------------------+------+---------------------+-------+------------+------+---------------------+-------+--------+--------------------------------+---------------------+---------+--------------+

| id   | username     | domain         | contact                                                    | received                 | path | expires             | q     | callid     | cseq | last_modified       | flags | cflags | user_agent                     | socket              | methods | sip_instance |

+------+--------------+----------------+------------------------------------------------------------+--------------------------+------+---------------------+-------+------------+------+---------------------+-------+--------+--------------------------------+---------------------+---------+--------------+

| 4237 | 886988000076 | 202.55.233.195 | sip:886988000076@10.1.1.53;line=b690308c3bccdc1            | sip:118.163.61.141:40698 | NULL | 2012-09-05 11:52:39 | -1.00 | 5605       |    2 | 2012-09-05 10:52:39 |     0 |    192 | Linphone/3.5.2 (eXosip2/3.6.0) | udp:10.1.2.150:5060 |    NULL | NULL         |

| 4238 | 886988000076 | 202.55.233.195 | sip:886988000076@118.163.61.141:40698;line=b690308c3bccdc1 | sip:118.163.61.141:40698 | NULL | 2012-09-05 11:52:39 | -1.00 | 5605       |    4 | 2012-09-05 10:52:39 |     0 |    192 | Linphone/3.5.2 (eXosip2/3.6.0) | udp:10.1.2.150:5060 |    NULL | NULL         |

| 4239 | 0939723377   | 202.55.233.195 | sip:0939723377@42.73.55.31:3273;line=76a80b0cc2348e9       | NULL                     | NULL | 2012-09-05 11:05:32 | -1.00 | 2002148269 |    2 | 2012-09-05 10:55:32 |     0 |      0 | Linphone/3.5.2 (eXosip2/3.6.0) | udp:10.1.2.150:5060 |    NULL | NULL         |

+------+--------------+----------------+------------------------------------------------------------+--------------------------+------+---------------------+-------+------------+------+---------------------+-------+--------+--------------------------------+---------------------+---------+--------------+

3 rows in set (0.00 sec)

 

I can see it.

 

Do you have any suggest??

 

Thanks for your support.

Nick


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: About L4 Swtich + 2 * opensips

Ali Pey
Hello Nick,

Set your db_mode to 3.


Regards,
Ali Pey


On Tue, Sep 4, 2012 at 10:57 PM, Nick Chang <[hidden email]> wrote:

Hello Ali

 

Debug is on

 

I saw log

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialplan:translate: the rule's attrs are usrloc

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialplan:translate: the copied attributes are: usrloc

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialplan:rule_translate: null replacement

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialplan:dp_translate_f: input 0939723377 with dpid 0 => output

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:buf_init: initializing...

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: usrloc

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:comp_scriptvar: str 20 : usrloc

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:registrar:lookup: '[hidden email]' Not found in usrloc

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: -1

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:t_newtran: transaction on entrance=(nil)

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:parse_headers: flags=ffffffffffffffff

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:parse_headers: flags=78

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:t_lookup_request: start searching: hash=18019, isACK=0

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:matching_3261: RFC3261 transaction matching failed

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:t_lookup_request: no transaction found

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:run_reqin_callbacks: trans=0x7f5de97b58c0, callback type 1, id 1 entered

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialog:dlg_onreq: t hash_index = 18019, t label = 688903610

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialog:get_dlg_timeout: invalid AVP value, use default timeout

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:run_reqin_callbacks: trans=0x7f5de97b58c0, callback type 1, id 0 entered

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:parse_headers: flags=78

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:parse_headers: flags=ffffffffffffffff

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:_shm_resize: resize(0) called

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:run_trans_callbacks: trans=0x7f5de97b58c0, callback type 64, id 0 entered

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialog:next_state_dlg: dialog 0x7f5de97b4cd8 changed from state 1 to state 5, due event 4

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialog:dlg_onreply: dialog 0x7f5de97b4cd8 failed (negative reply)

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialog:unref_dlg: unref dlg 0x7f5de97b4cd8 with 1 -> 2

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:cleanup_uac_timers: RETR/FR timers reset

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:set_timer: relative timeout is 500000

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:insert_timer_unsafe: [4]: 0x7f5de97b5a08 (47200000)

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:set_timer: relative timeout is 5

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:insert_timer_unsafe: [0]: 0x7f5de97b5a38 (51)

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:_reply_light: reply sent out. buf=0x7f5def3ee418: SIP/2.0 4..., shmem=0x7f5de97b8e00: SIP/2.0 4

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:run_trans_callbacks: trans=0x7f5de97b58c0, callback type 128, id 1 entered

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:_reply_light: finished

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:tm:t_unref: UNREF_UNSAFE: [0x7f5de97b58c0] after is 0

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:dialog:unref_dlg: unref dlg 0x7f5de97b4cd8 with 1 -> 1

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:destroy_avp_list: destroying list (nil)

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17671]: DBG:core:receive_msg: cleaning up

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17672]: DBG:core:parse_msg: SIP Request:

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17672]: DBG:core:parse_msg:  method:  <ACK>

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17672]: DBG:core:parse_msg:  uri:     <[hidden email]>

Sep  5 10:53:07 Sharesip1 /usr/local/sbin/opensips[17672]: DBG:core:parse_msg:  version: <SIP/2.0>

 

It tell me , can’t found this user.

But In my database.

mysql> select * from location;

+------+--------------+----------------+------------------------------------------------------------+--------------------------+------+---------------------+-------+------------+------+---------------------+-------+--------+--------------------------------+---------------------+---------+--------------+

| id   | username     | domain         | contact                                                    | received                 | path | expires             | q     | callid     | cseq | last_modified       | flags | cflags | user_agent                     | socket              | methods | sip_instance |

+------+--------------+----------------+------------------------------------------------------------+--------------------------+------+---------------------+-------+------------+------+---------------------+-------+--------+--------------------------------+---------------------+---------+--------------+

| 4237 | 886988000076 | 202.55.233.195 | [hidden email];line=b690308c3bccdc1            | sip:118.163.61.141:40698 | NULL | 2012-09-05 11:52:39 | -1.00 | 5605       |    2 | 2012-09-05 10:52:39 |     0 |    192 | Linphone/3.5.2 (eXosip2/3.6.0) | udp:10.1.2.150:5060 |    NULL | NULL         |

| 4238 | 886988000076 | 202.55.233.195 | sip:886988000076@118.163.61.141:40698;line=b690308c3bccdc1 | sip:118.163.61.141:40698 | NULL | 2012-09-05 11:52:39 | -1.00 | 5605       |    4 | 2012-09-05 10:52:39 |     0 |    192 | Linphone/3.5.2 (eXosip2/3.6.0) | udp:10.1.2.150:5060 |    NULL | NULL         |

| 4239 | 0939723377   | 202.55.233.195 | sip:0939723377@42.73.55.31:3273;line=76a80b0cc2348e9       | NULL                     | NULL | 2012-09-05 11:05:32 | -1.00 | 2002148269 |    2 | 2012-09-05 10:55:32 |     0 |      0 | Linphone/3.5.2 (eXosip2/3.6.0) | udp:10.1.2.150:5060 |    NULL | NULL         |

+------+--------------+----------------+------------------------------------------------------------+--------------------------+------+---------------------+-------+------------+------+---------------------+-------+--------+--------------------------------+---------------------+---------+--------------+

3 rows in set (0.00 sec)

 

I can see it.

 

Do you have any suggest??

 

Thanks for your support.

Nick


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users