Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Активация CLIR chan_dongle #32

Closed
GoogleCodeExporter opened this issue Jul 11, 2015 · 5 comments
Closed

Активация CLIR chan_dongle #32

GoogleCodeExporter opened this issue Jul 11, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

При настройке CLIR chan_dongle-1.1.r10, в секции 
модема параметры (usecallingpres=yes 
callingpres=allowed_passed_screen) номер А передается. 

До этого использовался chan_datacard r189, при 
идентичных настройках, А номер не 
транслировался. 

Заранее благодарен!

Original issue reported on code.google.com by a.chali...@gmail.com on 22 Aug 2011 at 3:00

@GoogleCodeExporter
Copy link
Author

usecallingpres=yes 

mean use 
callingpres settings (if >= 0)
or (if callingpres < 0 (defaults))
use channel settings 

allowed_passed_screen mean
(see ref 
http://www.the-asterisk-book.com/unstable/applikationen-setcallerpres.html)

"Presentation Allowed, Passed Screen"

Thats wrong?


Original comment by bg_...@mail.ru on 23 Aug 2011 at 3:57

@GoogleCodeExporter
Copy link
Author

Huawei allow (see Calling Line Identification Restriction: AT+CLIR)
[0] Presentation indicator is used according to the subscription of the CLIR 
service
1 CLIR invocation
2 CLIR suppression

value 1 of CLIR  becomes
                case AST_PRES_PROHIB_NETWORK_NUMBER:
                case AST_PRES_PROHIB_USER_NUMBER_FAILED_SCREEN:
                case AST_PRES_PROHIB_USER_NUMBER_NOT_SCREENED:
                case AST_PRES_PROHIB_USER_NUMBER_PASSED_SCREEN:
value 2 of CLIR becomes
                case AST_PRES_ALLOWED_NETWORK_NUMBER:
                case AST_PRES_ALLOWED_USER_NUMBER_FAILED_SCREEN:
                case AST_PRES_ALLOWED_USER_NUMBER_NOT_SCREENED:
                case AST_PRES_ALLOWED_USER_NUMBER_PASSED_SCREEN:
                case AST_PRES_NUMBER_NOT_AVAILABLE:


Full list of Astrisk 1.6 names are 

        {  AST_PRES_ALLOWED_USER_NUMBER_NOT_SCREENED, "allowed_not_screened", "Presentation Allowed, Not Screened"},
        {  AST_PRES_ALLOWED_USER_NUMBER_PASSED_SCREEN, "allowed_passed_screen", "Presentation Allowed, Passed Screen"},
        {  AST_PRES_ALLOWED_USER_NUMBER_FAILED_SCREEN, "allowed_failed_screen", "Presentation Allowed, Failed Screen"},
        {  AST_PRES_ALLOWED_NETWORK_NUMBER, "allowed", "Presentation Allowed, Network Number"},
        {  AST_PRES_PROHIB_USER_NUMBER_NOT_SCREENED, "prohib_not_screened", "Presentation Prohibited, Not Screened"},
        {  AST_PRES_PROHIB_USER_NUMBER_PASSED_SCREEN, "prohib_passed_screen", "Presentation Prohibited, Passed Screen"},
        {  AST_PRES_PROHIB_USER_NUMBER_FAILED_SCREEN, "prohib_failed_screen", "Presentation Prohibited, Failed Screen"},
        {  AST_PRES_PROHIB_NETWORK_NUMBER, "prohib", "Presentation Prohibited, Network Number"},
        {  AST_PRES_NUMBER_NOT_AVAILABLE, "unavailable", "Number Unavailable"},

Original comment by bg_...@mail.ru on 23 Aug 2011 at 4:08

@GoogleCodeExporter
Copy link
Author

use prohib_passed_screen 
or 
prohib_not_screened

Original comment by bg_...@mail.ru on 23 Aug 2011 at 4:10

@GoogleCodeExporter
Copy link
Author

сори, не обратил внимание на описание 
callingpres,а именно описание! 
выставил callingpres=prohib_not_screened и то что хотел 
получил!

Спасибо.

Original comment by a.chali...@gmail.com on 23 Aug 2011 at 4:25

@GoogleCodeExporter
Copy link
Author

Closed 

Original comment by bg_...@mail.ru on 24 Aug 2011 at 7:07

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant