Hi Matti, Depends on the destination point. If it is a GW, you may simple solve the problem by pushing the new identity in RPID or PAI header. If the destination is normal phone (with no RPID/PAI support), you need to change the FROM header using the UAC module (uac_replace_from function).
Regards, Bogdan Matti Zemack wrote: > > Hi all, > > I’m now looking at options to get away from using the phone no. as > identifier for the ATA devices. So that the customers may change phone > no without us reconfiguring their ATA device. > > For incoming calls (PSTN GW -> Asterisk -> Opensips) I suppose > “aliases” table and “alias_db.so” is used for this. Or is there some > other module I should look at? > > But, for outgoing calls, how is the easiest way of getting the correct > callerID in place. In the Subscriber table I saw a column named RPID? > Might this be the correct place. And from which module is it used? > Might I even ask for cfg snippets lying around? > > Any help is much appreciated. > > Regards, > > Matti Zemack, Stockholm, Sweden > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
