Hi Atle,
Thanks for point me to the right way.
I have another question if I can replace the FROM URI based on Called URI?
for example:
From [EMAIL PROTECTED] call to [EMAIL PROTECTED]
I want to replace [EMAIL PROTECTED] with [EMAIL PROTECTED] in the INVITE , so that called user [EMAIL PROTECTED]
will see the calling party number is 8786219999.
another example:
From [EMAIL PROTECTED] call to [EMAIL PROTECTED]
I want to replace [EMAIL PROTECTED] with [EMAIL PROTECTED] in the INVITE
the uac_replace_from() can do it too?
Thanks for your time.
Steve
On 1/29/06, Atle Samuelsen <[EMAIL PROTECTED]> wrote:
Hi Steve,
check the UAC module :-)
I think ther eis a function there, uac_replace();
(pleace dont shoot me if I'm wrong)
-Atle
* Steve Xu <[EMAIL PROTECTED]> [060130 07:04]:
> Hi All,
>
> I found that PSTN GW usually put the "From: [EMAIL PROTECTED]" as ANI (caller
> ID) when it receive a SIP call. There is a function "rewritingURI" for
> called URI, I am wandering if there was a function can do rewriting on the
> the sorc "From" also.
>
> For example:
> user FROM:[EMAIL PROTECTED] make call to [EMAIL PROTECTED], can I rewrite the
> [EMAIL PROTECTED] to [EMAIL PROTECTED] when I send INVITE to [EMAIL PROTECTED] ?
>
> Any help will be appreciated.
>
> Steve
> _______________________________________________
> 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
