Displaying 3 results from an estimated 3 matches for "maxforward".
Did you mean:
max_forward
2018 Aug 02
3
PJSIP redirect_method=uri_core and header modifications
...way of header manipulation. Only
to find out that any headers added to the outbound leg are lost after a
redirect (with redirect_method=uri_core (didn't try any other since in
the past they didn't work for me)).
Am I missing something? Or is this a PJSIP feature?
chan_sip example:
[macro-maxforwards]
exten => s,1,NoOp()
exten => s,n,Set(mf=${SIP_HEADER(Max-Forwards)})
exten => s,n,Set(mf=$[ ${mf} - 1 ])
exten => s,n,ExecIf($[ ${mf} < 1 ]?Hangup(19))
exten => s,n,Set(__SIP_MAX_FORWARDS=${mf})
exten => s,n,SipAddHeader(X-Foo: bar)
exten => s,n,MacroExit()
[route]
...
ex...
2017 Feb 27
2
Which tool to automatically restart Asterisk ?
...program = "/bin/bash -c 'ulimit -n 16386 && /etc/init.d/asterisk start'"
stop program = "/etc/init.d/asterisk stop"
if does not exist for 2 cycles then restart
if failed port 5060 type udp protocol SIP
and target "011 at 127.0.0.1" maxforward 10
for 2 cycles then restart
if failed host 127.0.0.1 port 5038 with timeout 15 seconds for 2 cycles then restart
if 5 restarts within 5 cycles then timeout
2017 Feb 21
2
Which tool to automatically restart Asterisk ?
Why not to use Fail2ban
https://www.voip-info.org/wiki/view/Fail2Ban+%28with+iptables%29+And+Asterisk
*Tahir Almas*
Managing Partner
ICT Innovations
http://www.ictinnovations.com
http://www.ictbroadcast.com
Leveraging open source in ICT
On Tue, Feb 21, 2017 at 12:28 AM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>
wrote:
> On Mon, Feb 20, 2017 at 11:36:24AM -0300, Victor