Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iax.conf
- ####
- [general]
- jitterbuffer=no
- dropcount=1
- context=default
- port=4569
- bindaddr=192.168.188.1
- ;tos=lowdelay
- ;trunk=yes
- ;qualifysmoothing = yes
- ;qualify=3000
- ;autokill=yes
- context=default
- [freetzANDpi]
- type=friend
- host=192.168.188.2
- secret=xxx
- notransfer=yes
- username=freetzANDpi
- permit=192.168.188.0/24
- [softphone]
- type=friend
- host=192.168.188.3
- secret=xxx
- notransfer=yes
- username=softphone
- permit=192.168.188.0/24
- recalltoken=no
- ######
- ######
- extensions.conf
- ######
- [generel]
- [default]
- exten => _0XXX.,1,Dial(IAX2/freetzANDpi/0${EXTEN:1})
- exten => _0XXX.,n,Hangup
- exten => 2000,1,Dial(IAX2/softphone/)
- exten => 2000,n,Hangup
- exten => 127001,1,Dial(CAPI/contr3/${EXTEN})
- exten => 127001,n,Hangup
- ~
- ##########
- ##########
- modules.conf
- ##########
- [modules]
- autoload=no ; set this to yes and Asterisk will load any
- ; modules it finds in /usr/lib/asterisk/modules
- load => pbx_config.so ; Requires: N/A
- load => chan_iax2.so ; Requires: res_crypto.so, res_features.so
- load => chan_sip.so ; Requires: res_features.so
- load => codec_alaw.so ; Requires: N/A
- load => codec_gsm.so ; Requires: N/A
- load => codec_ulaw.so ; Requires: N/A
- load => format_gsm.so ; Requires: N/A
- load => app_dial.so ; Requires: res_features.so, res_musiconhold.so
- load => chan_capi.so
- ~
- ##########
- ########## via call from isdn with chan capi to iax softphone (yate). The phone rings twice...
- tail -f /var/log/asterisk/verbose
- [Jan 1 05:27:22] VERBOSE[3262] chan_iax2.c: CALLING NAME :
- [Jan 1 05:27:22] VERBOSE[3262] chan_iax2.c: LANGUAGE : en
- [Jan 1 05:27:22] VERBOSE[3262] chan_iax2.c: USERNAME : softphone
- [Jan 1 05:27:22] VERBOSE[3262] chan_iax2.c: FORMAT : 8
- [Jan 1 05:27:22] VERBOSE[3262] chan_iax2.c: FORMAT2 : alaw
- [Jan 1 05:27:22] VERBOSE[3262] chan_iax2.c: CAPABILITY : 65535
- [Jan 1 05:27:22] VERBOSE[3262] chan_iax2.c: CAPABILITY2 : Unknown
- [Jan 1 05:27:22] VERBOSE[3262] chan_iax2.c: ADSICPE : 0
- [Jan 1 05:27:22] VERBOSE[3262] chan_iax2.c: DATE TIME : 2098-01-01 05:27:00
- [Jan 1 05:27:22] VERBOSE[3262] chan_iax2.c:
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: Timestamp: 00017ms SCall: 00128 DCall: 00000 [192.168.188.3:4569]
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: VERSION : 2
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: CALLED NUMBER :
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: CODEC_PREFS : ()
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: CALLING NUMBER : 127001
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: CALLING PRESNTN : 0
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: CALLING TYPEOFN : 0
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: CALLING TRANSIT : 0
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: CALLING NAME :
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: LANGUAGE : en
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: USERNAME : softphone
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: FORMAT : 8
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: FORMAT2 : alaw
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: CAPABILITY : 65535
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: CAPABILITY2 : Unknown
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: ADSICPE : 0
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c: DATE TIME : 2098-01-01 05:35:18
- [Jan 1 05:35:19] VERBOSE[3254] chan_iax2.c:
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: Timestamp: 00017ms SCall: 00128 DCall: 00000 [192.168.188.3:4569]
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: VERSION : 2
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: CALLED NUMBER :
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: CODEC_PREFS : ()
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: CALLING NUMBER : 127001
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: CALLING PRESNTN : 0
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: CALLING TYPEOFN : 0
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: CALLING TRANSIT : 0
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: CALLING NAME :
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: LANGUAGE : en
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: USERNAME : softphone
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: FORMAT : 8
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: FORMAT2 : alaw
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: CAPABILITY : 65535
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: CAPABILITY2 : Unknown
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: ADSICPE : 0
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c: DATE TIME : 2098-01-01 05:35:18
- [Jan 1 05:35:21] VERBOSE[3265] chan_iax2.c:
- [Jan 1 05:35:25] VERBOSE[3254] chan_iax2.c: Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 000 Type: IAX Subclass: HANGUP
- [Jan 1 05:35:25] VERBOSE[3254] chan_iax2.c: Timestamp: 05607ms SCall: 00128 DCall: 00000 [192.168.188.3:4569]
- [Jan 1 05:35:25] VERBOSE[3254] chan_iax2.c: CAUSE CODE : 0
- [Jan 1 05:35:25] VERBOSE[3254] chan_iax2.c:
- [Jan 1 05:35:27] VERBOSE[3256] chan_iax2.c: Tx-Frame Retry[001] -- OSeqno: 001 ISeqno: 000 Type: IAX Subclass: HANGUP
- [Jan 1 05:35:27] VERBOSE[3256] chan_iax2.c: Timestamp: 05607ms SCall: 00128 DCall: 00000 [192.168.188.3:4569]
- [Jan 1 05:35:27] VERBOSE[3256] chan_iax2.c: CAUSE CODE : 0
- [Jan 1 05:35:27] VERBOSE[3256] chan_iax2.c:
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: Tx-Frame Retry[002] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: Timestamp: 00017ms SCall: 00128 DCall: 00000 [192.168.188.3:4569]
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: VERSION : 2
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: CALLED NUMBER :
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: CODEC_PREFS : ()
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: CALLING NUMBER : 127001
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: CALLING PRESNTN : 0
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: CALLING TYPEOFN : 0
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: CALLING TRANSIT : 0
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: CALLING NAME :
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: LANGUAGE : en
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: USERNAME : softphone
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: FORMAT : 8
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: FORMAT2 : alaw
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: CAPABILITY : 65535
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: CAPABILITY2 : Unknown
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: ADSICPE : 0
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c: DATE TIME : 2098-01-01 05:35:18
- [Jan 1 05:35:31] VERBOSE[3257] chan_iax2.c:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement