[OpenSIPS-Users] Sipcapture issue "ERROR:core:parse_msg"
Mickael Hubert
m.hubert at hexanet.fr
Mon Dec 9 15:05:57 CET 2013
Hi list,
I have an issue with sipcapture module in capture server.
When client send HEP message to capture server, I have this message in
Opensips.log:
*Dec 9 14:48:49 sipcapture1 /usr/local/sbin/opensips[16871]:
INFO:core:parse_first_line: method not followed by SPDec 9 14:48:49
sipcapture1 /usr/local/sbin/opensips[16871]: INFO:core:parse_first_line:
bad message Dec 9 14:48:49 sipcapture1 /usr/local/sbin/opensips[16874]:
ERROR:core:parse_msg:
message=<#001#020#002#001#023�#023�#012T#010#024#012T#010#006INVITE
sip:+33XXXXXXX at 10.84.8.6:5060;user=phone SIP/2.0#015#012Record-Route:
<sip:10.84.8.20;lr;ftag=3595585729-376568;xyz=7f.715afa23>#015#012X-Provider-ID:
COMP#015#012Max-Forwards: 68#015#012Session-Expires:
1800;refresher=uac#015#012Min-SE: 600#015#012Supported: timer,
100rel#015#012To: <sip:+33XXXXXX at 10.84.8.20
<sip%3A%2B33XXXXXX at 10.84.8.20>;user=phone>#015#012From: "Snom 760"
<sip:+33XXXXXX at 10.84.8.10
<sip%3A%2B33XXXXXX at 10.84.8.10>>;tag=3595585729-376568#015#012P-Asserted-Identity:
"Snom 760" <sip:+33XXXXXX at 10.84.8.10
<sip%3A%2B33XXXXXX at 10.84.8.10>;user=phone>#015#012P-Preferred-Identity:
"Snom 760" <sip:+33XXXXXX at 10.84.8.10
<sip%3A%2B33XXXXXX at 10.84.8.10>;user=phone>#015#012Call-ID:
1518541-3595585729-376465 at asbc1b.hexavoip.local#015#012CSeq: 1
INVITE#015#012Allow: CANCEL, ACK, INVITE, BYE, OPTIONS, REGISTER, NOTIFY,
INFO, REFER, SUBSCRIBE, PRACK, UPDATE, MESSAGE, PUBLISH#015#012Via:
SIP/2.0/UDP 10.84.8.20:5060;branch=z9hG4bKe2da.a59b1585.0#015#012Via:
SIP/2.0/UDP
10.84.8.10:5060;branch=z9hG4bKd51ae6b58e0f5bd6323f7800acb6b034#015#012Contact:
<sip:+33XXXXXXX at 10.84.8.10:5060
<http://sip:+33XXXXXXX@10.84.8.10:5060>>#015#012Content-Type:
application/sdp#015#012Accept: application/sdp#015#012Content-Length:
198#015#012#015#012v=0#015#012o=asbc1b 1092911897 1092911897 IN IP4
10.84.8.10#015#012s=sip call#015#012c=IN IP4 10.84.13.10#015#012t=0
0#015#012m=audio 5748 RTP/AVP 8 101#015#012a=rtpmap:8
PCMA/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101
0-16#015#012>*
*example:*
(client) 10.84.8.20 --> (HEP server / capture server) 10.84.8.201
HEP server has two interface: eth0 (public IP) in the first SIp platform,
and eth1 in the second sip platform.
FYI, capture system is ok in the first SIP platform.
FYI, when I capture with freeswitch server, the capture system is OK in
second SIP Platform. I think is a HEP / Opensips version issue or....
*Client conf 1.9.0-tls (x86_64/freebsd):*
*## ----------------- module siptrace.so -----------loadmodule
"siptrace.so"## ----- siptrace params ----- modparam("siptrace", "db_url",
"") modparam("siptrace", "duplicate_uri","sip:10.84.8.201:9060
<http://10.84.8.201:9060>")#modparam("siptrace", "trace_local_ip",
"10.84.8.20:44568 <http://10.84.8.20:44568>") modparam("siptrace",
"duplicate_with_hep", 1)modparam("siptrace", "enable_ack_trace",
1)modparam("siptrace", "hep_version", 1)modparam("siptrace",
"trace_to_database", 0) modparam("siptrace", "trace_flag",
22)#modparam("siptrace", "hep_capture_id", 2)modparam("siptrace",
"trace_on", 1)*
*HEP server conf 1.8.0-dev0-tls (i386/linux) **:*
*modparam("sipcapture", "db_url",
"mysql://XXXXXXXXX@homer/siptrace")modparam("sipcapture", "capture_on",
1)modparam("sipcapture", "table_name", "sip_capture") /* activate HEP
capturing */modparam("sipcapture", "hep_capture_on", 1)/* configuration for
Mirroring PORT */modparam("sipcapture", "raw_socket_listen",
"81.23.XX.XX:5060-6000") modparam("sipcapture", "raw_socket_listen",
"10.84.8.201:5060-6000")modparam("sipcapture", "raw_interface",
"eth0")modparam("sipcapture", "raw_interface", "eth1") /* activate
monitoring port capturing */modparam("sipcapture", "raw_moni_capture_on",
1)modparam("sipcapture", "raw_sock_children", 4)/* Promiscious mode
*/modparam("sipcapture", "promiscious_on", 1)*
Thanks in advance
--
Cordialement
HUBERT Mickaël
Ingénieur VOIP - Hexanet
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131209/4b796188/attachment-0001.htm>
More information about the Users
mailing list