Re: [asterisk-users] OT: Want to capture all SIP messages

2017-06-01 Thread Tony Mountifield
In article , Steve Edwards wrote: > On Wed, 31 May 2017, Steve Edwards wrote: > > > I want to capture all SIP messages. > > > > I have about 30 hosts in about 6 colos. > > > > My first thought was dumpcap, but the

[asterisk-users] Forward error code beetwen legs

2017-06-01 Thread Loic Chabert
Hello asterisk users, I have a strange behaviour with asterisk and error code forwarding in asterisk 11. Please find below my setup: Phone -> ASTERISK -> SIP TRUNK PROVIDER A phone start a call, asterisk start a leg to my SIP trunk provider. I have a simple dialplan to handle it:

Re: [asterisk-users] Forward error code beetwen legs

2017-06-01 Thread Loic Chabert
Exact Daniel, it'works with this line. Thanks for your help. Regards. 2017-06-01 21:16 GMT+02:00 Daniel Tryba : > On Thu, Jun 01, 2017 at 09:06:25PM +0200, Loic Chabert wrote: > > [gotoexternal] > > exten => _X.,1,Dial(SIP/${EXTEN}@provider) > > > > When my SIP provider return

Re: [asterisk-users] Forward error code beetwen legs

2017-06-01 Thread Daniel Tryba
On Thu, Jun 01, 2017 at 09:06:25PM +0200, Loic Chabert wrote: > [gotoexternal] > exten => _X.,1,Dial(SIP/${EXTEN}@provider) > > When my SIP provider return to asterisk a 404 SIP error code, asterisk > return to phone a 503 error code. > > Why 503 error code has been returned, and not the