Re: change (spoof) originator phone number in outgoing call using pjsip/pjsua

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You need to set it into header list before registration. And I made same as @ Andreas Wehrmann , just patched it.

пн, 27 июл. 2020 г. в 21:54, <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#a08473de6401e966d23f34d3a9a05bdd0

 

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

 

From: pjsip On Behalf Of
Sent: Sunday, July 26, 2020 17:12
To: pjsip list <pjsip@xxxxxxxxxxxxxxx>
Subject: Re: change (spoof) originator phone number in outgoing call using pjsip/pjsua

 

You need to set From header when you are registering an account. As far as I know there was no other methods to set From header (I tried it 2 years ago).

 

пт, 24 июл. 2020 г. в 22:07, <r.b.muller@xxxxxxxxx>:

L.S,

 

I have PJSIP/PJSUA running on a raspberry pi. That works ok, I can use my external sip provider to call out.

 

Since this will be part of a disabled person alarm system later, I want the caller number the call recipient sees not to be the

standard number provided by the sip provider, but an arbitrary number so I can program the receiving phone

to always ring on that number with a custom ring tone, irrespective of general setting on that phone. These are standard

functions on iOS and Android phones.

 

I hope that explanation makes sense.

 

The question is how to set the outgoing originator number in pjsua.

All instructions I found reference Asterix, and I do not want to run that.

 

Advice will be highly appreciated.

 

 

Met Vriendelijke Groet, Regards,

 

Rob Muller

mailto:r.b.muller@xxxxxxxxx

 

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux