[Serusers] Sip accounting
Ezequiel Colombo
ecolombo at arcotel.net
Wed May 4 22:43:41 CEST 2005
route {
if (method=="INVITE")
record_route();
t_on_reply("1");
...
}
if (method=="BYE") {
EXEC() # HangedUp
...
}
...
}
onreply_route[1] {
if (status=~"2[0-9][0-9]") {
EXEC() # Answered Call
}
----- Original Message -----
From: "Elton Machado" <elton.machado at gmail.com>
To: <serusers at lists.iptel.org>
Sent: Wednesday, May 04, 2005 2:39 PM
Subject: [Serusers] Sip accounting
| Hi guys,
|
| I would like to run an external application when the call was right setup
| and when to run another application or the same application when the call
| was successfully hanged up. Can you please send me a snip of code of it?
|
| Thanks.
|
|
|
| _______________________________________________
| Serusers mailing list
| serusers at lists.iptel.org
| http://lists.iptel.org/mailman/listinfo/serusers
|
More information about the sr-users
mailing list