Pack callflow TB load test

  • c++ 调用存储过程时, 程序中设置超过30秒无操作会断掉重连

 

  • 为什么有 callleg 不释放的现象  ?

当concurrent call 过多,有时会收不到 B party ‘s callleg terminate 事件

  • 2800+ legs , 1300+  calls  , 达到这个峰值 TB 就会拒绝incoming leg

2018-7-2

  •  cdr event 的 duration <=0 是什么情况

2017-7-17

  • asterisk 那边设置 sip debug 模式的命令:  sip set debug on 

Jboss tutorial

  • Q&A
  1. what is J2EE    (Java 2 Platform, Enterprise Edition ) 

J2EE is a platform-independent, Java-centric environment from Sun for developing, building and deploying Web-based enterprise applications online. The J2EE platform consists of a set of services, APIs, and protocolsthat provide the functionality for developing multitiered, Web-based applications.

Some of the key features and services of J2EE:

  • At the client tier, J2EE supports pure HTML, as well as Java applets or applications. It relies on Java Server Pages and servletcode to create HTML or other formatted data for the client.
  • Enterprise JavaBeans (EJBs) provide another layer where the platform’s logic is stored. An EJB server provides functions such as threading, concurrency, security and memory management. These services are transparent to the author.
  • Java Database Connectivity (JDBC), which is the Java equivalent to ODBC, is the standard interface for Java databases.
  • The Java servlet API enhances consistency for developers without requiring a graphical user interface.

In simpler terms, J2EE is essentially a standard middleware architecture, proposed by Sun Microsystems for developing and deploying multitier, distributed, e-enabled, enterprise scale business applications. Applications written for J2EE standards enjoy certain inherent benefits such as portability, security, scalability, load-balancing, and reusability.

2)  How to install JBoss in eclipse 

download from this site :  http://jbossas.jboss.org/downloads 

in  eclipse , goto :  help —-> eclipse market ,  type “jboss” , select  “JBoss Tools 4.4.4.final” , and install it

after install , restart eclipse as require .

3) How to  build jboss server

 

 

 

 

 

English sentences

“they want you to be locked in to their
product cycles” 

From asterisk pdf


I have confidence that Kim Jong Un will honor the contract we signed &, even more importantly, our handshake. We agreed to the denuclearization of North Korea. China, on the other hand, may be exerting negative pressure on a deal because of our posture on Chinese Trade-Hope Not!

2018-7-9 trump

exert pressure : 施加压力

posture : 态度


18-7-9

Just talked with Pfizer  (辉瑞) CEO and on our drug pricing blueprint. Pfizer is rolling back price hikes, so American patients don’t pay more. We applaud Pfizer for this decision and hope other companies do the same. Great news for the American people!

roll back : 回滚

applaud : 欢呼


The European Union makes it impossible for our farmers and workers and companies to do business in Europe (U.S. has a $151 Billion trade deficit), and then they want us to happily defend them through NATO, and nicely pay for it. Just doesn’t work!

deficit : 赤字,逆差

NATO : 北约


A recent Emerson College ePoll said that most Americans, especially Hispanics, feel that they are better off under President Trump than they were under President Obama.


Many countries in NATO, which we are expected to defend, are not only short of their current commitment of 2% (which is low), but are also delinquent for many years in payments that have not been made. Will they reimburse the U.S.?

commitment: 承诺

reimburse : 补偿


I am on Air Force One (空军一号) flying to NATO and hear reports that the FBI lovers, Peter Strzok and Lisa Page are getting cold feet on testifying about the Rigged Witch Hunt headed by 13 Angry Democrats and people that worked for Obama for 8 years. Total disgrace!

get cold feet : 害怕做某事, 临阵畏缩

rig: 作弊

head by : 由于

Witch Hunt : 狩猎女巫, 引申为以莫须有的罪名进行政治迫害


On behalf of the United States, congratulations to the Thai Navy SEALs and all on the successful rescue of the 12 boys and their coach from the treacherous cave in Thailand. Such a beautiful moment – all freed, great job!

rescue : 救援


Bilateral Breakfast with NATO Secretary General in Brussels, Belgium…

Bilateral  : 双边的,双侧的

 


2018-7-12

Presidents have been trying unsuccessfully for years to get Germany and other rich NATO Nations to pay more toward their protection from Russia. They pay only a fraction of their cost. The U.S. pays tens of Billions of Dollars too much to subsidize Europe, and loses Big on Trade!

subsidy : 补贴 津贴。


2018-7-16

President Obama thought that Crooked Hillary was going to win the election, so when he was informed by the FBI about Russian Meddling, he said it couldn’t happen, was no big deal, & did NOTHING about it. When I won it became a big deal and the Rigged Witch Hunt headed by Strzok!

 

Crooked: 不诚实的

meddle : 干涉, 管闲事

no big deal : 没什么了不起

If asterisk have a log of “asterisk -rvvv” ? — configure of logger.conf

 

Above is a /etc/asterisk/logger.conf example ,

 

Red font part will record every in cli to  /var/log/asterisk/full 

asterisk cdr and max concurrent call

location is :  /var/log/asterisk/cdr-csv/Master.csv


 

能有多少 concurrent calls :

https://www.voip-info.org/asterisk-dimensioning/

 


 

Master.csv 的记录和实际一致吗?

concurrent calls = 280 ,  没有丢cdr的情况

 


 

怎么从 Master.csv 产生这样的报表 :

hour 1400 – generated x calls, with x duration
hour 1500 – Generated X calls with X duration

answer: group excel file by hourly : reference from this article :

https://www.excelcampus.com/charts/group-times-in-excel/

google key word : excel group by time period 

 

 


cdr 字段 in  Master.csv

Fields

  1. accountcode: What account number to use: account, (string, 20 characters)
  2. src: Caller*ID number (string, 80 characters)
  3. dst: Destination extension (string, 80 characters)
  4. dcontext: Destination context (string, 80 characters)
  5. clid: Caller*ID with text (80 characters)
  6. channel: Channel used (80 characters)
  7. dstchannel: Destination channel if appropriate (80 characters)
  8. lastapp: Last application if appropriate (80 characters)
  9. lastdata: Last application data (arguments) (80 characters)
  10. start: Start of call (date/time)
  11. answer: Answer of call (date/time)
  12. end: End of call (date/time)
  13. duration: Total time in system, in seconds (integer)
  14. billsec: Total time call is up, in seconds (integer)
  15. disposition: What happened to the call: ANSWERED, NO ANSWER, BUSY, FAILED
  16. amaflags: What flags to use: see amaflags::DOCUMENTATION, BILL, IGNORE etc, specified on a per channel basis like accountcode.

in cctb1 , add pack callflow to existing ree-idd callflow

  •  new add files :  DB_Pack.hpp , DB_Pack.cpp ,CVHPack.hpp, CVHPack.cpp

 

  • modify files :  CSimpleCall.hpp (用本地文件覆盖)

CSimpleCall.cpp  (需特别注意在 cctb1 ,

mCommParams.mun16TbxGwPort =12360;     本地是  mCommParams.mun16TbxGwPort = 12358; )

CSimpleCall其他代码用本地覆盖


DB.hpp +  DB.cpp 用本地代码覆盖

 


CVHCallFlow.cpp 的这句注释掉

 


outgoing call ‘s codec use g711 


  • 保持不变 :  CVHCCloud.hpp ,   CVHCCloud.cpp

 

  • TBConfig.txt 的修改