Hi, I had it in the wrong place which is why it didn't change anything, and have worked it out using uac_replace_from.
Thanks for your assistance! 2011/4/1 Stanisław Pitucha <[email protected]> > On 1 April 2011 00:25, David Cunningham <[email protected]> wrote: > > Then I get "Done" logged, but no change in the output packet and Foo is > > still mentioned. Can anyone help? > > Are you sure you're doing it on the right packet, before you send it out, > etc.? > Also, to change "From" headers you should use the uac module and > > uac_replace_from("somebody", "sip:number@host"); > > Otherwise, you're in a world of pain to get all the rewriting correct > in both ways (answers, subsequent requests, detecting direction, etc.) > > -- > KTHXBYE, > > Stanisław Pitucha > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- David Cunningham, Voisonics http://voisonics.com/ US toll-free: +1 888 842 2720 UK: +44 (0) 20 3298 1642 Australia: +61 (0) 2 8063 9019
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
