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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Michael Jerris
Gesendet: Donnerstag, 31. Juli 2008 22:37
An: freeswitch-users@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org