Ganbold Tsagaankhuu
2005-Jul-31 18:59 UTC
[Asterisk-Users] Questions on Asterisk and CallerID
Hello, I have few questions about Asterisk. I installed Asterisk from CVS on FreeBSD and I made cvsup 2 days ago. 1.I couldn't find Asterisk version using "asterisk -V" command. How can I to find version information? 2.I am using Wildcard X101P (FXO) and Wildcard TDM400P REV E/F (FXS)on it. I tried Asterisk CallerID feature, but unable to get it. I tried callerid signaling V23, Bell202, DTMF, no success. Finally, I found in our country (Mongolia) PSTN/Cellular provider send FSK/ETSI type of CallerID. Is Asterisk support such type of CallerID signaling? If no, is there any way to get it? 3.I enjoyed Asterisk most of feature until now. I registered X-Pro softphone, SIP analog and analog phone connected to FXS port too. There one problem is I am unable to make outgoing call from SIP phone, softphone, analog phone through FXO port. Following is my Asterisk configuration: ------------------------------------------ zaptel.conf loadzone=us defaultzone=us fxsks=1 fxoks=2 zapata.conf context=bell signaling=fxs_ks group=1 channel => 1 context=home group=2 signalling=fxo_ks channel => 2 sip.conf [88888888] type=friend username=88888888 ;secret=1111 host=dynamic nat=yes defaultip=192.168.1.5 context=bell reinvite=no canreinvite=no callerid=88888888 mailbox=88888888@local allow=g729 allow=g723 allow=all [99999999] type=friend username=99999999 ;secret=1111 host=dynamic nat=yes defaultip=192.168.1.1 context=bell reinvite=no canreinvite=no callerid=99999999 mailbox=99999999@local allow=g729 allow=g723 extensions.conf [bell] exten => s,1,Wait exten => s,2,Answer exten => s,3,Playback(greetings) exten => s,4,WaitExten ; used to record prompts exten => 205,1,Wait(2) exten => 205,2,Record(/tmp/greetings:alaw) exten => 205,3,Wait(2) exten => 205,4,Playback(/tmp/greetings) exten => 205,5,Wait(2) exten => 205,6,Hangup exten => 111,1,Dial(CONSOLE/dsp) exten => 111,2,Hangup exten => 100,1,Answer exten => 100,2,MusicOnHold() exten => 100,4,Hangup exten => 200,1,VoicemailMain exten => 300,1,Dial(Zap/2) exten => 400,1,Voicemail(99999) exten => 800,1,MeetMe(100|Mp) exten => 800,2,Hangup exten => 601,1,WaitMusicOnHold(30) exten => 700,1,Dial(SIP/88888888,20,rt) exten => 900,1,Dial(SIP/99999999,20,rt) exten => _ZXXX,1,Answer exten => _ZXXX,2,Dial(Zap/g1/${EXTEN}) exten => _ZXXXX,1,Answer exten => _ZXXXX,2,Dial(Zap/g1/${EXTEN}) exten => _NXXXXX,1,Answer exten => _NXXXXX,2,Dial(Zap/g1/${EXTEN}) exten => _NXXXXXXX,1,Answer exten => _NXXXXXXX,2,Dial(Zap/g1/${EXTEN}) [home] exten => s,1,Playback(greetings) exten => 100,1,Answer exten => 100,2,MusicOnHold() exten => 100,4,Hangup exten => 111,1,Dial(CONSOLE/dsp) exten => 111,4,Hangup exten => 700,1,Dial(SIP/88888888,20,rt) exten => 900,1,Dial(SIP/99999999,20,rt) exten => _ZXXX,1,Answer exten => _ZXXX,2,Dial(Zap/g1/${EXTEN}) exten => _ZXXXX,1,Answer exten => _ZXXXX,2,Dial(Zap/g1/${EXTEN}) exten => _NXXXXX,1,Answer ;exten => _NXXXXX,2,SetVar(TIMEOUT(AbsoluteTimeout)=10) exten => _NXXXXX,3,Dial(Zap/g1/${EXTEN}) exten => _NXXXXXXX,1,Answer exten => _NXXXXXXX,2,Dial(Zap/g1/${EXTEN}) I can to see following in /var/log/messages when I make outgoing call. Jul 20 00:50:26 boldsoft kernel: Zapata Telephony Interface Registered on major 196 Jul 20 00:50:26 boldsoft kernel: ZapTel device: vendor=e159 device=1 subvendor=8085 Jul 20 00:50:26 boldsoft kernel: wcfxo0: <Wildcard X101P> port 0xe800-0xe8ff mem 0xfaffe000-0xfaffefff irq 18 at device 9.0 on pci2 Jul 20 00:50:26 boldsoft kernel: ZapTel Attach for wcfxo0: deviceID : 0xe159 Jul 20 00:50:26 boldsoft kernel: wcfxo: DAA mode is 'FCC' Jul 20 00:50:26 boldsoft kernel: Found a Wildcard FXO: Wildcard X101P Jul 20 00:50:26 boldsoft kernel: ZapTel device loaded. Jul 20 00:50:33 boldsoft kernel: FXS device: vendor=e159 device=1 subvendor=b100 Jul 20 00:50:33 boldsoft kernel: wcfxs0: <Wildcard TDM400P REV E/F> port 0xec00-0xecff mem 0xfafff000-0xfaffffff irq 17 at dev ice 8.0 on pci2 Jul 20 00:50:33 boldsoft kernel: FXS Attach for wcfxs0: deviceID : 0xe159 Jul 20 00:50:33 boldsoft kernel: Freshmaker version: 63 Jul 20 00:50:33 boldsoft kernel: Freshmaker passed register test Jul 20 00:50:35 boldsoft kernel: Module 0: Installed -- AUTO FXS Jul 20 00:50:35 boldsoft kernel: ProSLIC sanity check failed Jul 20 00:50:35 boldsoft kernel: Module 1: Not installed Jul 20 00:50:35 boldsoft kernel: ProSLIC sanity check failed Jul 20 00:50:35 boldsoft kernel: Module 2: Not installed Jul 20 00:50:35 boldsoft kernel: ProSLIC sanity check failed Jul 20 00:50:35 boldsoft kernel: Module 3: Not installed Jul 20 00:50:35 boldsoft kernel: Found a Wildcard TDM: Wildcard TDM400P REV E/F (4 modules) Jul 20 00:50:39 boldsoft kernel: Registered tone zone 0 (United States / North America) Jul 21 02:36:28 boldsoft kernel: DIAL: T345598w Jul 21 02:39:43 boldsoft kernel: DIAL: T345598w Jul 21 02:45:35 boldsoft kernel: DIAL: T345598w Jul 21 02:45:56 boldsoft kernel: DIAL: T99114909w Jul 21 02:47:09 boldsoft kernel: DIAL: T345598w Jul 21 02:47:56 boldsoft kernel: DIAL: T345595w Jul 21 02:48:16 boldsoft kernel: DIAL: T95158330w Jul 21 02:48:57 boldsoft kernel: DIAL: T95158330w Jul 21 02:49:20 boldsoft kernel: DIAL: T345598w Jul 21 02:49:43 boldsoft kernel: DIAL: T322473w Jul 21 02:50:02 boldsoft kernel: DIAL: T99114909w Jul 21 02:50:27 boldsoft kernel: DIAL: T99190040w Jul 21 02:50:48 boldsoft kernel: DIAL: T95158330w Jul 21 02:51:11 boldsoft kernel: DIAL: T91911187w Jul 21 02:54:01 boldsoft kernel: DIAL: T95158330w Jul 21 02:54:33 boldsoft kernel: DIAL: T345598w Jul 21 03:04:35 boldsoft kernel: DIAL: T345598w Jul 21 03:06:00 boldsoft kernel: DIAL: T99190040w Jul 21 03:06:24 boldsoft kernel: DIAL: T11345598w Jul 21 03:12:11 boldsoft kernel: DIAL: T1109w Jul 21 03:13:59 boldsoft kernel: DIAL: T18340w Jul 21 03:14:18 boldsoft kernel: DIAL: T18000w Jul 21 03:14:31 boldsoft kernel: DIAL: T18300w Jul 21 03:14:46 boldsoft kernel: DIAL: T345598w Jul 21 03:15:16 boldsoft kernel: DIAL: T99190040w Jul 21 03:15:46 boldsoft kernel: DIAL: T686000w Jul 21 03:16:09 boldsoft kernel: DIAL: T341341w Jul 21 03:16:39 boldsoft kernel: DIAL: T99114909w Jul 21 03:17:02 boldsoft kernel: DIAL: T345598w Jul 21 09:47:15 boldsoft kernel: DIAL: T345598w In Mongolia PSTN local number has 5-6 digits, Mobile number has 8 digits and special enquiry service with 3-4 digits. I can to hear BUSY TONE after several seconds. 4.There another problem with Wildcard TDM400P REV E/F FXS port. After ~30mins I can't to hear DIALTONE on analog phone connected to FXS port. and I got following in /var/log/messages Jul 21 01:35:39 boldsoft kernel: Power alarm on module 1, resetting! Jul 21 09:57:06 boldsoft kernel: Freed a Wildcard Jul 21 09:57:06 boldsoft kernel: ZapTel detach! Jul 21 09:57:06 boldsoft kernel: wcfxo0: detached Jul 21 09:57:13 boldsoft kernel: FXS device: vendor=e159 device=1 subvendor=8085 Jul 21 09:57:13 boldsoft kernel: wcfxs1: <Wildcard TDM400P REV H> port 0xe800-0xe8ff mem 0xfaffe000-0xfaffefff irq 18 at devic e 9.0 on pci2 Jul 21 09:57:13 boldsoft kernel: FXS Attach for wcfxs1: deviceID : 0xe159 Jul 21 09:57:13 boldsoft kernel: Freshmaker version: 85 Jul 21 09:57:13 boldsoft kernel: 00 != 85 Jul 21 09:57:13 boldsoft kernel: 01 != 85 Jul 21 09:57:13 boldsoft kernel: 02 != 85 Jul 21 09:57:13 boldsoft kernel: 03 != 85 Jul 21 09:57:13 boldsoft kernel: 04 != 85 Jul 21 09:57:13 boldsoft kernel: 05 != 85 Jul 21 09:57:13 boldsoft kernel: 06 != 85 Jul 21 09:57:13 boldsoft kernel: 07 != 85 Jul 21 09:57:13 boldsoft kernel: 08 != 85 Jul 21 09:57:13 boldsoft kernel: 09 != 85
Ganbold Tsagaankhuu
2005-Aug-01 18:38 UTC
[Asterisk-Users] [Asterisk-Dev] Questions on Asterisk and CallerID
Hello, I have few questions about Asterisk. I installed Asterisk from CVS on FreeBSD and I made cvsup 2 days ago. 1.I couldn't find Asterisk version using "asterisk -V" command. How can I to find version information? 2.I am using Wildcard X101P (FXO) and Wildcard TDM400P REV E/F (FXS)on it. I tried Asterisk CallerID feature, but unable to get it. I tried callerid signaling V23, Bell202, DTMF, no success. Finally, I found in our country (Mongolia) PSTN/Cellular provider send FSK/ETSI type of CallerID. Is Asterisk support such type of CallerID signaling? If no, is there any way to get it? 3.I enjoyed Asterisk most of feature until now. I registered X-Pro softphone, SIP analog and analog phone connected to FXS port too. There one problem is I am unable to make outgoing call from SIP phone, softphone, analog phone through FXO port. Following is my Asterisk configuration: ------------------------------------------ zaptel.conf loadzone=us defaultzone=us fxsks=1 fxoks=2 zapata.conf context=bell signaling=fxs_ks group=1 channel => 1 context=home group=2 signalling=fxo_ks channel => 2 sip.conf [88888888] type=friend username=88888888 ;secret=1111 host=dynamic nat=yes defaultip=192.168.1.5 context=bell reinvite=no canreinvite=no callerid=88888888 mailbox=88888888@local allow=g729 allow=g723 allow=all [99999999] type=friend username=99999999 ;secret=1111 host=dynamic nat=yes defaultip=192.168.1.1 context=bell reinvite=no canreinvite=no callerid=99999999 mailbox=99999999@local allow=g729 allow=g723 extensions.conf [bell] exten => s,1,Wait exten => s,2,Answer exten => s,3,Playback(greetings) exten => s,4,WaitExten ; used to record prompts exten => 205,1,Wait(2) exten => 205,2,Record(/tmp/greetings:alaw) exten => 205,3,Wait(2) exten => 205,4,Playback(/tmp/greetings) exten => 205,5,Wait(2) exten => 205,6,Hangup exten => 111,1,Dial(CONSOLE/dsp) exten => 111,2,Hangup exten => 100,1,Answer exten => 100,2,MusicOnHold() exten => 100,4,Hangup exten => 200,1,VoicemailMain exten => 300,1,Dial(Zap/2) exten => 400,1,Voicemail(99999) exten => 800,1,MeetMe(100|Mp) exten => 800,2,Hangup exten => 601,1,WaitMusicOnHold(30) exten => 700,1,Dial(SIP/88888888,20,rt) exten => 900,1,Dial(SIP/99999999,20,rt) exten => _ZXXX,1,Answer exten => _ZXXX,2,Dial(Zap/g1/${EXTEN}) exten => _ZXXXX,1,Answer exten => _ZXXXX,2,Dial(Zap/g1/${EXTEN}) exten => _NXXXXX,1,Answer exten => _NXXXXX,2,Dial(Zap/g1/${EXTEN}) exten => _NXXXXXXX,1,Answer exten => _NXXXXXXX,2,Dial(Zap/g1/${EXTEN}) [home] exten => s,1,Playback(greetings) exten => 100,1,Answer exten => 100,2,MusicOnHold() exten => 100,4,Hangup exten => 111,1,Dial(CONSOLE/dsp) exten => 111,4,Hangup exten => 700,1,Dial(SIP/88888888,20,rt) exten => 900,1,Dial(SIP/99999999,20,rt) exten => _ZXXX,1,Answer exten => _ZXXX,2,Dial(Zap/g1/${EXTEN}) exten => _ZXXXX,1,Answer exten => _ZXXXX,2,Dial(Zap/g1/${EXTEN}) exten => _NXXXXX,1,Answer ;exten => _NXXXXX,2,SetVar(TIMEOUT(AbsoluteTimeout)=10) exten => _NXXXXX,3,Dial(Zap/g1/${EXTEN}) exten => _NXXXXXXX,1,Answer exten => _NXXXXXXX,2,Dial(Zap/g1/${EXTEN}) I can to see following in /var/log/messages when I make outgoing call. Jul 20 00:50:26 boldsoft kernel: Zapata Telephony Interface Registered on major 196 Jul 20 00:50:26 boldsoft kernel: ZapTel device: vendor=e159 device=1 subvendor=8085 Jul 20 00:50:26 boldsoft kernel: wcfxo0: <Wildcard X101P> port 0xe800-0xe8ff mem 0xfaffe000-0xfaffefff irq 18 at device 9.0 on pci2 Jul 20 00:50:26 boldsoft kernel: ZapTel Attach for wcfxo0: deviceID : 0xe159 Jul 20 00:50:26 boldsoft kernel: wcfxo: DAA mode is 'FCC' Jul 20 00:50:26 boldsoft kernel: Found a Wildcard FXO: Wildcard X101P Jul 20 00:50:26 boldsoft kernel: ZapTel device loaded. Jul 20 00:50:33 boldsoft kernel: FXS device: vendor=e159 device=1 subvendor=b100 Jul 20 00:50:33 boldsoft kernel: wcfxs0: <Wildcard TDM400P REV E/F> port 0xec00-0xecff mem 0xfafff000-0xfaffffff irq 17 at dev ice 8.0 on pci2 Jul 20 00:50:33 boldsoft kernel: FXS Attach for wcfxs0: deviceID : 0xe159 Jul 20 00:50:33 boldsoft kernel: Freshmaker version: 63 Jul 20 00:50:33 boldsoft kernel: Freshmaker passed register test Jul 20 00:50:35 boldsoft kernel: Module 0: Installed -- AUTO FXS Jul 20 00:50:35 boldsoft kernel: ProSLIC sanity check failed Jul 20 00:50:35 boldsoft kernel: Module 1: Not installed Jul 20 00:50:35 boldsoft kernel: ProSLIC sanity check failed Jul 20 00:50:35 boldsoft kernel: Module 2: Not installed Jul 20 00:50:35 boldsoft kernel: ProSLIC sanity check failed Jul 20 00:50:35 boldsoft kernel: Module 3: Not installed Jul 20 00:50:35 boldsoft kernel: Found a Wildcard TDM: Wildcard TDM400P REV E/F (4 modules) Jul 20 00:50:39 boldsoft kernel: Registered tone zone 0 (United States / North America) Jul 21 02:36:28 boldsoft kernel: DIAL: T345598w Jul 21 02:39:43 boldsoft kernel: DIAL: T345598w Jul 21 02:45:35 boldsoft kernel: DIAL: T345598w Jul 21 02:45:56 boldsoft kernel: DIAL: T99114909w Jul 21 02:47:09 boldsoft kernel: DIAL: T345598w Jul 21 02:47:56 boldsoft kernel: DIAL: T345595w Jul 21 02:48:16 boldsoft kernel: DIAL: T95158330w Jul 21 02:48:57 boldsoft kernel: DIAL: T95158330w Jul 21 02:49:20 boldsoft kernel: DIAL: T345598w Jul 21 02:49:43 boldsoft kernel: DIAL: T322473w Jul 21 02:50:02 boldsoft kernel: DIAL: T99114909w Jul 21 02:50:27 boldsoft kernel: DIAL: T99190040w Jul 21 02:50:48 boldsoft kernel: DIAL: T95158330w Jul 21 02:51:11 boldsoft kernel: DIAL: T91911187w Jul 21 02:54:01 boldsoft kernel: DIAL: T95158330w Jul 21 02:54:33 boldsoft kernel: DIAL: T345598w Jul 21 03:04:35 boldsoft kernel: DIAL: T345598w Jul 21 03:06:00 boldsoft kernel: DIAL: T99190040w Jul 21 03:06:24 boldsoft kernel: DIAL: T11345598w Jul 21 03:12:11 boldsoft kernel: DIAL: T1109w Jul 21 03:13:59 boldsoft kernel: DIAL: T18340w Jul 21 03:14:18 boldsoft kernel: DIAL: T18000w Jul 21 03:14:31 boldsoft kernel: DIAL: T18300w Jul 21 03:14:46 boldsoft kernel: DIAL: T345598w Jul 21 03:15:16 boldsoft kernel: DIAL: T99190040w Jul 21 03:15:46 boldsoft kernel: DIAL: T686000w Jul 21 03:16:09 boldsoft kernel: DIAL: T341341w Jul 21 03:16:39 boldsoft kernel: DIAL: T99114909w Jul 21 03:17:02 boldsoft kernel: DIAL: T345598w Jul 21 09:47:15 boldsoft kernel: DIAL: T345598w In Mongolia PSTN local number has 5-6 digits, Mobile number has 8 digits and special enquiry service with 3-4 digits. I can to hear BUSY TONE after several seconds. 4.There another problem with Wildcard TDM400P REV E/F FXS port. After ~30mins I can't to hear DIALTONE on analog phone connected to FXS port. and I got following in /var/log/messages Jul 21 01:35:39 boldsoft kernel: Power alarm on module 1, resetting! Jul 21 09:57:06 boldsoft kernel: Freed a Wildcard Jul 21 09:57:06 boldsoft kernel: ZapTel detach! Jul 21 09:57:06 boldsoft kernel: wcfxo0: detached Jul 21 09:57:13 boldsoft kernel: FXS device: vendor=e159 device=1 subvendor=8085 Jul 21 09:57:13 boldsoft kernel: wcfxs1: <Wildcard TDM400P REV H> port 0xe800-0xe8ff mem 0xfaffe000-0xfaffefff irq 18 at devic e 9.0 on pci2 Jul 21 09:57:13 boldsoft kernel: FXS Attach for wcfxs1: deviceID : 0xe159 Jul 21 09:57:13 boldsoft kernel: Freshmaker version: 85 Jul 21 09:57:13 boldsoft kernel: 00 != 85 Jul 21 09:57:13 boldsoft kernel: 01 != 85 Jul 21 09:57:13 boldsoft kernel: 02 != 85 Jul 21 09:57:13 boldsoft kernel: 03 != 85 Jul 21 09:57:13 boldsoft kernel: 04 != 85 Jul 21 09:57:13 boldsoft kernel: 05 != 85 Jul 21 09:57:13 boldsoft kernel: 06 != 85 Jul 21 09:57:13 boldsoft kernel: 07 != 85 Jul 21 09:57:13 boldsoft kernel: 08 != 85 Jul 21 09:57:13 boldsoft kernel: 09 != 85 _______________________________________________ Asterisk-Dev mailing list Asterisk-Dev@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-dev To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev