Re: [Freeswitch-dev] call forward howto

2008-04-07 Thread kokoska rokoska
Michael Jerris napsal(a): > On Apr 7, 2008, at 6:08 AM, kokoska rokoska wrote: > >> our config works exactly as I need. Thank you Brian! >> I have two more questions about SIP headers, replies etc. >> >> 1. Is there a way how to add headers to replies? >> If I simply try to prepend "respond" app

Re: [Freeswitch-dev] call forward howto

2008-04-07 Thread kokoska rokoska
Michael Jerris napsal(a): > On Apr 7, 2008, at 3:45 AM, kokoska rokoska wrote: > >>> We already kill the call if the Max-Forwards makes it to zero. >>> >> No, unfotunately, Max-Forwards is not for the same thing. >> X-HopCounter we (I and lot of VoIP providers around me) use for >> overall >>

Re: [Freeswitch-dev] call forward howto

2008-04-07 Thread Michael Jerris
On Apr 7, 2008, at 6:08 AM, kokoska rokoska wrote: > our config works exactly as I need. Thank you Brian! > I have two more questions about SIP headers, replies etc. > > 1. Is there a way how to add headers to replies? > If I simply try to prepend "respond" app with "export" of desired SIP > head

Re: [Freeswitch-dev] call forward howto

2008-04-07 Thread Michael Jerris
On Apr 7, 2008, at 3:45 AM, kokoska rokoska wrote: > >> We already kill the call if the Max-Forwards makes it to zero. >> > No, unfotunately, Max-Forwards is not for the same thing. > X-HopCounter we (I and lot of VoIP providers around me) use for > overall > "hops" (visited call-routers) count

Re: [Freeswitch-dev] call forward howto

2008-04-07 Thread Michael Jerris
When we receive, we accept all of the appropriate headers, we should make both the precedence on send and receive configureable. We would be happy to accept patches that added this functionality. Mike On Apr 7, 2008, at 3:31 AM, kokoska rokoska wrote: > > Anthony Minessale wrote: >> all X-h

Re: [Freeswitch-dev] call forward howto

2008-04-07 Thread kokoska rokoska
Brian West napsal(a): > You can also try this: > > > > > > > > > > > > Your config works exactly as I need. Thank you Brian! I have two more questions about SIP headers, replies etc. 1. Is there a way how to add headers to replies? If I simply try

Re: [Freeswitch-dev] call forward howto

2008-04-07 Thread kokoska rokoska
Brian West wrote: > > 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

Re: [Freeswitch-dev] call forward howto

2008-04-07 Thread kokoska rokoska
Anthony Minessale wrote: > all X-headers are made into variables for you > route the call to the "info" app to see a dump of all the variables for > that call. > Thank you very much, Anthony, for this info! Am I right if I think that in the "info" app I see all important SIP headers "converted

Re: [Freeswitch-dev] call forward howto

2008-04-06 Thread Brian West
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

Re: [Freeswitch-dev] call forward howto

2008-04-06 Thread Anthony Minessale
all X-headers are made into variables for you route the call to the "info" app to see a dump of all the variables for that call. If there is some other standard header that we do not already supply that you would like to see as a variable let us know and we can consider it. On Sun, Apr 6, 2008 a

Re: [Freeswitch-dev] call forward howto

2008-04-06 Thread Anthony Minessale
See brian's example on the list for something that might handle your situation. I'm not trying to explain away the need for what you want I just want to make sure you understand how we have things designed. You may want to join our irc channel for more realtime interaction. #freeswitch on irc.fre

Re: [Freeswitch-dev] call forward howto

2008-04-06 Thread kokoska rokoska
Brian West napsal(a): > You can also try this: > > > > > > > > > > > > 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 wi

Re: [Freeswitch-dev] call forward howto

2008-04-06 Thread kokoska rokoska
Thank you, Anthony, for your answer. I will write my comments in the e-mail body. Anthony Minessale napsal(a): > The transfer app sends the same call to some other extension at some > other dialplan within the switch. > We are not a sip specific switch so we have to abstract many concepts. >

Re: [Freeswitch-dev] call forward howto

2008-04-06 Thread Brian West
You can also try this: /b On Apr 6, 2008, at 4:03 PM, Anthony Minessale wrote: > The transfer app sends the same call to some other extension at some > other dialplan within the switch. > We are not a sip specific switch so we have to abstract ma

Re: [Freeswitch-dev] call forward howto

2008-04-06 Thread Anthony Minessale
The transfer app sends the same call to some other extension at some other dialplan within the switch. We are not a sip specific switch so we have to abstract many concepts. If you are trying to redirect the call we have 2 ways the redirect application This will result in a 302 redirect in the c

[Freeswitch-dev] call forward howto

2008-04-06 Thread kokoska rokoska
Hi all at third today :-) I'm trying to make call-forward (on all failures, but it is not relevant, I think) but don't know how... I used "transfer" application but it didn't work like i expected. The scenario was as follows: Really simple dialplan And than user 21