OK, I will try that soonest and let you know the outcome. Thanks a million for the support. Met Vriendelijke Groet, Regards, Rob Muller mailto:r.b.muller@xxxxxxxxx Phone: +31 (0)6 5343 5184 -----Original Message----- From: pjsip On Behalf Of Andreas Wehrmann Sent: Tuesday, July 28, 2020 07:36 To: pjsip@xxxxxxxxxxxxxxx Subject: Re: change (spoof) originator phone number in outgoing call using pjsip/pjsua On 27.07.20 19:08, Andreas Wehrmann wrote: > Am 27.07.2020 um 16:53 schrieb r.b.muller@xxxxxxxxx: >> >> @ Some Dick >> >> Thanks for taking the time to reply. >> >> If this is done at registration, I assume this is where the magic >> should happen, in the account configuration >> >> https://www.pjsip.org/pjsip/docs/html/structpjsua__acc__config.htm#a0 >> 8473de6401e966d23f34d3a9a05bdd0 >> <https://www.pjsip.org/pjsip/docs/html/structpjsua__acc__config.htm#a >> 08473de6401e966d23f34d3a9a05bdd0> >> >> >> I am unclear as what element of the account struct to set to the >> outgoing spoofed number. >> >> Can you guide me? >> >> Met Vriendelijke Groet, Regards, >> >> Rob Muller >> >> mailto:r.b.muller@xxxxxxxxx >> > I actually implemented setting a custom "From" user and display name > for pjsua_call_make_call(); however, I had to patch PJ for this. > Not sure right now if I've pushed this to my public repo, I'll check > tomorrow. > If not, I'll just post the changes here on the mailing list. > > Best regards, > > Andreas Okay, not in my repo. I modified pjsua_call_make_call() and the pjsua_call_setting struct in pjsua.h. See the attachement for my versions. All the best, Andreas _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org