Hi,
You can probably use exec_msg() function from exce.so module. Look at
the README file for the module. Anyway, when exec_msg is called SER
also passes the whole message along with headers in the environment
variables. You can use those variables to determine where and what to
write.
Hope that helps.
Regards.
On 2/7/06, hgaillac-sip(a)yahoo.fr <hgaillac-sip(a)yahoo.fr> wrote:
Hello,
I have txt file with calls flow.
I look for a script to Create ,for example , a
"679400FC-8C211DA-9C3DBF26-F375EEC9(a)192.168.52.52"
file, gathering all SIP messages (find the way to
easily detect the start and the end of every SIP
messages).
Thanks for help
Harry
2005/08/10-12:44:44.324 ===== Received
======================= 12:44:44 324
id1/192.168.49.1:5061 <===UDP=== /192.168.49.1:5060
SIP/2.0 200 OK
To:
<sip:0097143389080@192.168.52.52>;tag=A8C32828-2670
Allow-Events: telephone-event
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK,
COMET, REFER, SUBSCRIBE, NOTIFY, INFO
Server: Cisco-SIPGateway/IOS-12.x
Call-ID:
679400FC-8C211DA-9C3DBF26-F375EEC9(a)192.168.52.52
Contact: <sip:0097143389080@192.168.52.52:5060>
Content-Type: application/sdp
CSeq: 107 INVITE
Date: Wed, 10 Aug 2005 10:44:44 GMT
Content-Length: 234
Via: SIP/2.0/UDP 192.168.49.1:5061;branch=z9hG4bK228
Record-Route: <sip:192.168.49.1;lr>
From:
<sip:497231265@id.centile.com>;tag=c74716fe-957a-816c-1304-aa9de235bd46
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels
pour appeler la France et l'international.
Téléchargez sur
http://fr.messenger.yahoo.com
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers