[Freeswitch-users] Event Socket: Get Via list
Alois Komenda
alois.komenda at esk.fraunhofer.de
Thu Jul 31 23:55:55 PDT 2008
I'm working on a tool to block SPIT calls. One important piece of
information in that context is the outbound proxy of the caller. With
certain assertions implied (no spoofing) this is the same as the domain part
of the From uri. So at the moment I can use that as well. But the complete
route listed in the Via header might get interesting for future work.
--
Alois Komenda
Fraunhofer-Einrichtung für Systeme der Kommunikationstechnik ESK
_____
Von: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von
Michael Jerris
Gesendet: Donnerstag, 31. Juli 2008 22:37
An: freeswitch-users at lists.freeswitch.org
Betreff: Re: [Freeswitch-users] Event Socket: Get Via list
In the sip_via_host that is going to be the first (next hop) host in the
via. We don't currently go through the entire list of via headers and turn
them into variables. It could be added, but I would want a compelling
reason to add the overhead.
Mike
On Jul 31, 2008, at 4:01 AM, Alois Komenda wrote:
Hello Freeswitchers,
is it possible to get a list of all hosts, which are conained in the Via
header, over the Event Socket?
Most important for me is to know the first proxy, which forwarded the call
(i. e. outbound proxy of the caller). But a complete list of involved
forwarding hosts would be nice as well.
What host is displayed in the variable_sip_via_host?
Thanks in advance!
Alois Komenda
Fraunhofer-Einrichtung für Systeme der Kommunikationstechnik ESK
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080801/e3fc3a5a/attachment-0002.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4942 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080801/e3fc3a5a/attachment-0002.bin
More information about the FreeSWITCH-users
mailing list