[asterisk-dev] [Code Review] 4073: res_pjsip: Add 'user_eq_phone' option for placing 'user=phone' parameter in request URI if user is number.

Joshua Colp reviewboard at asterisk.org
Mon Oct 13 11:54:16 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4073/
-----------------------------------------------------------

Review request for Asterisk Developers.


Repository: Asterisk


Description
-------

This change adds a 'user_eq_phone' option to endpoints which, if set, will add a 'user=phone' parameter to the request URI if the user is determined to be a number.


Diffs
-----

  /trunk/res/res_pjsip/pjsip_configuration.c 425395 
  /trunk/res/res_pjsip.c 425395 
  /trunk/include/asterisk/res_pjsip.h 425395 

Diff: https://reviewboard.asterisk.org/r/4073/diff/


Testing
-------

Sent outgoing calls with various users (numbers, number+letters, letters) and confirmed that user=phone was set when it should be.


Thanks,

Joshua Colp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141013/e014721e/attachment.html>


More information about the asterisk-dev mailing list