[Freeswitch-dev] call forward howto

Brian West brian at freeswitch.org
Sun Apr 6 18:43:08 EDT 2008


On Apr 6, 2008, at 5:33 PM, kokoska rokoska wrote:

>
> Thank you very much, Brian, for super tip!
>
> I know I can append headers (yout wrote it to me few days ago :-),  
> but I
>   didn't know how to modify replies. And if config above will work, it
> is exactly what I need.
>
> BTW: Is there a way how to get contents of SIP headers on incoming
> INVITEs? (I'm wondering especially on standard "Diversion" header -
> parameters "reason" and "counter" - and nonstandard but widely used
> "X-HopCounter" header.)
> Do you have any hints here?

Isn't this what Max-Forwards header is for?  Inbound Diversion is  
sip_h_diversion variable.

We already kill the call if the Max-Forwards makes it to zero.

/b

>
>
> Thanks once more, regards
>
> kokoska.rokoska

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20080406/5915ad14/attachment.html 


More information about the Freeswitch-dev mailing list