[Freeswitch-users] Manipulate sip error codes

Kristian Kielhofner kris at kriskinc.com
Tue Sep 20 17:55:39 MSD 2011


Chris,

  <action application="set" data="continue_on_fail=true"/>
  <action application="bridge" data="bridge/string/to/somewhere"/>
  <action application="respond" data="486"/>

  This will cause any failed bridge to respond 486 on the A leg.  This
syntax can be made conditional using some dialplan tricks...

On Tue, Sep 20, 2011 at 7:48 AM, Chris Martineau <chris at ghosttelecom.com> wrote:
>
>
> Hi,
>
>
>
> Is it possible to translate B leg sip error codes so that the A leg always
> gives a fixed error code?
>
>
>
> i.e make call and get 408 for instance from the far end but would like 486
> to be sent on the a leg.
>
>
>
> Need this as one of our suppliers retransmits a call multiple times unless
> they recieve a 403 or 486. No major issue but just clogs the error cdrs with
> loads of duplicate records otherwise.
>
>
>
> Any ideas would be greatly appreciated.
>
>
>
> Many thanks
>
>
>
> Chris
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Kristian Kielhofner



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list