Daryl Sanders wrote:
I'd love to use uac_replace_to(), but to my knowledge it does not
exist. I read through the UAC module docs and there is no mention of
it.
Any other posibilities?
If I were to use subst(), can it be applied it in such a way that it
does not cause problems with the dialog?
You have to catch everys reply and remove the + sign.
Further you have to check all in-dialog requests received from the PSTN
provider and remove the + sign to, and catch every reply from the user's
client to add the + sign again.
You could also use an Asterisk server between your proxy and the gateway
provider.
regards
klaus
PS: Maybe you can teach your PSTN provider that routing based on To:
header is absolute bullshit (you can forward my email) and it should
read the standards and configure its gateway to use the request URI for
routing.
- Daryl
On 3/21/07, Alan Crosswell <[EMAIL PROTECTED]> wrote:
Let me guess -- Level 3? They're the only ones that make that bogus
requirement AFAIK. And, the subst() is of course wrong, you need to do
uac_replace_to() or break the dialog otherwise....
/a
Daryl Sanders wrote:
> One of my providers requires the To: header to be in e.164 format with
> a "+" in front of it. Since there is no uac_replace_to() function yet,
> what are my options for adding this plus symbol?
>
> Before anyone suggests it... I cannot just use another provider. I
> must find a solution to add the plus symbol.
>
> Thanks,
> Daryl
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openser.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users