Advertisement
Guest User

Untitled

a guest
Jul 30th, 2014
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. iax.conf
  2. ####
  3. [general]
  4. jitterbuffer=no
  5. dropcount=1
  6. context=default
  7. port=4569
  8. bindaddr=192.168.188.1
  9. ;tos=lowdelay
  10. ;trunk=yes
  11. ;qualifysmoothing = yes
  12. ;qualify=3000
  13. ;autokill=yes
  14. context=default
  15.  
  16. [freetzANDpi]
  17. type=friend
  18. host=192.168.188.2
  19. secret=xxx
  20. notransfer=yes
  21. username=freetzANDpi
  22. permit=192.168.188.0/24
  23.  
  24. [softphone]
  25. type=friend
  26. host=192.168.188.3
  27. secret=xxx
  28. notransfer=yes
  29. username=softphone
  30. permit=192.168.188.0/24
  31. recalltoken=no
  32. ######
  33. ######
  34. extensions.conf
  35. ######
  36. [generel]
  37.  
  38. [default]
  39. exten => _0XXX.,1,Dial(IAX2/freetzANDpi/0${EXTEN:1})
  40. exten => _0XXX.,n,Hangup
  41. exten => 2000,1,Dial(IAX2/softphone/)
  42. exten => 2000,n,Hangup
  43. exten => 127001,1,Dial(CAPI/contr3/${EXTEN})
  44. exten => 127001,n,Hangup
  45. ~
  46. ##########
  47. ##########
  48. modules.conf
  49. ##########
  50. [modules]
  51.     autoload=no                ; set this to yes and Asterisk will load any
  52.                                ; modules it finds in /usr/lib/asterisk/modules
  53.  
  54.     load => pbx_config.so      ; Requires: N/A
  55.     load => chan_iax2.so       ; Requires: res_crypto.so, res_features.so
  56.     load => chan_sip.so        ; Requires: res_features.so
  57.     load => codec_alaw.so      ; Requires: N/A
  58.     load => codec_gsm.so       ; Requires: N/A
  59.     load => codec_ulaw.so      ; Requires: N/A
  60.     load => format_gsm.so      ; Requires: N/A
  61.     load => app_dial.so        ; Requires: res_features.so, res_musiconhold.so
  62.     load => chan_capi.so
  63. ~
  64. ##########
  65. ########## via call from isdn with chan capi to iax softphone (yate). The phone rings twice...
  66. tail -f /var/log/asterisk/verbose
  67. [Jan  1 05:27:22] VERBOSE[3262] chan_iax2.c:    CALLING NAME    :
  68. [Jan  1 05:27:22] VERBOSE[3262] chan_iax2.c:    LANGUAGE        : en
  69. [Jan  1 05:27:22] VERBOSE[3262] chan_iax2.c:    USERNAME        : softphone
  70. [Jan  1 05:27:22] VERBOSE[3262] chan_iax2.c:    FORMAT          : 8
  71. [Jan  1 05:27:22] VERBOSE[3262] chan_iax2.c:    FORMAT2         : alaw
  72. [Jan  1 05:27:22] VERBOSE[3262] chan_iax2.c:    CAPABILITY      : 65535
  73. [Jan  1 05:27:22] VERBOSE[3262] chan_iax2.c:    CAPABILITY2     : Unknown
  74. [Jan  1 05:27:22] VERBOSE[3262] chan_iax2.c:    ADSICPE         : 0
  75. [Jan  1 05:27:22] VERBOSE[3262] chan_iax2.c:    DATE TIME       : 2098-01-01  05:27:00
  76. [Jan  1 05:27:22] VERBOSE[3262] chan_iax2.c:
  77. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c: Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW    
  78. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    Timestamp: 00017ms  SCall: 00128  DCall: 00000 [192.168.188.3:4569]
  79. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    VERSION         : 2
  80. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    CALLED NUMBER   :
  81. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    CODEC_PREFS     : ()
  82. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    CALLING NUMBER  : 127001
  83. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    CALLING PRESNTN : 0
  84. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    CALLING TYPEOFN : 0
  85. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    CALLING TRANSIT : 0
  86. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    CALLING NAME    :
  87. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    LANGUAGE        : en
  88. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    USERNAME        : softphone
  89. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    FORMAT          : 8
  90. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    FORMAT2         : alaw
  91. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    CAPABILITY      : 65535
  92. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    CAPABILITY2     : Unknown
  93. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    ADSICPE         : 0
  94. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:    DATE TIME       : 2098-01-01  05:35:18
  95. [Jan  1 05:35:19] VERBOSE[3254] chan_iax2.c:
  96. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c: Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW    
  97. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    Timestamp: 00017ms  SCall: 00128  DCall: 00000 [192.168.188.3:4569]
  98. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    VERSION         : 2
  99. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    CALLED NUMBER   :
  100. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    CODEC_PREFS     : ()
  101. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    CALLING NUMBER  : 127001
  102. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    CALLING PRESNTN : 0
  103. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    CALLING TYPEOFN : 0
  104. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    CALLING TRANSIT : 0
  105. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    CALLING NAME    :
  106. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    LANGUAGE        : en
  107. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    USERNAME        : softphone
  108. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    FORMAT          : 8
  109. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    FORMAT2         : alaw
  110. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    CAPABILITY      : 65535
  111. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    CAPABILITY2     : Unknown
  112. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    ADSICPE         : 0
  113. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:    DATE TIME       : 2098-01-01  05:35:18
  114. [Jan  1 05:35:21] VERBOSE[3265] chan_iax2.c:
  115. [Jan  1 05:35:25] VERBOSE[3254] chan_iax2.c: Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 000 Type: IAX     Subclass: HANGUP
  116. [Jan  1 05:35:25] VERBOSE[3254] chan_iax2.c:    Timestamp: 05607ms  SCall: 00128  DCall: 00000 [192.168.188.3:4569]
  117. [Jan  1 05:35:25] VERBOSE[3254] chan_iax2.c:    CAUSE CODE      : 0
  118. [Jan  1 05:35:25] VERBOSE[3254] chan_iax2.c:
  119. [Jan  1 05:35:27] VERBOSE[3256] chan_iax2.c: Tx-Frame Retry[001] -- OSeqno: 001 ISeqno: 000 Type: IAX     Subclass: HANGUP
  120. [Jan  1 05:35:27] VERBOSE[3256] chan_iax2.c:    Timestamp: 05607ms  SCall: 00128  DCall: 00000 [192.168.188.3:4569]
  121. [Jan  1 05:35:27] VERBOSE[3256] chan_iax2.c:    CAUSE CODE      : 0
  122. [Jan  1 05:35:27] VERBOSE[3256] chan_iax2.c:
  123. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c: Tx-Frame Retry[002] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW    
  124. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    Timestamp: 00017ms  SCall: 00128  DCall: 00000 [192.168.188.3:4569]
  125. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    VERSION         : 2
  126. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    CALLED NUMBER   :
  127. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    CODEC_PREFS     : ()
  128. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    CALLING NUMBER  : 127001
  129. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    CALLING PRESNTN : 0
  130. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    CALLING TYPEOFN : 0
  131. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    CALLING TRANSIT : 0
  132. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    CALLING NAME    :
  133. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    LANGUAGE        : en
  134. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    USERNAME        : softphone
  135. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    FORMAT          : 8
  136. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    FORMAT2         : alaw
  137. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    CAPABILITY      : 65535
  138. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    CAPABILITY2     : Unknown
  139. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    ADSICPE         : 0
  140. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:    DATE TIME       : 2098-01-01  05:35:18
  141. [Jan  1 05:35:31] VERBOSE[3257] chan_iax2.c:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement