All pastes #19633 Raw Edit

H.323, CCM, Asterisk

public text v1 · immutable
#19633 ·published 2005-08-09 18:31 UTC
rendered paste body
In h323.conf:

[customer0001ext7700001]
type=user
context=dialplancustomer0001
disallow=all
allow=g729
allow=ulaw
incominglimit=1

[ccm1]
type=peer
context=dialplancustomer0001
ip=xxx.xxx.xxx.xxx
port=1720
outgoinglimit=4
e164=101



- On CLI:

sip*CLI> show channeltypes
Type        Description                    Devicestate  Indications  Transfer
----------  -----------                    -----------  -----------  --------
Phone       Standard Linux Telephony API D no           no           no
IAX2        Inter Asterisk eXchange Driver yes          yes          yes
Modem       Generic Voice Modem Channel Dr no           no           no
MGCP        Media Gateway Control Protocol no           yes          no
Zap         Zapata Telephony Driver w/PRI  no           yes          no
SCCP        Skinny Client Control Protocol no           yes          no
Local       Local Proxy Channel Driver     no           yes          no
Feature     Feature Proxy Channel Driver   no           yes          no
SIP         Session Initiation Protocol (S yes          yes          yes
Agent       Call Agent Proxy Channel       yes          yes          no
H323        H323 Channel Driver            no           yes          no

sip*CLI> h323 show peers
Name             Accountcode      ip:port                  Formats
ccm1             ast_h323         xxx.xxx.xxx.xxx:1720     0x107 (g723|gsm|ulaw|g729)

sip*CLI> h323 show users
Username         Accountcode      Context          Formats
customer0001ext  ast_h323         dialplancustome  0x104 (ulaw|g729)

After trying a call:
Aug  9 14:27:20 WARNING[5135]: pbx.c:2276 __ast_pbx_run: Channel 'H323/7700001-d123' sent into invalid extension 's' in context 'default', but no invalid handler
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is '"7700001" <7700001>'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is '7700001'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is '1954xxxxxxx'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is 'default'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is 'H323/7700001-d123'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is '(null)'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is '(null)'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is '(null)'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is '2005-08-09 14:27:20'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is '(null)'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is '2005-08-09 14:27:20'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is '0'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is '0'
Aug  9 14:27:20 DEBUG[5087]: channel.c:699 channel_find_locked: Avoiding initial deadlock for 'H323/7700001-d123'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is 'NO ANSWER'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is 'DOCUMENTATION'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is 'ast_h323'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is '1123612040.2'
Aug  9 14:27:20 DEBUG[5135]: pbx.c:1465 pbx_substitute_variables_helper_full: Function result is '(null)'
Aug  9 14:27:20 DEBUG[5135]: cdr_addon_mysql.c:179 mysql_log: cdr_mysql: inserting a CDR record.
Aug  9 14:27:20 DEBUG[5135]: cdr_addon_mysql.c:198 mysql_log: cdr_mysql: SQL command as follows:  INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES ('2005-08-09 14:27:20','\"7700001\" <7700001>','7700001','1954xxxxxxx','default', 'H323/7700001-d123','','','',0,0,'NO ANSWER',3,'ast_h323')

Posted by:
mago