[Users] lookup function for From URI

Daniel-Constantin Mierla daniel at voice-system.ro
Tue Jan 3 19:42:06 CET 2006


You can load the alias value form any table in an AVP using avpops 
module. See:
http://voice-system.ro/docs/avpops/ar01s06.html#avp_db_load

The you can use uac_replace_from(display,uri) with pseudo-variables in 
parameters.

Cheers,
Daniel


On 01/03/06 10:27, unplug wrote:
> As I know, we can use lookup function for lookup an alias of an RURI. 
> It is for inbound call.  How about the outbound call?  Say, I have an
> account (881234) with an alias (24568849).  Someone can call the alias
> to reach the account (881234) by using lookup function.  How can I
> make outbound call such that the caller number will be replaced by the
> alias?  As I know we can use uac_replace_from(display,uri) to replace
> the from URI.  But I have no idea how to retrieve an alias from the
> >From URI.  Any clue?
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list