I have a big problem handing my call of to the PSTN, It give me a 404 error (not connected). What can I do to fix this?

 

My handoff script looks like this:

 

if (uri=~"^sip:9[0-9] *@gaco.co.za") {

         log ("Forwarding to PSTN\n");

         prefix("666#");

         t_relay_to_udp("217.15.11.87","5060");

         break;

         };

 

The PSTN interconnect description:

 

1) I need to send a prefix of 666# followed by full intl number without leading 0's.

eg. 666#442071016211

 

2) The PSTN are connecting me to a Cisco SIP Proxy server, which uses Tech-prefixes eg 123# to separate and authenticate the calls into different domains.

 

 

What can I do to get it working?

 

DISCLAIMER: The information in this message is confidential and is legally
privileged. It is intended solely for the addressee. Access to this message by
anyone else is unauthorized.If receiving in error please accept our apologies
and notify the sender immediately. You must also delete the original
message from your machine. If you are not the intended recipient, any use,
disclosure, copying, distribution or action taken in reliance of it, is prohibited
and maybe
unlawful.