Hi Daniel,
Thanks for the reply. Below is the log related to topoh hiding. MASK_IP is configured in mask_ip and PRESENCE SERVER IP is the presence server ip address/system address.
Oct 1 13:46:00 PLT-RA-RD-W167A Presence: DEBUG: <core> [cfg.y:1805]: yyparse(): loading module topoh.so
Oct 1 13:46:00 PLT-RA-RD-W167A Presence: DEBUG: <core> [sr_module.c:564]: load_module(): load_module: trying to load </usr/local/lib64/kamailio/modules/topoh.so>
Oct 1 13:46:01 PLT-RA-RD-W167A Presence: DEBUG: <core> [modparam.c:96]: set_mod_param_regex(): set_mod_param_regex: 'topoh' matches module 'topoh'
Oct 1 13:46:01 PLT-RA-RD-W167A Presence: DEBUG: <core> [sr_module.c:770]: find_param_export(): find_param_export: found <mask_key> in module topoh [/usr/local/lib64/kamailio/modules/topoh.so]
Oct 1 13:46:01 PLT-RA-RD-W167A Presence: DEBUG: <core> [modparam.c:113]: set_mod_param_regex(): set_mod_param_regex: found <mask_key> in module topoh [/usr/local/lib64/kamailio/modules/topoh.so]
Oct 1 13:46:01 PLT-RA-RD-W167A Presence: DEBUG: <core> [modparam.c:96]: set_mod_param_regex(): set_mod_param_regex: 'topoh' matches module 'topoh'
Oct 1 13:46:01 PLT-RA-RD-W167A Presence: DEBUG: <core> [sr_module.c:770]: find_param_export(): find_param_export: found <mask_ip> in module topoh [/usr/local/lib64/kamailio/modules/topoh.so]
Oct 1 13:46:01 PLT-RA-RD-W167A Presence: DEBUG: <core> [modparam.c:113]: set_mod_param_regex(): set_mod_param_regex: found <mask_ip> in module topoh [/usr/local/lib64/kamailio/modules/topoh.so]
Oct 1 13:46:03 PLT-RA-RD-W167A Presence[26960]: DEBUG: <core> [sr_module.c:935]: init_mod(): DEBUG: init_mod: topoh
Oct 1 13:46:03 PLT-RA-RD-W167A Presence[26960]: DEBUG: topoh [topoh_mod.c:173]: mod_init(): VIA prefix: [SIP/2.0/UDP MASK_IP;branch=z9hG4bKsr-]
Oct 1 13:46:03 PLT-RA-RD-W167A Presence[26960]: DEBUG: topoh [topoh_mod.c:183]: mod_init(): URI prefix: [sip: MASK_IP;line=sr-]
Oct 1 13:46:03 PLT-RA-RD-W167A Presence[26960]: DEBUG: topoh [th_mask.c:79]: th_mask_init(): original table: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.-
Oct 1 13:46:03 PLT-RA-RD-W167A Presence[26960]: DEBUG: topoh [th_mask.c:80]: th_mask_init(): updated table: VUC-ia2GBKmzDcb3xovQwpN69LIjygseTXq0J1MWSdl7f5Zu4rRYAHtOE8nkFPh.
] 1 13:47:14 PLT-RA-RD-W167A Presence[26964]: DEBUG: topoh [th_msg.c:906]: th_add_hdr_cookie(): +++++++++++++ added cookie header [TH: dih
] 1 13:47:14 PLT-RA-RD-W167A Presence[26963]: DEBUG: topoh [th_msg.c:906]: th_add_hdr_cookie(): +++++++++++++ added cookie header [TH: dih
] 1 13:47:16 PLT-RA-RD-W167A Presence[26965]: DEBUG: topoh [th_msg.c:906]: th_add_hdr_cookie(): +++++++++++++ added cookie header [TH: dih
] 1 13:47:16 PLT-RA-RD-W167A Presence[26966]: DEBUG: topoh [th_msg.c:906]: th_add_hdr_cookie(): +++++++++++++ added cookie header [TH: dih
] 1 13:47:16 PLT-RA-RD-W167A Presence[26968]: DEBUG: topoh [th_msg.c:906]: th_add_hdr_cookie(): +++++++++++++ added cookie header [TH: dih
Oct 1 13:47:16 PLT-RA-RD-W167A Presence[26964]: DEBUG: topoh [topoh_mod.c:357]: th_msg_sent(): the COOKIE is [div]
] 1 13:47:17 PLT-RA-RD-W167A Presence[26964]: DEBUG: topoh [th_msg.c:906]: th_add_hdr_cookie(): +++++++++++++ added cookie header [TH: dih
Oct 1 13:47:17 PLT-RA-RD-W167A Presence[26965]: DEBUG: topoh [topoh_mod.c:357]: th_msg_sent(): the COOKIE is [div]
Oct 1 13:47:17 PLT-RA-RD-W167A Presence[26968]: DEBUG: topoh [topoh_mod.c:357]: th_msg_sent(): the COOKIE is [div]
Oct 1 13:47:17 PLT-RA-RD-W167A Presence[26963]: DEBUG: topoh [topoh_mod.c:357]: th_msg_sent(): the COOKIE is [div]
Oct 1 13:47:17 PLT-RA-RD-W167A Presence[26964]: DEBUG: topoh [topoh_mod.c:357]: th_msg_sent(): the COOKIE is [div]
Oct 1 13:47:17 PLT-RA-RD-W167A Presence[26963]: DEBUG: topoh [topoh_mod.c:357]: th_msg_sent(): the COOKIE is [xxx]
Oct 1 13:47:17 PLT-RA-RD-W167A Presence[26965]: DEBUG: topoh [th_msg.c:384]: th_unmask_via(): =======via[1]
Oct 1 13:47:17 PLT-RA-RD-W167A Presence[26965]: DEBUG: topoh [th_msg.c:385]: th_unmask_via(): hdr: [Via]
Oct 1 13:47:17 PLT-RA-RD-W167A Presence[26965]: DEBUG: topoh [th_msg.c:387]: th_unmask_via(): body: 80: [SIP/2.0/UDP PRESENCE SERVER IP;branch=z9hG4bK138d.7b3c9f11.0;received= PRESENCE SERVER IP]
Oct 1 13:47:17 PLT-RA-RD-W167A Presence[26965]: DEBUG: topoh [th_msg.c:514]: th_flip_record_route(): no record route header
] 1 13:47:17 PLT-RA-RD-W167A Presence[26965]: DEBUG: topoh [th_msg.c:906]: th_add_hdr_cookie(): +++++++++++++ added cookie header [TH: uch
Oct 1 13:47:20 PLT-RA-RD-W167A Presence[26968]: DEBUG: topoh [topoh_mod.c:357]: th_msg_sent(): the COOKIE is [xxx]
Oct 1 13:47:20 PLT-RA-RD-W167A Presence[26964]: DEBUG: topoh [th_msg.c:384]: th_unmask_via(): =======via[1]
Oct 1 13:47:20 PLT-RA-RD-W167A Presence[26964]: DEBUG: topoh [th_msg.c:385]: th_unmask_via(): hdr: [Via]
Oct 1 13:47:20 PLT-RA-RD-W167A Presence[26964]: DEBUG: topoh [th_msg.c:387]: th_unmask_via(): body: 80: [SIP/2.0/UDP PRESENCE SERVER IP;branch=z9hG4bKe28d.42bcff46.0;received= PRESENCE SERVER IP]
Oct 1 13:47:20 PLT-RA-RD-W167A Presence[26964]: DEBUG: topoh [th_msg.c:514]: th_flip_record_route(): no record route header
] 1 13:47:20 PLT-RA-RD-W167A Presence[26964]: DEBUG: topoh [th_msg.c:906]: th_add_hdr_cookie(): +++++++++++++ added cookie header [TH: uch
Oct 1 13:47:23 PLT-RA-RD-W167A Presence[26961]: DEBUG: topoh [topoh_mod.c:357]: th_msg_sent(): the COOKIE is [xxx]
Oct 1 13:47:23 PLT-RA-RD-W167A Presence[26965]: DEBUG: topoh [th_msg.c:384]: th_unmask_via(): =======via[1]
Oct 1 13:47:23 PLT-RA-RD-W167A Presence[26965]: DEBUG: topoh [th_msg.c:385]: th_unmask_via(): hdr: [Via]
Oct 1 13:47:23 PLT-RA-RD-W167A Presence[26965]: DEBUG: topoh [th_msg.c:387]: th_unmask_via(): body: 79: [SIP/2.0/UDP PRESENCE SERVER IP;branch=z9hG4bKf28d.8e586b2.0;received= PRESENCE SERVER IP]
Oct 1 13:47:23 PLT-RA-RD-W167A Presence[26965]: DEBUG: topoh [th_msg.c:514]: th_flip_record_route(): no record route header
] 1 13:47:23 PLT-RA-RD-W167A Presence[26965]: DEBUG: topoh [th_msg.c:906]: th_add_hdr_cookie(): +++++++++++++ added cookie header [TH: uch
Oct 1 13:47:27 PLT-RA-RD-W167A Presence[26966]: DEBUG: topoh [topoh_mod.c:357]: th_msg_sent(): the COOKIE is [xxx]
Oct 1 13:47:27 PLT-RA-RD-W167A Presence[26970]: DEBUG: topoh [topoh_mod.c:357]: th_msg_sent(): the COOKIE is [xxx]
Oct 1 13:47:28 PLT-RA-RD-W167A Presence[26970]: DEBUG: topoh [topoh_mod.c:357]: th_msg_sent(): the COOKIE is [xxx]
Oct 1 13:47:30 PLT-RA-RD-W167A Presence[26970]: DEBUG: topoh [topoh_mod.c:357]: th_msg_sent(): the COOKIE is [xxx]
Oct 1 13:47:34 PLT-RA-RD-W167A Presence[26970]: DEBUG: topoh [topoh_mod.c:357]: th_msg_sent(): the COOKIE is [xxx]
Thanks ,
Prem Chandiran M
From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla
Sent: Tuesday, October 01, 2013 12:45 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] regarding topoh hiding
Hello,
On 10/1/13 8:09 AM, Premchandiran wrote:
Hi All,
I have query/observation w.r.t topoh I hiding, before loading topoh module rr module must be loaded . I found that methods like record_route() in rr module must be present in the cfg then only topoh hiding is taking place. Otherwise tough rr module and topoh module is loaded topoh hiding is not taking place. Is that right? Please clarify the same.
there is no relation between rr module and topoh. Can you get the log messages with debug=3 in config file?
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013
- more details about Kamailio trainings at http://www.asipto.com -