[Spce-user] Reply with 503 instead of 404

Martin Wong martin.wong at binaryelements.com.au
Wed Jul 24 04:26:23 EDT 2013


Apologies ... before I stuff it up, is it possible for you to let me know
where exactly to change in the proxy.cfg? Aiming for a return of 503 when
an inbound call comes in and there's no such subscriber / alias number

Thanks

Martin Wong
Director at Binary Elements
http://www.binaryelements.com.au
Tel: 03 9020 7900
DID: 03 9020 7907
Mob: 0405 817 796


On Wed, Jul 24, 2013 at 6:14 PM, Jon Bonilla <jbonilla at sipwise.com> wrote:

> El Wed, 24 Jul 2013 15:38:31 +1000
> Martin Wong <martin.wong at binaryelements.com.au> escribió:
>
> > Hi guys, is there a way to respond back with a 503 instead of a 404 when
> > there is no such number in the SPCE?
> >
> > Just that our provider would need this code to determine to move to
> another
> > IP address to route calls in.
> >
>
>
> You would need to create a customtt template as described in the Handbook.
>
> Check for 404 in /etc/ngcp-config/templates/etc/kamailio/proxy and replace
> the
> return codes with the ones you need.
>
>
> cheers,
>
> Jon
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130724/028bda50/attachment-0001.html>


More information about the Spce-user mailing list