Re: PJSUA(+patch): Specify custom "From" user when making calls

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

 



Hi Andreas,

Thanks for the patch. Since we have moved to Github, you can submit a
pull request from there. It will make it easier for us to review.

Regards,
Ming

On Fri, Feb 21, 2020 at 6:52 PM Andreas Wehrmann <a.wehrmann@xxxxxxxxxx> wrote:
>
> Hey there,
>
> I needed the ability to specify the userpart of the "From" header when
> making calls.
> Since PJSUA automatically uses the associated account ID for that, it
> wasn't possible.
>
> I added a new field to pjsua_call_setting which allows the user to set a
> custom From user.
> When pjsua_call_make_call() is called, only the userpart from the
> account ID will be changed and used for the dialog.
>
> This is especially useful when you need to make calls on behalf of
> someone else and want to carry their number/identity along
> which is almost always the case when writing session border controllers
> or some kind of B2B gateways.
>
> I'm providing the patch here in case somebody else needs something like
> this.
>
> @Teluu:
> Is there a chance that this feature gets into upstream?
>
> Are there others reading here who might find this feature useful?
>
>
> Best Regards,
> Andreas Wehrmann
>
> _______________________________________________
> 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