You can simply add a line that says:
prefix("xxxx");
just before sending the call to the provider.
--
Emilio F Panighetti
Dorial Management LLC
On Dec 20, 2004, at 2:38 AM, Greger V. Teigre wrote:
Have you looked at what you can do with aliases?
http://www.iptel.org/ser/doc/seruser/seruser.html#AEN852
There are also quite a number of posts lately with references to
rewriting of ruri, From, to etc (subst, subst_uri ...)
g-)
---- Original Message ----
From: Andrés Parra L.
To: serusers serusers
Sent: Thursday, December 16, 2004 10:30 PM
Subject: [Serusers] Gateway Numbers Translation
Dear sirs:
I almost have implemented the PSTN termination service in my Sip
Proxy
using a third-party Gateway provider in Miami,
but im having some
trouble translating the phone numbers in my sip Proxy to GW numbers
that the provider gave me for each user of my system that wanted to
have a PSTN Termination Service.
I was talking to the GW people and they told me that they don't know
if the Remote-Party-ID header field is supported by them.
I've been testing registering to my SIP Proxy with a GW number
(provided by the GW people) as username ("sip:gateway#@mydomain.com")
and succesfully called to anywhere i wanted.
But the real issue comes when i register with a username of my domain
("sip:username@mydomain.com") the GW send me to an IVR and ask me for
a pin number.
I´m sending the Remote-Party-ID with append_rpid_hf();
Also, the GW people told me that they check the From field of the SIP
Header for the GW numbers they gave me. If i´m interested in leave
alone my clients numeration (which i am!!) i should have to rewrite
the From Header Field which will cause interop problems.
Guys i need some help, i´m lost, so close and so far at the same
time.
Is there a way to translate the numbers of my
domain to the numbers
of
the gw provider?
Best Regards
Andrés Parra L
andresparra(a)ipsofactum.com
www.ipsofactum.com
Ipsofactum LTD.
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search. Learn
more.
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers