diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 3452b77f6801dddc4491cbe4ffca5010a1025f92..61ea9ba7ab7c4538081537635d70c1f9ff3e3f63 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -267,6 +267,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; User config options: Peer configuration: ; -------------------- ------------------- ; context context +; callingpres callingpres ; permit permit ; deny deny ; secret secret @@ -365,6 +366,8 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ;allow=g723.1 ; Asterisk only supports g723.1 pass-thru! ;allow=g729 ; Pass-thru only unless g729 license obtained ;astdb=chan2ext/SIP/grandstream1=1234 ; ensures an astDB entry exists +;callingpres=allowed_passed_screen ; Set caller ID presentation + ; See README.callingpres for more information ;[xlite1] diff --git a/configs/zapata.conf.sample b/configs/zapata.conf.sample index ac797bf3e2888ab3f7af3e3f47dd3a1a5a721207..1fc0179db54c1f9e70cd29bd21325b858e7f42cc 100644 --- a/configs/zapata.conf.sample +++ b/configs/zapata.conf.sample @@ -250,6 +250,7 @@ callwaiting=yes ; ; Whether or not use the caller ID presentation for the outgoing call that the ; calling switch is sending. +; See README.callingpres ; usecallingpres=yes ; diff --git a/doc/README.callingpres b/doc/README.callingpres new file mode 100644 index 0000000000000000000000000000000000000000..0fa1ff469151dfd00057fd79f8243ee3b680cb70 --- /dev/null +++ b/doc/README.callingpres @@ -0,0 +1,18 @@ +Caller ID presentation values +----------------------------- + +In some channels it is possible to set Caller ID presentation for a device. It is +also possible to set the presentation for an active channel in the dial plan +with the setcallerpres() application. + +Valid values are: + + allowed_not_screened : Presentation Allowed, Not Screened + allowed_passed_screen : Presentation Allowed, Passed Screen + allowed_failed_screen : Presentation Allowed, Failed Screen + allowed : Presentation Allowed, Network Number + prohib_not_screened : Presentation Prohibited, Not Screened + prohib_passed_screen : Presentation Prohibited, Passed Screen + prohib_failed_screen : Presentation Prohibited, Failed Screen + prohib : Presentation Prohibited, Network Number + unavailable : Number Unavailable