FAQ

از ویکی پارس پویش
(تفاوت بین نسخه‌ها)
پرش به: ناوبری, جستجو
 
(۷ ویرایش میانی توسط یک کاربر نشان داده نشده‌است)
سطر ۱۵: سطر ۱۵:
 
</div>
 
</div>
  
<div dir=ltr lang=en>
 
  
<big>'''<big>Delayed call setup. dialparties.agi</big>'''</big>
 
  
 +
<div dir=ltr lang=en>
  
Delayed call setup. dialparties.agi
+
* <big>''''''call completion''''''</big>
 +
</div>
  
Postby ianplain » Tue Aug 16, 2011 3:24 pm
+
بعد از شماره گیری یک داخلی، اگر شماره مقصد اشغال باشد تماس گیرنده در صورت تمایل می تواند تماس را callback کند. یعنی به طور اتوماتیک بعد از آزاد شدن مقصد، تماس برقرار شود. به این ویژگی completion گفته می شود.
Hi
+
  
Not realy a question more of a pointer for anyone else having the problem.
+
Call Completion که به طورکلی مخفف Call Completion Supplementary Services (CCSS) می باشد به عنوان یک قابیلیت جدید درasterisk 1.8 معرفی شده است ودر آخرین توزیع freepbx به عنوان یک optionدر تعریف داخلی مورد استفاده قرار می گیرد.
  
We are at the moment setting up an elastix server for a customers call center and all was going well. except for one odd issue. That was a 10 second delay between dialing an extension and it starting to ring.
+
completion در بعضی از ipphoneمثل yealink به عنوان یک قابلیت و feature تعریف شده است و می توان آن را فعال کرد.
 +
اما شما نیز می توانید با dialplan نویسی این قابلیت را فعال کنید.
  
Code: Select all
 
    [Aug 16 21:50:04] VERBOSE[9117] pbx.c:    -- Executing [s@macro-dial:3] AGI("SIP/2001-00000000", "dialparties.agi") in new stack
 
    [Aug 16 21:50:04] VERBOSE[9117] res_agi.c:    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
 
    [Aug 16 21:50:14] VERBOSE[9117] res_agi.c:  dialparties.agi: Starting New Dialparties.agi
 
  
 +
<div dir=ltr lang=en>
  
 +
''' In this file /var/www/admin/modules/core/functions.inc.php add'''
 +
'''in line 262'''
 +
$output .= "cc_agent_policy=generic\n";
 +
$output .= "cc_monitor_policy=generic\n"
  
  
for the logs we see dialparties.agi kicking off then hanging for 10 seconds. CPU load doesn't go up so not a load issue.
+
'''Add this lines to extensions_custom.conf'''
on investigation and some googling it was found that php its self had an issue.
+
[phone_call]
 +
exten => s,1,CallCompletionRequest()
 +
exten => s,n,playback(beep)
 +
exten => s,n,Hangup()
  
Code: Select all
+
[phone_cancel]
    [root@dhcppc2 ~]# time php -v
+
exten => s,1,CallCompletionCancel()
    PHP 5.1.6 (cli) (built: Mar 31 2010 02:44:37)
+
exten => s,n,playback(beep)
    Copyright (c) 1997-2006 The PHP Group
+
exten => s,n,Hangup()
    Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
+
  
    real    0m10.02s
 
    user    0m0.012s
 
    sys    0m0.003s
 
  
 +
'''in web add two extention_custom for above context'''
  
 +
add two feature code with 'برنامه متفرقه'
  
heres our delay. :)
 
The server was on the test network and the server had a dns server address in resolv.conf of the default gateway, but that forwards to another gateway and another before getting out, changing resolv.conf to be the actual dns server fixed the issue.
 
  
Code: Select all
+
<div dir=ltr lang=en>
    [Aug 16 22:01:53] VERBOSE[9158] pbx.c:    -- Executing [s@macro-dial:3] AGI("SIP/2206-00000006", "dialparties.agi") in new stack
+
    [Aug 16 22:01:53] VERBOSE[9158] res_agi.c:    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
+
    [Aug 16 22:01:53] VERBOSE[9158] res_agi.c:  dialparties.agi: Starting New Dialparties.agi
+
 
+
 
+
 
+
Code: Select all
+
    [root@dhcppc2 ~]# time php -v
+
    PHP 5.1.6 (cli) (built: Mar 31 2010 02:44:37)
+
    Copyright (c) 1997-2006 The PHP Group
+
    Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
+
 
+
    real    0m0.035s
+
    user    0m0.012s
+
    sys    0m0.002s
+
  
 +
* '''<big>Delayed call setup. dialparties.agi</big>'''
  
 +
check dns server address in resolv.conf 
  
 +
http://forums.asterisk.org/viewtopic.php?f=34&t=79550
  
So if you are haing issues with slow call origination check your DNS settings.
+
</div>

نسخهٔ کنونی تا ‏۶ آوریل ۲۰۱۳، ساعت ۱۰:۴۲

  • 'Distinctive Ring on Yealink Phones'

A common query for people implementing IP based phone systems is how to have a phone ring differently for internal (from within the office) and external (from the PSTN) calls. To do this you'll need two things; a phones that supports this - here we're using Yealink phones, and a VoIP server that supports the "Alert-info" header - many do such as the popular open source solutions Asterisk and FreeSWITCH. Other than that it's all pretty straight forward.


Firstly we will configure the Yealink phone. To do this go to the "Phone" tab and then to the "Ring" page under that.

Once there add an entry into the first set of boxes. Under "Internal Ringer Text" choose a short descriptive name for the ring, I've called it "Internal" as I'm going to use it to change the ringer for internal calls. Under "Internal Ringer File" select the ring that you would like to use. That's it as far as the Yealink phone configuration goes.


Configuring the VoIP PBX differs depending on the SIP server you are using. For Asterisk you need to set a alertinfo to the extension or incoming rule configuration


  • 'call completion'

بعد از شماره گیری یک داخلی، اگر شماره مقصد اشغال باشد تماس گیرنده در صورت تمایل می تواند تماس را callback کند. یعنی به طور اتوماتیک بعد از آزاد شدن مقصد، تماس برقرار شود. به این ویژگی completion گفته می شود.

Call Completion که به طورکلی مخفف Call Completion Supplementary Services (CCSS) می باشد به عنوان یک قابیلیت جدید درasterisk 1.8 معرفی شده است ودر آخرین توزیع freepbx به عنوان یک optionدر تعریف داخلی مورد استفاده قرار می گیرد.

completion در بعضی از ipphoneمثل yealink به عنوان یک قابلیت و feature تعریف شده است و می توان آن را فعال کرد. اما شما نیز می توانید با dialplan نویسی این قابلیت را فعال کنید.


In this file /var/www/admin/modules/core/functions.inc.php add in line 262

$output .= "cc_agent_policy=generic\n";
$output .= "cc_monitor_policy=generic\n"


Add this lines to extensions_custom.conf

[phone_call]
exten => s,1,CallCompletionRequest()
exten => s,n,playback(beep)
exten => s,n,Hangup()
[phone_cancel]
exten => s,1,CallCompletionCancel()
exten => s,n,playback(beep)
exten => s,n,Hangup()


in web add two extention_custom for above context

add two feature code with 'برنامه متفرقه'


  • Delayed call setup. dialparties.agi
check dns server address in resolv.conf   
http://forums.asterisk.org/viewtopic.php?f=34&t=79550
ابزارهای شخصی

گویش‌ها
فضاهای نام
عملکردها
گشتن
جعبه‌ابزار