Asterisk with answering machine connected


#1

Hi guy’s
My asterisk box with TDM11B Digium card is connected to my analog phone with a built in answering machine, I want my answering machine gets the meassages instead of the regular voicemail of asterisk, but when a call comes in and the answering machine answers the call, asterisk hangup as soon as the promt to leave a message is heard.
call ->answering machine(pls leave a message…beep sound->asterisk hangup.
any idea… guy’s please help
Thanks


#2

Does anyone experience this situation, any suggestion?


#3

Don’t use answer, just use dial, asterisk will continue to let the phone ring unless you answer the line, it should not touch bother your voicemail.


#4

Thanks for your reply, but I think you missed understood me, this is the situation…when i dial the extension that was connected to my digium fxs and analog phone with answering machine. when the answering machine answers the call and gives its beep sound signalling to start your messages, as soon as the beep is heard, asterisk hangup the calll. I hope I described it really clear, any I ideas?
Thanks


#5

your asterisk might be detecting a FAX when it hears the beep, try to comment the fax recognition,

(its somewhere in some config file).

/Z


#6

the fax detect in zapata.conf is already commented, cannot find any config about fax. thanks anyway for your reply zoa.


#7

Debug the channel and post the results otherwise everybody will be taking shots in the dark as to what is happening. I have to ask, why use an answering machine when you have comedian mail?


#8

Can you please tell me the command to debug a channel, I have to use answering machine because its easier to play messages when your in a hurry, you dont need to punch some numbers before you can hear your messages. thanks for your reply, appreciate it.


#9

Depends on what channel you want to debug but it would look something like this

debug channel Zap/1


#10

[quote=“zmanea”]Depends on what channel you want to debug but it would look something like this

debug channel Zap/1[/quote]
I tried it but does not work? here’s the output
*CLI> debug channel Zap/1
No such channel Zap/1


#11

On second thought that may be a little hard to do since the channel has to be active for that command to work.

Run “asterisk -vvvvvvdr”, replicate the problem, and post the output.


#12

[quote=“zmanea”]On second thought that may be a little hard to do since the channel has to be active for that command to work.

Run “asterisk -vvvvvvdr”, replicate the problem, and post the output.[/quote]
Here’s what I get after that command.
[root@jpumapbx ~]# asterisk -vvvvvvdr
Parsing /etc/asterisk/asterisk.conf
Parsing /etc/asterisk/extconfig.conf
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
[root@jpumapbx ~]#


#13

Remove the r switch and replace it with c if Asterisk is not already running.


#14

zmanea, here’s what i get after this command asterisk -vvvvvvdc

[app_while.so] => (While Loops and Conditional Execution)
== Registered application ‘While’
== Registered application ‘ExecIf’
== Registered application ‘EndWhile’
[app_chanisavail.so] => (Check if channel is available)
== Registered application ‘ChanIsAvail’
[app_sayunixtime.so] => (Say time)
== Registered application ‘SayUnixTime’
== Registered application ‘DateTime’
[app_dial.so] => (Dialing Application)
== Registered application ‘Dial’
== Registered application ‘RetryDial’
[app_disa.so] => (DISA (Direct Inward System Access) Application)
== Registered application ‘DISA’
[app_zapras.so] => (Zap RAS Application)
== Registered application ‘ZapRAS’
[app_echo.so] => (Simple Echo Application)
== Registered application ‘Echo’
[app_cdr.so] => (Make sure asterisk doesn’t save CDR for a certain call)
== Registered application ‘NoCDR’
[app_talkdetect.so] => (Playback with Talk Detection)
== Registered application ‘BackgroundDetect’
[format_pcm_alaw.so] => (Raw aLaw 8khz PCM Audio support)
== Registered file format alaw, extension(s) alaw|al
[codec_ulaw.so] => (Mu-law Coder/Decoder)
– codec_ulaw: using generic PLC
== Registered translator ‘ulawtolin’ from format ulaw to slin, cost 1
== Registered translator ‘lintoulaw’ from format slin to ulaw, cost 1
[format_wav_gsm.so] => (Microsoft WAV format (Proprietary GSM))
== Registered file format wav49, extension(s) WAV|wav49
[app_setcidname.so] => (Set CallerID Name)
== Registered application ‘SetCIDName’
[app_privacy.so] => (Require phone number to be entered, if no CallerID sent)
== Registered application ‘PrivacyManager’
[app_hasnewvoicemail.so] => (Indicator for whether a voice mailbox has messages in a given folder.
== Registered application ‘HasVoicemail’
== Registered application ‘HasNewVoicemail’
[app_ices.so] => (Encode and Stream via icecast and ices)
== Registered application ‘ICES’
[app_queue.so] => (True Call Queueing)
== Registered application ‘Queue’
== Manager registered action Queues
== Manager registered action QueueStatus
== Manager registered action QueueAdd
== Manager registered action QueueRemove
== Manager registered action QueuePause
== Registered application ‘AddQueueMember’
== Registered application ‘RemoveQueueMember’
== Registered application ‘PauseQueueMember’
== Registered application ‘UnpauseQueueMember’
[app_readfile.so] => (Stores output of file into a variable)
== Registered application ‘ReadFile’
[codec_lpc10.so] => (LPC10 2.4kbps (signed linear) Voice Coder)
– codec_lpc10: using generic PLC
== Registered translator ‘lpc10tolin’ from format lpc10 to slin, cost 3
== Registered translator ‘lintolpc10’ from format slin to lpc10, cost 4
[app_realtime.so] => (Realtime Data Lookup/Rewrite)
== Registered application ‘RealTimeUpdate’
== Registered application ‘RealTime’
[app_read.so] => (Read Variable Application)
== Registered application ‘Read’
[app_substring.so] => ((Deprecated) Save substring digits in a given variable)
== Registered application ‘SubString’
[skipping chan_alsa.so]
[app_test.so] => (Interface Test Application)
== Registered application ‘TestClient’
== Registered application ‘TestServer’
[codec_a_mu.so] => (A-law and Mulaw direct Coder/Decoder)
== Registered translator ‘alawtoulaw’ from format alaw to ulaw, cost 1
== Registered translator ‘ulawtoalaw’ from format ulaw to alaw, cost 1
[format_g726.so] => (Raw G.726 (16/24/32/40kbps) data)
== Registered file format g726-40, extension(s) g726-40
== Registered file format g726-32, extension(s) g726-32
== Registered file format g726-24, extension(s) g726-24
== Registered file format g726-16, extension(s) g726-16
[app_userevent.so] => (Custom User Event Application)
== Registered application ‘UserEvent’
[format_pcm.so] => (Raw uLaw 8khz Audio support (PCM))
== Registered file format pcm, extension(s) pcm|ulaw|ul|mu
[cdr_csv.so] => (Comma Separated Values CDR Backend)
[app_voicemail.so] => (Comedian Mail (Voicemail System))
== Registered application ‘VoiceMail’
== Registered application ‘VoiceMailMain’
== Registered application ‘MailboxExists’
== Registered application ‘VMAuthenticate’
[app_image.so] => (Image Transmission Application)
== Registered application ‘SendImage’
[format_g729.so] => (Raw G729 data)
== Registered file format g729, extension(s) g729
[app_zapbarge.so] => (Barge in on Zap channel application)
== Registered application ‘ZapBarge’
[app_striplsd.so] => (Strip trailing digits)
== Registered application ‘StripLSD’
[app_milliwatt.so] => (Digital Milliwatt (mu-law) Test Application)
== Registered application ‘Milliwatt’
[app_chanspy.so] => (Tap into any type of asterisk channel and listen to audio)
== Registered application ‘ChanSpy’
[codec_alaw.so] => (A-law Coder/Decoder)
– codec_alaw: using generic PLC
== Registered translator ‘alawtolin’ from format alaw to slin, cost 1
== Registered translator ‘lintoalaw’ from format slin to alaw, cost 1
[app_parkandannounce.so] => (Call Parking and Announce Application)
== Registered application ‘ParkAndAnnounce’
[codec_g726.so] => (ITU G.726-32kbps G726 Transcoder)
– codec_g726: using generic PLC
== Registered translator ‘g726tolin’ from format g726 to slin, cost 2
== Registered translator ‘lintog726’ from format slin to g726, cost 2
[app_sms.so] => (SMS/PSTN handler)
== Registered application ‘SMS’
[format_wav.so] => (Microsoft WAV format (8000hz Signed Linear))
== Registered file format wav, extension(s) wav
[format_g723.so] => (G.723.1 Simple Timestamp File Format)
== Registered file format g723sf, extension(s) g723|g723sf
[app_softhangup.so] => (Hangs up the requested channel)
== Registered application ‘SoftHangup’
[app_math.so] => (Basic Math Functions)
== Registered application ‘Math’
[app_cut.so] => (Cuts up variables)
Registered custom function FIELDQTY
== Registered application ‘Cut’
[format_jpeg.so] => (JPEG (Joint Picture Experts Group) Image Format)
== Registered format ‘jpg’ (JPEG (Joint Picture Experts Group))
[app_url.so] => (Send URL Applications)
== Registered application ‘SendURL’
[app_forkcdr.so] => (Fork The CDR into 2 separate entities.)
== Registered application ‘ForkCDR’
[app_zapateller.so] => (Block Telemarketers with Special Information Tone)
== Registered application ‘Zapateller’
[codec_speex.so] => (Speex/PCM16 (signed linear) Codec Translator)
– CODEC SPEEX: Setting Quality to 3
– CODEC SPEEX: Setting Complexity to 4
– CODEC SPEEX: Perceptual Enhancement Mode. [on]
– CODEC SPEEX: VAD Mode. [off]
– CODEC SPEEX: VBR Mode. [off]
– CODEC SPEEX: Disabling ABR
– CODEC SPEEX: Setting VBR Quality to 5
– CODEC SPEEX: DTX Mode. [off]
== Registered translator ‘speextolin’ from format speex to slin, cost 3
== Registered translator ‘lintospeex’ from format slin to speex, cost 49
[app_md5.so] => (MD5 checksum applications)
== Registered application ‘MD5Check’
== Registered application ‘MD5’
[format_gsm.so] => (Raw GSM data)
== Registered file format gsm, extension(s) gsm
[app_zapscan.so] => (Scan Zap channels application)
== Registered application ‘ZapScan’
[app_alarmreceiver.so] => (Alarm Receiver for Asterisk)
== Registered application ‘AlarmReceiver’
[app_getcpeid.so] => (Get ADSI CPE ID)
== Registered application ‘GetCPEID’
[codec_gsm.so] => (GSM/PCM16 (signed linear) Codec Translator)
– codec_gsm: using generic PLC
== Registered translator ‘gsmtolin’ from format gsm to slin, cost 1
== Registered translator ‘lintogsm’ from format slin to gsm, cost 3
[app_record.so] => (Trivial Record Application)
== Registered application ‘Record’
[app_system.so] => (Generic System() application)
== Registered application ‘TrySystem’
== Registered application ‘System’
[app_controlplayback.so] => (Control Playback Application)
== Registered application ‘ControlPlayback’
[app_transfer.so] => (Transfer)
== Registered application ‘Transfer’
[app_enumlookup.so] => (ENUM Lookup)
== Registered application ‘EnumLookup’
[app_random.so] => (Random goto)
== Registered application ‘Random’
[app_setcdruserfield.so] => (CDR user field apps)
== Registered application ‘SetCDRUserField’
== Registered application ‘AppendCDRUserField’
== Manager registered action SetCDRUserField
[app_flash.so] => (Flash zap trunk application)
== Registered application ‘Flash’
[app_verbose.so] => (Send verbose output)
== Registered application ‘Verbose’
[app_exec.so] => (Executes applications)
== Registered application ‘Exec’
[app_eval.so] => (Reevaluates strings)
== Registered application ‘Eval’
[app_curl.so] => (Load external URL)
== Registered application ‘Curl’
[codec_adpcm.so] => (Adaptive Differential PCM Coder/Decoder)
– codec_adpcm: using generic PLC
== Registered translator ‘adpcmtolin’ from format adpcm to slin, cost 1
== Registered translator ‘lintoadpcm’ from format slin to adpcm, cost 1
[app_sendtext.so] => (Send Text Applications)
== Registered application ‘SendText’
[app_authenticate.so] => (Authentication Application)
== Registered application ‘Authenticate’
[app_adsiprog.so] => (Asterisk ADSI Programming Application)
== Registered application ‘ADSIProg’
[format_ilbc.so] => (Raw iLBC data)
== Registered file format iLBC, extension(s) ilbc
[app_dumpchan.so] => (Dump Info About The Calling Channel)
== Registered application ‘DumpChan’
[app_txtcidname.so] => (TXTCIDName)
== Registered application ‘TXTCIDName’
[cdr_odbc.so] => (ODBC CDR Backend)
[app_nbscat.so] => (Silly NBS Stream Application)
== Registered application ‘NBScat’
[app_groupcount.so] => (Group Management Routines)
== Registered application ‘GetGroupCount’
== Registered application ‘SetGroup’
== Registered application ‘CheckGroup’
== Registered application ‘GetGroupMatchCount’
[app_lookupblacklist.so] => (Look up Caller*ID name/number from blacklist datab ase)
== Registered application ‘LookupBlacklist’
[cdr_manager.so] => (Asterisk Call Manager CDR Backend)
[codec_ilbc.so] => (iLBC/PCM16 (signed linear) Codec Translator)
== Registered translator ‘ilbctolin’ from format ilbc to slin, cost 3
== Registered translator ‘lintoilbc’ from format slin to ilbc, cost 19
[format_vox.so] => (Dialogic VOX (ADPCM) File Format)
== Registered file format vox, extension(s) vox
[app_db.so] => (Database access functions for Asterisk extension logic)
== Registered application ‘DBget’
== Registered application ‘DBput’
== Registered application ‘DBdel’
== Registered application ‘DBdeltree’
== Manager registered action DBGet
== Manager registered action DBPut
Asterisk Ready.
*CLI>


#15

We are getting closer. You posted the startup of Asterisk. What we really need to see is what the console shows when you make a call and it goes to the answering machine.


#16

[quote=“zmanea”]
We are getting closer. You posted the startup of Asterisk. What we really need to see is what the console shows when you make a call and it goes to the answering machine.[/quote]
zmanea, not at home right now and i cannot make the test call beacuse it is disconnected to my asterisk, i’ll post it tomorrow :smiley: :smile:
Thanks for replying


#17

zmanea,
here’s what show’s on the console when i start asterisk with commands… asterisk -vvvvvvdc and calling the phone connected to fxs of digium card.
== Registered application ‘ResetCDR’
[ResponseTimeout]
== Registered application ‘ResponseTimeout’
[Ringing]
== Registered application ‘Ringing’
[SayNumber]
== Registered application ‘SayNumber’
[SayDigits]
== Registered application ‘SayDigits’
[SayAlpha]
== Registered application ‘SayAlpha’
[SayPhonetic]
== Registered application ‘SayPhonetic’
[SetAccount]
== Registered application ‘SetAccount’
[SetAMAFlags]
== Registered application ‘SetAMAFlags’
[SetGlobalVar]
== Registered application ‘SetGlobalVar’
[SetLanguage]
== Registered application ‘SetLanguage’
[SetVar]
== Registered application ‘SetVar’
[ImportVar]
== Registered application ‘ImportVar’
[StripMSD]
== Registered application ‘StripMSD’
[Suffix]
== Registered application ‘Suffix’
[Wait]
== Registered application ‘Wait’
[WaitExten]
== Registered application 'WaitExten’
Asterisk Dynamic Loader Starting:
[chan_modem.so] => (Generic Voice Modem Driver)
== Loading modem driver chan_modem_aopen.so => (A/Open (Rockwell Chipset) ITU-2 VoiceModem Driver)
== Registered channel type ‘Modem’ (Generic Voice Modem Channel Driver)
[res_musiconhold.so] => (Music On Hold Resource)
== Registered application ‘MusicOnHold’
== Registered application ‘WaitMusicOnHold’
== Registered application ‘SetMusicOnHold’
== Registered application ‘StartMusicOnHold’
== Registered application ‘StopMusicOnHold’
[res_monitor.so] => (Call Monitoring Resource)
== Registered application ‘Monitor’
== Registered application ‘StopMonitor’
== Registered application ‘ChangeMonitor’
== Manager registered action Monitor
== Manager registered action StopMonitor
== Manager registered action ChangeMonitor
[res_adsi.so] => (ADSI Resource)
[res_crypto.so] => (Cryptographic Digital Signatures)
– Loaded PUBLIC key 'iaxtel’
Junk at the beginning 49443303
Warning, flexibel rate not heavily tested!
– Loaded PUBLIC key ‘freeworlddialup’
[res_agi.so] => (Asterisk Gateway Interface (AGI))
== Registered application ‘DeadAGI’
== Registered application ‘EAGI’
== Registered application ‘AGI’
[res_odbc.so] => (ODBC Resource)
Apr 25 13:18:36 NOTICE[10247]: res_odbc.c:210 load_odbc_config: registered database handle ‘asterisk’ dsn->[asterisk]
Apr 25 13:18:36 NOTICE[10247]: res_odbc.c:468 odbc_obj_connect: Connecting asterisk
Apr 25 13:18:36 WARNING[10247]: res_odbc.c:479 odbc_obj_connect: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified
Apr 25 13:18:36 NOTICE[10247]: res_odbc.c:513 load_module: res_odbc loaded.
[res_indications.so] => (Indications Configuration)
– Registered indication country ‘cl’
– Registered indication country ‘tw’
– Registered indication country ‘us’
– Registered indication country ‘au’
– Registered indication country ‘fr’
– Registered indication country ‘de’
– Registered indication country ‘nl’
– Registered indication country ‘uk’
– Registered indication country ‘fi’
– Registered indication country ‘no’
– Registered indication country ‘br’
– Registered indication country ‘za’
– Registered indication country ‘it’
– Registered indication country ‘us-o’
– Registered indication country ‘gr’
– Registered indication country ‘ru’
– Registered indication country ‘nz’
– Registered indication country ‘sg’
– Registered indication country ‘hu’
– Registered indication country ‘lt’
– Registered indication country ‘pl’
– Registered indication country ‘pt’
– Registered indication country ‘ee’
– Registered indication country ‘mx’
– Setting default indication country to ‘us’
== Registered application ‘Playtones’
== Registered application ‘StopPlaytones’
[res_features.so] => (Call Parking Resource)
== Registered application ‘ParkedCall’
== Registered application ‘Park’
== Manager registered action ParkedCalls
[res_config_odbc.so] => (ODBC Configuration)
Apr 25 13:18:37 NOTICE[10247]: config.c:847 ast_config_engine_register: Registered Config Engine odbc
res_config_odbc loaded.
[chan_modem_i4l.so] => (ISDN4Linux Emulated Modem Driver)
[chan_features.so] => (Feature Proxy Channel)
== Registered channel type ‘Feature’ (Feature Proxy Channel Driver)
[chan_local.so] => (Local Proxy Channel)
== Registered channel type ‘Local’ (Local Proxy Channel Driver)
[skipping chan_alsa.so]
[chan_phone.so] => (Linux Telephony API Support)
== Registered channel type ‘Phone’ (Standard Linux Telephony API Driver)
[chan_skinny.so] => (Skinny Client Control Protocol (Skinny))
Apr 25 13:18:37 WARNING[10247]: chan_skinny.c:2905 reload_config: Unable to get our IP address, Skinny disabled
== Registered channel type ‘Skinny’ (Skinny Client Control Protocol (Skinny))
[chan_mgcp.so] => (Media Gateway Control Protocol (MGCP))
== MGCP Listening on 0.0.0.0:2727
== Using TOS bits 0
== Registered channel type ‘MGCP’ (Media Gateway Control Protocol (MGCP))
[chan_zap.so] => (Zapata Telephony w/PRI)
– Registered channel 1, FXO Kewlstart signalling
– Registered channel 4, FXS Kewlstart signalling
– Automatically generated pseudo channel
== Registered channel type ‘Zap’ (Zapata Telephony Driver w/PRI)
== Manager registered action ZapTransfer
== Manager registered action ZapHangup
== Manager registered action ZapDialOffhook
== Manager registered action ZapDNDon
== Manager registered action ZapDNDoff
== Manager registered action ZapShowChannels
[chan_oss.so] => (OSS Console Channel Driver)
== Console is full duplex
== Registered channel type ‘Console’ (OSS Console Channel Driver)
[chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
Apr 25 13:18:37 WARNING[10247]: chan_oss.c:269 sound_thread: Read error on sound device: Resource temporarily unavailable
== Registered application ‘IAX2Provision’
== Manager registered action IAXpeers
– doing lookup for ‘216.207.245.47’
== Registered channel type ‘IAX2’ (Inter Asterisk eXchange Driver (Ver 2))
== Using TOS bits 16
== Binding IAX2 to default address 0.0.0.0:4569
== IAX Ready and Listening
== Loaded firmware ‘iaxy.bin’
– Loaded provisioning template ‘default’
[chan_modem_bestdata.so] => (BestData (Conexant V.90 Chipset) VoiceModem Driver)
[chan_sip.so] => (Session Initiation Protocol (SIP))
– SIP Seeding peers from Astdb: ‘123456’ at 123456@192.168.1.1:1054 for 3600
– SIP Seeding peers from Astdb: ‘400111’ at 400111@210.5.87.119:61367 for 3600
– SIP Seeding peers from Astdb: ‘246246’ at 246246@192.168.1.1:1055 for 3600
– SIP Seeding peers from Astdb: ‘222222’ at 222222@192.168.1.1:1053 for 3600
– SIP Seeding peers from Astdb: ‘341993’ at 341993@210.5.87.119:61369 for 3600
== SIP Listening on 0.0.0.0:5062
== Using TOS bits 0
== Registered channel type ‘SIP’ (Session Initiation Protocol (SIP))
== Registered application ‘SIPDtmfMode’
== Registered application ‘SIPAddHeader’
== Registered application ‘SIPGetHeader’
== Manager registered action SIPpeers
== Manager registered action SIPshowpeer
[chan_agent.so] => (Agent Proxy Channel)
== Registered channel type ‘Agent’ (Call Agent Proxy Channel)
== Registered application ‘AgentLogin’
== Registered application ‘AgentCallbackLogin’
== Registered application ‘AgentMonitorOutgoing’
== Manager registered action Agents
[pbx_dundi.so] => (Distributed Universal Number Discovery (DUNDi))
== Using TOS bits 0
== DUNDi Ready and Listening on 0.0.0.0 port 4520
== Registered application ‘DUNDiLookup’
[pbx_spool.so] => (Outgoing Spool Support)
[pbx_loopback.so] => (Loopback Switch)
[pbx_realtime.so] => (Realtime Switch)
[pbx_config.so] => (Text Extension Configuration)
– Setting global variable ‘CONSOLE’ to ‘Console/dsp’
– Setting global variable ‘IAXINFO’ to ‘guest’
– Setting global variable ‘TRUNK’ to ‘Zap/g2’
– Setting global variable ‘TRUNKMSD’ to ‘1’
– Setting global variable ‘FWDTRUNK’ to ‘fwd.pulver.com
– Setting global variable ‘MYASTERISK’ to ‘67.86.24.248:5062’
– Setting global variable ‘JIPUMA’ to ‘sip.broadvoice.com
– Setting global variable ‘NEO’ to ‘packet8.net
– Setting global variable ‘EPSTEIN’ to ‘68.198.112.143’
– Setting global variable ‘VOIPUS’ to ‘voipfone.us
– Including context ‘longdistance’ in context ‘international’
– Including context ‘trunkint’ in context ‘international’
– Including context ‘local’ in context ‘longdistance’
– Including context ‘trunkld’ in context ‘longdistance’
– Including context ‘default’ in context ‘local’
– Including context ‘parkedcalls’ in context ‘local’
– Including context ‘trunklocal’ in context ‘local’
– Including context ‘iaxtel700’ in context ‘local’
– Including context ‘trunktollfree’ in context ‘local’
– Including context ‘iaxprovider’ in context ‘local’
– Including context ‘demo’ in context ‘default’
– Including context ‘incoming’ in context ‘allcalls’
– Including context ‘default’ in context ‘allcalls’
[app_waitforring.so] => (Waits until first ring after time)
== Registered application ‘WaitForRing’
[app_setrdnis.so] => (Set RDNIS Number)
== Registered application ‘SetRDNIS’
[app_lookupcidname.so] => (Look up CallerID Name from local database)
== Registered application ‘LookupCIDName’
[app_meetme.so] => (MeetMe conference bridge)
== Registered application ‘MeetMeAdmin’
== Registered application ‘MeetMeCount’
== Registered application ‘MeetMe’
[app_mp3.so] => (Silly MP3 Application)
== Registered application ‘MP3Player’
[app_setcallerid.so] => (Set CallerID Application)
== Registered application ‘SetCallerPres’
== Registered application ‘SetCallerID’
[app_waitforsilence.so] => (Wait For Silence)
== Registered application ‘WaitForSilence’
[app_settransfercapability.so] => ( SetTransferCapability(transfercapability): Set the ISDN Transfer
Cap)
== Registered application ‘SetTransferCapability’
[app_setcidnum.so] => (Set CallerID Number)
== Registered application ‘SetCIDNum’
[app_directory.so] => (Extension Directory)
== Registered application ‘Directory’
[app_senddtmf.so] => (Send DTMF digits Application)
== Registered application ‘SendDTMF’
[cdr_custom.so] => (Customizable Comma Separated Values CDR Backend)
[cdr_pgsql.so] => (PostgreSQL CDR Backend)
[format_sln.so] => (Raw Signed Linear Audio support (SLN))
== Registered file format sln, extension(s) sln|raw
[app_macro.so] => (Extension Macros)
== Registered application ‘MacroExit’
== Registered application ‘MacroIf’
== Registered application ‘Macro’
[app_festival.so] => (Simple Festival Interface)
== Registered application ‘Festival’
[format_h263.so] => (Raw h263 data)
== Registered file format h263, extension(s) h263
[skipping app_intercom.so]
[app_playback.so] => (Sound File Playback Application)
== Registered application ‘Playback’
[app_while.so] => (While Loops and Conditional Execution)
== Registered application ‘While’
== Registered application ‘ExecIf’
== Registered application ‘EndWhile’
[app_chanisavail.so] => (Check if channel is available)
== Registered application ‘ChanIsAvail’
[app_sayunixtime.so] => (Say time)
== Registered application ‘SayUnixTime’
== Registered application ‘DateTime’
[app_dial.so] => (Dialing Application)
== Registered application ‘Dial’
== Registered application ‘RetryDial’
[app_disa.so] => (DISA (Direct Inward System Access) Application)
== Registered application ‘DISA’
[app_zapras.so] => (Zap RAS Application)
== Registered application ‘ZapRAS’
[app_echo.so] => (Simple Echo Application)
== Registered application ‘Echo’
[app_cdr.so] => (Make sure asterisk doesn’t save CDR for a certain call)
== Registered application ‘NoCDR’
[app_talkdetect.so] => (Playback with Talk Detection)
== Registered application ‘BackgroundDetect’
[format_pcm_alaw.so] => (Raw aLaw 8khz PCM Audio support)
== Registered file format alaw, extension(s) alaw|al
[codec_ulaw.so] => (Mu-law Coder/Decoder)
– codec_ulaw: using generic PLC
== Registered translator ‘ulawtolin’ from format ulaw to slin, cost 1
== Registered translator ‘lintoulaw’ from format slin to ulaw, cost 1
[format_wav_gsm.so] => (Microsoft WAV format (Proprietary GSM))
== Registered file format wav49, extension(s) WAV|wav49
[app_setcidname.so] => (Set CallerID Name)
== Registered application ‘SetCIDName’
[app_privacy.so] => (Require phone number to be entered, if no CallerID sent)
== Registered application ‘PrivacyManager’
[app_hasnewvoicemail.so] => (Indicator for whether a voice mailbox has messages in a given folder.e[)
== Registered application ‘HasVoicemail’
== Registered application ‘HasNewVoicemail’
[app_ices.so] => (Encode and Stream via icecast and ices)
== Registered application ‘ICES’
[app_queue.so] => (True Call Queueing)
== Registered application ‘Queue’
== Manager registered action Queues
== Manager registered action QueueStatus
== Manager registered action QueueAdd
== Manager registered action QueueRemove
== Manager registered action QueuePause
== Registered application ‘AddQueueMember’
== Registered application ‘RemoveQueueMember’
== Registered application ‘PauseQueueMember’
== Registered application ‘UnpauseQueueMember’
[app_readfile.so] => (Stores output of file into a variable)
== Registered application ‘ReadFile’
[codec_lpc10.so] => (LPC10 2.4kbps (signed linear) Voice Coder)
– codec_lpc10: using generic PLC
== Registered translator ‘lpc10tolin’ from format lpc10 to slin, cost 6
== Registered translator ‘lintolpc10’ from format slin to lpc10, cost 8
[app_realtime.so] => (Realtime Data Lookup/Rewrite)
== Registered application ‘RealTimeUpdate’
== Registered application ‘RealTime’
[app_read.so] => (Read Variable Application)
== Registered application ‘Read’
[app_substring.so] => ((Deprecated) Save substring digits in a given variable)
== Registered application ‘SubString’
[skipping chan_alsa.so]
[app_test.so] => (Interface Test Application)
== Registered application ‘TestClient’
== Registered application ‘TestServer’
[codec_a_mu.so] => (A-law and Mulaw direct Coder/Decoder)
== Registered translator ‘alawtoulaw’ from format alaw to ulaw, cost 1
== Registered translator ‘ulawtoalaw’ from format ulaw to alaw, cost 1
[format_g726.so] => (Raw G.726 (16/24/32/40kbps) data)
== Registered file format g726-40, extension(s) g726-40
== Registered file format g726-32, extension(s) g726-32
== Registered file format g726-24, extension(s) g726-24
== Registered file format g726-16, extension(s) g726-16
[app_userevent.so] => (Custom User Event Application)
== Registered application ‘UserEvent’
[format_pcm.so] => (Raw uLaw 8khz Audio support (PCM))
== Registered file format pcm, extension(s) pcm|ulaw|ul|mu
[cdr_csv.so] => (Comma Separated Values CDR Backend)
[app_voicemail.so] => (Comedian Mail (Voicemail System))
== Registered application ‘VoiceMail’
== Registered application ‘VoiceMailMain’
== Registered application ‘MailboxExists’
== Registered application ‘VMAuthenticate’
[app_image.so] => (Image Transmission Application)
== Registered application ‘SendImage’
[format_g729.so] => (Raw G729 data)
== Registered file format g729, extension(s) g729
[app_zapbarge.so] => (Barge in on Zap channel application)
== Registered application ‘ZapBarge’
[app_striplsd.so] => (Strip trailing digits)
== Registered application ‘StripLSD’
[app_milliwatt.so] => (Digital Milliwatt (mu-law) Test Application)
== Registered application ‘Milliwatt’
[app_chanspy.so] => (Tap into any type of asterisk channel and listen to audio) == Registered application ‘ChanSpy’
[codec_alaw.so] => (A-law Coder/Decoder)
– codec_alaw: using generic PLC
== Registered translator ‘alawtolin’ from format alaw to slin, cost 1
== Registered translator ‘lintoalaw’ from format slin to alaw, cost 1
[app_parkandannounce.so] => (Call Parking and Announce Application)
== Registered application ‘ParkAndAnnounce’
[codec_g726.so] => (ITU G.726-32kbps G726 Transcoder)
– codec_g726: using generic PLC
== Registered translator ‘g726tolin’ from format g726 to slin, cost 2
== Registered translator ‘lintog726’ from format slin to g726, cost 2
[app_sms.so] => (SMS/PSTN handler)
== Registered application ‘SMS’
[format_wav.so] => (Microsoft WAV format (8000hz Signed Linear))
== Registered file format wav, extension(s) wav
[format_g723.so] => (G.723.1 Simple Timestamp File Format)
== Registered file format g723sf, extension(s) g723|g723sf
[app_softhangup.so] => (Hangs up the requested channel)
== Registered application ‘SoftHangup’
[app_math.so] => (Basic Math Functions)
== Registered application ‘Math’
[app_cut.so] => (Cuts up variables)
Registered custom function FIELDQTY
== Registered application ‘Cut’
[format_jpeg.so] => (JPEG (Joint Picture Experts Group) Image Format)
== Registered format ‘jpg’ (JPEG (Joint Picture Experts Group))
[app_url.so] => (Send URL Applications)
== Registered application ‘SendURL’
[app_forkcdr.so] => (Fork The CDR into 2 separate entities.)
== Registered application ‘ForkCDR’
[app_zapateller.so] => (Block Telemarketers with Special Information Tone)
== Registered application ‘Zapateller’
[codec_speex.so] => (Speex/PCM16 (signed linear) Codec Translator)
– CODEC SPEEX: Setting Quality to 3
– CODEC SPEEX: Setting Complexity to 4
– CODEC SPEEX: Perceptual Enhancement Mode. [on]
– CODEC SPEEX: VAD Mode. [off]
– CODEC SPEEX: VBR Mode. [off]
– CODEC SPEEX: Disabling ABR
– CODEC SPEEX: Setting VBR Quality to 5
– CODEC SPEEX: DTX Mode. [off]
== Registered translator ‘speextolin’ from format speex to slin, cost 3
== Registered translator ‘lintospeex’ from format slin to speex, cost 52
[app_md5.so] => (MD5 checksum applications)
== Registered application ‘MD5Check’
== Registered application ‘MD5’
[format_gsm.so] => (Raw GSM data)
== Registered file format gsm, extension(s) gsm
[app_zapscan.so] => (Scan Zap channels application)
== Registered application ‘ZapScan’
[app_alarmreceiver.so] => (Alarm Receiver for Asterisk)
== Registered application ‘AlarmReceiver’
[app_getcpeid.so] => (Get ADSI CPE ID)
== Registered application ‘GetCPEID’
[codec_gsm.so] => (GSM/PCM16 (signed linear) Codec Translator)
– codec_gsm: using generic PLC
== Registered translator ‘gsmtolin’ from format gsm to slin, cost 1
== Registered translator ‘lintogsm’ from format slin to gsm, cost 3
[app_record.so] => (Trivial Record Application)
== Registered application ‘Record’
[app_system.so] => (Generic System() application)
== Registered application ‘TrySystem’
== Registered application ‘System’
[app_controlplayback.so] => (Control Playback Application)
== Registered application ‘ControlPlayback’
[app_transfer.so] => (Transfer)
== Registered application ‘Transfer’
[app_enumlookup.so] => (ENUM Lookup)
== Registered application ‘EnumLookup’
[app_random.so] => (Random goto)
== Registered application ‘Random’
[app_setcdruserfield.so] => (CDR user field apps)
== Registered application ‘SetCDRUserField’
== Registered application ‘AppendCDRUserField’
== Manager registered action SetCDRUserField
[app_flash.so] => (Flash zap trunk application)
== Registered application ‘Flash’
[app_verbose.so] => (Send verbose output)
== Registered application ‘Verbose’
[app_exec.so] => (Executes applications)
== Registered application ‘Exec’
[app_eval.so] => (Reevaluates strings)
== Registered application ‘Eval’
[app_curl.so] => (Load external URL)
== Registered application ‘Curl’
[codec_adpcm.so] => (Adaptive Differential PCM Coder/Decoder)
– codec_adpcm: using generic PLC
== Registered translator ‘adpcmtolin’ from format adpcm to slin, cost 1
== Registered translator ‘lintoadpcm’ from format slin to adpcm, cost 1
[app_sendtext.so] => (Send Text Applications)
== Registered application ‘SendText’
[app_authenticate.so] => (Authentication Application)
== Registered application ‘Authenticate’
[app_adsiprog.so] => (Asterisk ADSI Programming Application)
== Registered application ‘ADSIProg’
[format_ilbc.so] => (Raw iLBC data)
== Registered file format iLBC, extension(s) ilbc
[app_dumpchan.so] => (Dump Info About The Calling Channel)
== Registered application ‘DumpChan’
[app_txtcidname.so] => (TXTCIDName)
== Registered application ‘TXTCIDName’
[cdr_odbc.so] => (ODBC CDR Backend)
[app_nbscat.so] => (Silly NBS Stream Application)
== Registered application ‘NBScat’
[app_groupcount.so] => (Group Management Routines)
== Registered application ‘GetGroupCount’
== Registered application ‘SetGroup’
== Registered application ‘CheckGroup’
== Registered application ‘GetGroupMatchCount’
[app_lookupblacklist.so] => (Look up Caller*ID name/number from blacklist database)
== Registered application ‘LookupBlacklist’
[cdr_manager.so] => (Asterisk Call Manager CDR Backend)
[codec_ilbc.so] => (iLBC/PCM16 (signed linear) Codec Translator)
== Registered translator ‘ilbctolin’ from format ilbc to slin, cost 3
== Registered translator ‘lintoilbc’ from format slin to ilbc, cost 24
[format_vox.so] => (Dialogic VOX (ADPCM) File Format)
== Registered file format vox, extension(s) vox
[app_db.so] => (Database access functions for Asterisk extension logic)
== Registered application ‘DBget’
== Registered application ‘DBput’
== Registered application ‘DBdel’
== Registered application ‘DBdeltree’
== Manager registered action DBGet
== Manager registered action DBPut
Asterisk Ready.
*CLI> Apr 25 13:18:42 NOTICE[10247]: chan_sip.c:9293 sip_poke_noanswer: Peer ‘400111’ is now UNREACHABLE! Last qualify: 0
Apr 25 13:18:52 NOTICE[10247]: chan_sip.c:7775 handle_response: Peer ‘400111’ is now REACHABLE! (272ms / 2000ms)
– Executing Playback(“SIP/123456-4490”, “transfer”) in new stack
Urgent handler
– Playing ‘transfer’ (language ‘en’)
Urgent handler
– Executing Dial(“SIP/123456-4490”, “Zap/1|30”) in new stack
Urgent handler
Urgent handler
– Called 1
Urgent handler
– Zap/1-1 is ringing
Urgent handler
– Zap/1-1 is ringing
Urgent handler
– Zap/1-1 is ringing
Urgent handler
– Zap/1-1 answered SIP/123456-4490
Urgent handler
Urgent handler
– Hungup 'Zap/1-1’
Urgent handler


#18

That did not help much, not your fault. Take a look at this lists.digium.com/pipermail/aster … 70028.html


#19

zmanea, the link that you provided helps me determined what is the exact problem, it is not the asterisk hanging up, it is the phone with built in answering machine that is hanging up, i tried it with another phone with built in answering machine, just another brand and it works perfectly, thanks for all your help.


#20

Changing the subject a little here, i have noticed that you have the chanspy application running, can you shed a little light on how to establish this?

Thanks[/i]