Dialing DEMO (ext.500) - trasfer does not work with IAX


#1

I’m new to Asterisk and hope that somebody can help me with this…

I have installed 2 versions of asterisk (1.2.4 and 1.2.6) on 2 different PCs.

1.2.4 I can dial the asterisk demo (ext 500) and hit for instance “1” and be transfered to Support.

1.2.6 I can do the same but only while using SIP protocol. When trying to call with Idefisk (IAX) I would get the usual message, but once I hit “1” (or any other option) - dead silence and on a console - “unable to transfer”.

I even tried to copy config files from 1.2.4 to 1.2.6 - still the same issue.
I tried to add into IAX.conf dtmfmode=inband - still the same thing.

Anybody has a clue what can be wrong?

Thanks


#2

We’re gonna need some more information.

Are you seeing any errors? Set the verbose level to at least 4, ( set verbose 4 on cli) and check your /var/log/asterisk/messages file.

Also, if you’ve modified any of the config files for asterisk, post that information.

Lastly, make sure you went through the install process correctly. Installing the zaptel drivers (ztdummy if you don’t have an actual card), then asterisk, and finally asterisk-sounds / asterisk-addons if you want them.

Dan


#3

Ok… I was trying to avoid posting configs and screen messages, but…

Just wanted to make an acent on the fact that same iax.conf and extentions.conf worked just fine on 1.2.4 but on 1.2.6 - I can not transfer when calling 500 and hitting any of the options given. Also… I copied 1.2.4 configs to 1.2.6 Asterisk as a hope to fix the issue since 1.2.6 had an issue from the moment I got it installed…

Sorry…

Here is what happens when I start asterisk with asterisk -vvvvc:

=======================================================
/Asterisk/asterisk-1.2.6 # asterisk -vvvvc
== Parsing ‘/etc/asterisk/asterisk.conf’: Found
== Parsing ‘/etc/asterisk/extconfig.conf’: Found
Asterisk 1.2.6, Copyright © 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘show license’ for details.

== Parsing ‘/etc/asterisk/logger.conf’: Found
Asterisk Event Logger Started /var/log/asterisk/event_log
== Parsing ‘/etc/asterisk/dnsmgr.conf’: Found
Asterisk Dynamic Loader loading preload modules:
== Parsing ‘/etc/asterisk/modules.conf’: Found
== Manager registered action Ping
== Manager registered action Events
== Manager registered action Logoff
== Manager registered action Hangup
== Manager registered action Status
== Manager registered action Setvar
== Manager registered action Getvar
== Manager registered action Redirect
== Manager registered action Originate
== Manager registered action Command
== Manager registered action ExtensionState
== Manager registered action AbsoluteTimeout
== Manager registered action MailboxStatus
== Manager registered action MailboxCount
== Manager registered action ListCommands
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/cdr.conf’: Found
Apr 11 13:36:07 NOTICE[18231]: cdr.c:1191 do_reload: CDR simple logging enabled.
== Parsing ‘/etc/asterisk/rtp.conf’: Found
== RTP Allocating from port range 10000 -> 20000
Asterisk PBX Core Initializing
Registering builtin applications:
[AbsoluteTimeout]
== Registered application ‘AbsoluteTimeout’
[Answer]
== Registered application ‘Answer’
[BackGround]
== Registered application ‘BackGround’
[Busy]
== Registered application ‘Busy’
[Congestion]
== Registered application ‘Congestion’
[DigitTimeout]
== Registered application ‘DigitTimeout’
[Goto]
== Registered application ‘Goto’
[GotoIf]
== Registered application ‘GotoIf’
[GotoIfTime]
== Registered application ‘GotoIfTime’
[ExecIfTime]
== Registered application ‘ExecIfTime’
[Hangup]
== Registered application ‘Hangup’
[NoOp]
== Registered application ‘NoOp’
[Progress]
== Registered application ‘Progress’
[ResetCDR]
== 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’
[Set]
== Registered application ‘Set’
[SetVar]
== Registered application ‘SetVar’
[ImportVar]
== Registered application ‘ImportVar’
[Wait]
== Registered application ‘Wait’
[WaitExten]
== Registered application 'WaitExten’
Asterisk Dynamic Loader Starting:
== Parsing ‘/etc/asterisk/modules.conf’: Found
[res_musiconhold.so] => (Music On Hold Resource)
== Registered application ‘MusicOnHold’
== Registered application ‘WaitMusicOnHold’
== Registered application ‘SetMusicOnHold’
== Registered application ‘StartMusicOnHold’
== Registered application ‘StopMusicOnHold’
== Parsing ‘/etc/asterisk/musiconhold.conf’: Found
[res_indications.so] => (Indications Configuration)
== Parsing ‘/etc/asterisk/indications.conf’: Found
Warning, flexibel rate not heavily tested!
– Registered indication country ‘at’
– Registered indication country ‘au’
– Registered indication country ‘br’
– Registered indication country ‘be’
– Registered indication country ‘ch’
– Registered indication country ‘cl’
– Registered indication country ‘cn’
– Registered indication country ‘cz’
– Registered indication country ‘de’
– Registered indication country ‘dk’
– Registered indication country ‘ee’
– Registered indication country ‘es’
– Registered indication country ‘fi’
– Registered indication country ‘fr’
– Registered indication country ‘gr’
– Registered indication country ‘hu’
– Registered indication country ‘it’
– Registered indication country ‘lt’
– Registered indication country ‘mx’
– Registered indication country ‘nl’
– Registered indication country ‘no’
– Registered indication country ‘nz’
– Registered indication country ‘pl’
– Registered indication country ‘pt’
– Registered indication country ‘ru’
– Registered indication country ‘se’
– Registered indication country ‘sg’
– Registered indication country ‘uk’
– Registered indication country ‘us’
– Registered indication country ‘us-o’
– Registered indication country ‘tw’
– Registered indication country ‘za’
– Setting default indication country to ‘us’
== Registered application ‘PlayTones’
== Registered application ‘StopPlayTones’
[res_features.so] => (Call Features Resource)
== Parsing ‘/etc/asterisk/features.conf’: Found
– Registered extension context ‘parkedcalls’
– Added extension ‘700’ priority 1 to parkedcalls
== Registered application ‘ParkedCall’
== Registered application ‘Park’
== Manager registered action ParkedCalls
[res_agi.so] => (Asterisk Gateway Interface (AGI))
== Registered application ‘DeadAGI’
== Registered application ‘EAGI’
== Registered application ‘AGI’
[res_crypto.so] => (Cryptographic Digital Signatures)
– Loaded PUBLIC key ‘iaxtel’
– Loaded PUBLIC key ‘freeworlddialup’
[res_adsi.so] => (ADSI Resource)
== Parsing ‘/etc/asterisk/adsi.conf’: Found
[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
[pbx_dundi.so] => (Distributed Universal Number Discovery (DUNDi))
== Parsing ‘/etc/asterisk/dundi.conf’: Found
== Using TOS bits 0
== DUNDi Ready and Listening on 0.0.0.0 port 4520
== Registered application ‘DUNDiLookup’
== Registered custom function DUNDILOOKUP
[pbx_functions.so] => (Builtin dialplan functions)
== Registered custom function MD5
== Registered custom function CHECK_MD5
== Registered custom function MATH
== Registered custom function GROUP_COUNT
== Registered custom function GROUP_MATCH_COUNT
== Registered custom function GROUP
== Registered custom function GROUP_LIST
== Registered custom function FIELDQTY
== Registered custom function REGEX
== Registered custom function LEN
== Registered custom function STRFTIME
== Registered custom function EVAL
== Registered custom function CDR
== Registered custom function ISNULL
== Registered custom function SET
== Registered custom function EXISTS
== Registered custom function IF
== Registered custom function IFTIME
== Registered custom function ENV
== Registered custom function DB
== Registered custom function DB_EXISTS
== Registered custom function TIMEOUT
== Registered custom function LANGUAGE
== Registered custom function MUSICCLASS
[pbx_ael.so] => (Asterisk Extension Language Compiler)
– Registered extension context ‘macro-std-exten-ael’
– Added extension ‘s’ priority 1 to macro-std-exten-ael
– Added extension ‘s’ priority 2 to macro-std-exten-ael
– Added extension ‘s’ priority 3 to macro-std-exten-ael
– Added extension ‘s’ priority 4 to macro-std-exten-ael
– Added extension ‘s’ priority 5 to macro-std-exten-ael
– Added extension ‘sw-4-BUSY’ priority 1 to macro-std-exten-ael
– Added extension ‘sw-4-BUSY’ priority 2 to macro-std-exten-ael
– Added extension ‘_sw-4-.’ priority 1 to macro-std-exten-ael
– Added extension ‘a’ priority 1 to macro-std-exten-ael
– Added extension ‘a’ priority 2 to macro-std-exten-ael
– Registered extension context ‘ael-demo’
– Added extension ‘s’ priority 1 to ael-demo
– Added extension ‘s’ priority 2 to ael-demo
– Added extension ‘s’ priority 3 to ael-demo
– Added extension ‘s’ priority 4 to ael-demo
– Added extension ‘s’ priority 5 to ael-demo
– Added extension ‘s’ priority 6 to ael-demo
– Added extension ‘s’ priority 8 to ael-demo
– Added extension ‘s’ priority 9 to ael-demo
– Added extension ‘s’ priority 10 to ael-demo
– Added extension ‘s’ priority 11 to ael-demo
– Added extension ‘s’ priority 12 to ael-demo
– Added extension ‘s’ priority 7 to ael-demo
– Added extension ‘2’ priority 1 to ael-demo
– Added extension ‘2’ priority 2 to ael-demo
– Added extension ‘3’ priority 1 to ael-demo
– Added extension ‘3’ priority 2 to ael-demo
– Added extension ‘500’ priority 1 to ael-demo
– Added extension ‘500’ priority 2 to ael-demo
– Added extension ‘500’ priority 3 to ael-demo
– Added extension ‘500’ priority 4 to ael-demo
– Added extension ‘600’ priority 1 to ael-demo
– Added extension ‘600’ priority 2 to ael-demo
– Added extension ‘600’ priority 3 to ael-demo
– Added extension ‘600’ priority 4 to ael-demo
– Added extension ‘_1234’ priority 1 to ael-demo
– Added extension ‘#’ priority 1 to ael-demo
– Added extension ‘#’ priority 2 to ael-demo
– Added extension ‘t’ priority 1 to ael-demo
– Added extension ‘i’ priority 1 to ael-demo
[pbx_spool.so] => (Outgoing Spool Support)
[pbx_loopback.so] => (Loopback Switch)
[pbx_config.so] => (Text Extension Configuration)
== Parsing ‘/etc/asterisk/extensions.conf’: Found
== 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’
– Registered extension context ‘dundi-e164-canonical’
– Registered extension context ‘dundi-e164-customers’
– Registered extension context ‘dundi-e164-via-pstn’
– Registered extension context ‘dundi-e164-local’
– Including context ‘dundi-e164-canonical’ in context ‘dundi-e164-local’
– Including context ‘dundi-e164-customers’ in context ‘dundi-e164-local’
– Including context ‘dundi-e164-via-pstn’ in context ‘dundi-e164-local’
– Registered extension context ‘dundi-e164-switch’
– Including switch ‘DUNDi/e164’ in context ‘dundi-e164-switch’
– Registered extension context ‘dundi-e164-lookup’
– Including context ‘dundi-e164-local’ in context ‘dundi-e164-lookup’
– Including context ‘dundi-e164-switch’ in context ‘dundi-e164-lookup’
– Registered extension context ‘macro-dundi-e164’
– Added extension ‘s’ priority 1 to macro-dundi-e164
– Including context ‘dundi-e164-lookup’ in context ‘macro-dundi-e164’
– Registered extension context ‘iaxtel700’
– Added extension ‘_91700XXXXXXX’ priority 1 to iaxtel700
– Registered extension context ‘iaxprovider’
– Registered extension context ‘trunkint’
– Added extension ‘_9011.’ priority 1 to trunkint
– Added extension ‘_9011.’ priority 2 to trunkint
– Registered extension context ‘trunkld’
– Added extension ‘_91NXXNXXXXXX’ priority 1 to trunkld
– Added extension ‘_91NXXNXXXXXX’ priority 2 to trunkld
– Registered extension context ‘trunklocal’
– Added extension ‘_9NXXXXXX’ priority 1 to trunklocal
– Registered extension context ‘trunktollfree’
– Added extension ‘_91800NXXXXXX’ priority 1 to trunktollfree
– Added extension ‘_91888NXXXXXX’ priority 1 to trunktollfree
– Added extension ‘_91877NXXXXXX’ priority 1 to trunktollfree
– Added extension ‘_91866NXXXXXX’ priority 1 to trunktollfree
– Registered extension context ‘international’
– Including context ‘longdistance’ in context ‘international’
– Including context ‘trunkint’ in context ‘international’
– Registered extension context ‘longdistance’
– Including context ‘local’ in context ‘longdistance’
– Including context ‘trunkld’ in context ‘longdistance’
– Registered extension context ‘local’
– 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’
– Registered extension context ‘macro-stdexten’
– Added extension ‘s’ priority 1 to macro-stdexten
– Added extension ‘s’ priority 2 to macro-stdexten
– Added extension ‘s-NOANSWER’ priority 1 to macro-stdexten
– Added extension ‘s-NOANSWER’ priority 2 to macro-stdexten
– Added extension ‘s-BUSY’ priority 1 to macro-stdexten
– Added extension ‘s-BUSY’ priority 2 to macro-stdexten
– Added extension ‘_s-.’ priority 1 to macro-stdexten
– Added extension ‘a’ priority 1 to macro-stdexten
– Registered extension context ‘macro-stdPrivacyexten’
– Added extension ‘s’ priority 1 to macro-stdPrivacyexten
– Added extension ‘s’ priority 2 to macro-stdPrivacyexten
– Added extension ‘s-NOANSWER’ priority 1 to macro-stdPrivacyexten
– Added extension ‘s-NOANSWER’ priority 2 to macro-stdPrivacyexten
– Added extension ‘s-BUSY’ priority 1 to macro-stdPrivacyexten
– Added extension ‘s-BUSY’ priority 2 to macro-stdPrivacyexten
– Added extension ‘s-DONTCALL’ priority 1 to macro-stdPrivacyexten
– Added extension ‘s-TORTURE’ priority 1 to macro-stdPrivacyexten
– Added extension ‘_s-.’ priority 1 to macro-stdPrivacyexten
– Added extension ‘a’ priority 1 to macro-stdPrivacyexten
– Registered extension context ‘demo’
– Added extension ‘s’ priority 1 to demo
– Added extension ‘s’ priority 2 to demo
– Added extension ‘s’ priority 3 to demo
– Added extension ‘s’ priority 4 to demo
– Added extension ‘s’ priority 5 to demo
– Added extension ‘s’ priority 6 to demo
– Added extension ‘s’ priority 7 to demo
– Added extension ‘2’ priority 1 to demo
– Added extension ‘2’ priority 2 to demo
– Added extension ‘3’ priority 1 to demo
– Added extension ‘3’ priority 2 to demo
– Added extension ‘1000’ priority 1 to demo
– Added extension ‘1234’ priority 1 to demo
– Added extension ‘1234’ priority 2 to demo
– Added extension ‘1235’ priority 1 to demo
– Added extension ‘1236’ priority 1 to demo
– Added extension ‘1236’ priority 2 to demo
– Added extension ‘6667’ priority 1 to demo
– Added extension ‘#’ priority 1 to demo
– Added extension ‘#’ priority 2 to demo
– Added extension ‘t’ priority 1 to demo
– Added extension ‘i’ priority 1 to demo
– Added extension ‘500’ priority 1 to demo
– Added extension ‘500’ priority 2 to demo
– Added extension ‘500’ priority 3 to demo
– Added extension ‘500’ priority 4 to demo
– Added extension ‘600’ priority 1 to demo
– Added extension ‘600’ priority 2 to demo
– Added extension ‘600’ priority 3 to demo
– Added extension ‘600’ priority 4 to demo
– Added extension ‘8500’ priority 1 to demo
– Added extension ‘8500’ priority 2 to demo
– Registered extension context ‘tutorial’
– Added extension ‘2222’ priority 1 to tutorial
– Added extension ‘2222’ priority 2 to tutorial
– Added extension ‘2222’ priority 3 to tutorial
– Added extension ‘2222’ priority 4 to tutorial
– Added extension ‘2223’ priority 1 to tutorial
– Added extension ‘2223’ priority 2 to tutorial
– Added extension ‘2223’ priority 3 to tutorial
– Added extension ‘2223’ priority 4 to tutorial
– Added extension ‘1112’ priority 1 to tutorial
– Added extension ‘1112’ priority 2 to tutorial
– Added extension ‘1112’ priority 3 to tutorial
– Added extension ‘1112’ priority 4 to tutorial
– Added extension ‘1111’ priority 1 to tutorial
– Added extension ‘1111’ priority 2 to tutorial
– Added extension ‘1111’ priority 3 to tutorial
– Added extension ‘1111’ priority 4 to tutorial
– Added extension ‘1111’ priority 5 to tutorial
– Added extension ‘1111’ priority 6 to tutorial
– Added extension ‘1111’ priority 7 to tutorial
– Added extension ‘1111’ priority 8 to tutorial
– Added extension ‘9999’ priority 1 to tutorial
– Added extension ‘9999’ priority 2 to tutorial
– Added extension ‘9999’ priority 3 to tutorial
– Registered extension context ‘default’
– Including context ‘demo’ in context ‘default’
– Including context ‘tutorial’ in context ‘default’
[pbx_realtime.so] => (Realtime Switch)
[chan_mgcp.so] => (Media Gateway Control Protocol (MGCP))
== Parsing ‘/etc/asterisk/mgcp.conf’: Found
== 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)
== Parsing ‘/etc/asterisk/zapata.conf’: Found
– 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_local.so] => (Local Proxy Channel)
== Registered channel type ‘Local’ (Local Proxy Channel Driver)
[chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
== Registered custom function IAXPEER
== Registered application ‘IAX2Provision’
== Manager registered action IAXpeers
== Manager registered action IAXnetstats
== Parsing ‘/etc/asterisk/iax.conf’: Found
– 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’
== Parsing ‘/etc/asterisk/iaxprov.conf’: Found
– Loaded provisioning template ‘default’
[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
== Manager registered action AgentLogoff
== Manager registered action AgentCallbackLogin
== Parsing ‘/etc/asterisk/agents.conf’: Found
[chan_phone.so] => (Linux Telephony API Support)
== Parsing ‘/etc/asterisk/phone.conf’: Found
== Registered channel type ‘Phone’ (Standard Linux Telephony API Driver)
[chan_skinny.so] => (Skinny Client Control Protocol (Skinny))
== Parsing ‘/etc/asterisk/skinny.conf’: Found
== Skinny listening on 0.0.0.0:2000
== Registered channel type ‘Skinny’ (Skinny Client Control Protocol (Skinny))
[chan_features.so] => (Feature Proxy Channel)
== Registered channel type ‘Feature’ (Feature Proxy Channel Driver)
[chan_oss.so] => (OSS Console Channel Driver)
== Parsing ‘/etc/asterisk/oss.conf’: Found
== Registered channel type ‘Console’ (OSS Console Channel Driver)
[chan_sip.so] => (Session Initiation Protocol (SIP))
== Parsing ‘/etc/asterisk/sip.conf’: Found
– SIP Seeding peer from astdb: ‘1111’ at 1111@192.168.0.6:5061 for 3600
– SIP Seeding peer from astdb: ‘boris’ at boris@192.168.0.6:5060 for 3600
== SIP Listening on 0.0.0.0:5060
== Using TOS bits 0
== Parsing ‘/etc/asterisk/sip_notify.conf’: Found
== Registered channel type ‘SIP’ (Session Initiation Protocol (SIP))
== Registered application ‘SIPDtmfMode’
== Registered application ‘SIPAddHeader’
== Registered application ‘SIPGetHeader’
== Registered custom function SIP_HEADER
== Registered custom function SIPPEER
== Registered custom function SIPCHANINFO
== Registered custom function CHECKSIPDOMAIN
== Manager registered action SIPpeers
== Manager registered action SIPshowpeer
[app_sms.so] => (SMS/PSTN handler)
== Registered application ‘SMS’
[cdr_custom.so] => (Customizable Comma Separated Values CDR Backend)
== Parsing ‘/etc/asterisk/cdr_custom.conf’: Found
[app_hasnewvoicemail.so] => (Indicator for whether a voice mailbox has messages in a given folder.
== Registered custom function VMCOUNT
== Registered application ‘HasVoicemail’
== Registered application ‘HasNewVoicemail’
[format_wav_gsm.so] => (Microsoft WAV format (Proprietary GSM))
== Registered file format wav49, extension(s) WAV|wav49
[app_url.so] => (Send URL Applications)
== Registered application ‘SendURL’
[app_test.so] => (Interface Test Application)
== Registered application ‘TestClient’
== Registered application ‘TestServer’
[app_eval.so] => (Reevaluates strings)
== Registered application ‘Eval’
[app_chanspy.so] => (Listen to the audio of an active channel
)
== Registered application ‘ChanSpy’
[app_sendtext.so] => (Send Text Applications)
== Registered application ‘SendText’
[app_exec.so] => (Executes applications)
== Registered application ‘Exec’
[app_txtcidname.so] => (TXTCIDName)
== Registered application ‘TXTCIDName’
[cdr_manager.so] => (Asterisk Call Manager CDR Backend)
== Parsing ‘/etc/asterisk/cdr_manager.conf’: Found
[app_directory.so] => (Extension Directory)
== Registered application ‘Directory’
[app_playback.so] => (Sound File Playback Application)
== Registered application ‘Playback’
[codec_adpcm.so] => (Adaptive Differential PCM Coder/Decoder)
== Parsing ‘/etc/asterisk/codecs.conf’: Found
– 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_groupcount.so] => (Group Management Routines)
== Registered application ‘GetGroupCount’
== Registered application ‘SetGroup’
== Registered application ‘CheckGroup’
== Registered application ‘GetGroupMatchCount’
[app_adsiprog.so] => (Asterisk ADSI Programming Application)
== Registered application ‘ADSIProg’
[app_chanisavail.so] => (Check channel availability)
== Registered application ‘ChanIsAvail’
[app_softhangup.so] => (Hangs up the requested channel)
== Registered application ‘SoftHangup’
[codec_lpc10.so] => (LPC10 2.4kbps (signed linear) Voice Coder)
== Parsing ‘/etc/asterisk/codecs.conf’: Found
– codec_lpc10: using generic PLC
== Registered translator ‘lpc10tolin’ from format lpc10 to slin, cost 4
== Registered translator ‘lintolpc10’ from format slin to lpc10, cost 5
[app_setcidname.so] => (Set CallerID Name)
== Registered application ‘SetCIDName’
[format_g723.so] => (G.723.1 Simple Timestamp File Format)
== Registered file format g723sf, extension(s) g723|g723sf
[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
[format_g729.so] => (Raw G729 data)
== Registered file format g729, extension(s) g729
[app_userevent.so] => (Custom User Event Application)
== Registered application ‘UserEvent’
[codec_gsm.so] => (GSM/PCM16 (signed linear) Codec Translator)
== Parsing ‘/etc/asterisk/codecs.conf’: Found
– codec_gsm: using generic PLC
== Registered translator ‘gsmtolin’ from format gsm to slin, cost 2
== Registered translator ‘lintogsm’ from format slin to gsm, cost 4
[app_authenticate.so] => (Authentication Application)
== Registered application ‘Authenticate’
[format_pcm_alaw.so] => (Raw aLaw 8khz PCM Audio support)
== Registered file format alaw, extension(s) alaw|al
[format_ilbc.so] => (Raw iLBC data)
== Registered file format iLBC, extension(s) ilbc
[format_h263.so] => (Raw h263 data)
== Registered file format h263, extension(s) h263
[func_uri.so] => (URI encode/decode functions)
== Registered custom function URIDECODE
== Registered custom function URIENCODE
[app_forkcdr.so] => (Fork The CDR into 2 separate entities.)
== Registered application ‘ForkCDR’
[app_page.so] => (Page Multiple Phones)
== Registered application ‘Page’
[app_ices.so] => (Encode and Stream via icecast and ices)
== Registered application ‘ICES’
[app_nbscat.so] => (Silly NBS Stream Application)
== Registered application ‘NBScat’
[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
[app_system.so] => (Generic System() application)
== Registered application ‘TrySystem’
== Registered application ‘System’
[app_record.so] => (Trivial Record Application)
== Registered application ‘Record’
[app_milliwatt.so] => (Digital Milliwatt (mu-law) Test Application)
== Registered application ‘Milliwatt’
[app_parkandannounce.so] => (Call Parking and Announce Application)
== Registered application ‘ParkAndAnnounce’
[app_sayunixtime.so] => (Say time)
== Registered application ‘SayUnixTime’
== Registered application ‘DateTime’
[app_dumpchan.so] => (Dump Info About The Calling Channel)
== Registered application ‘DumpChan’
[app_zapscan.so] => (Scan Zap channels application)
== Registered application ‘ZapScan’
[app_macro.so] => (Extension Macros)
== Registered application ‘MacroExit’
== Registered application ‘MacroIf’
== Registered application ‘Macro’
[app_random.so] => (Random goto)
== Registered application ‘Random’
[app_settransfercapability.so] => (Set ISDN Transfer Capability)
== Registered application ‘SetTransferCapability’
[codec_ulaw.so] => (Mu-law Coder/Decoder)
== Parsing ‘/etc/asterisk/codecs.conf’: Found
– 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
[app_zapras.so] => (Zap RAS Application)
== Registered application ‘ZapRAS’
[app_controlplayback.so] => (Control Playback Application)
== Registered application ‘ControlPlayback’
[format_au.so] => (Sun Microsystems AU format (signed linear))
== Registered file format au, extension(s) au
[format_jpeg.so] => (JPEG (Joint Picture Experts Group) Image Format)
== Registered format ‘jpg’ (JPEG (Joint Picture Experts Group))
[codec_alaw.so] => (A-law Coder/Decoder)
== Parsing ‘/etc/asterisk/codecs.conf’: Found
– 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_transfer.so] => (Transfer)
== Registered application ‘Transfer’
[cdr_csv.so] => (Comma Separated Values CDR Backend)
[app_externalivr.so] => (External IVR Interface Application)
== Registered application ‘ExternalIVR’
[app_voicemail.so] => (Comedian Mail (Voicemail System))
== Registered application ‘VoiceMail’
== Registered application ‘VoiceMailMain’
== Registered application ‘MailboxExists’
== Registered application ‘VMAuthenticate’
== Parsing ‘/etc/asterisk/voicemail.conf’: Found
[app_while.so] => (While Loops and Conditional Execution)
== Registered application ‘While’
== Registered application ‘ExecIf’
== Registered application ‘EndWhile’
[app_verbose.so] => (Send verbose output)
== Registered application ‘Verbose’
[app_setcdruserfield.so] => (CDR user field apps)
== Registered application ‘SetCDRUserField’
== Registered application ‘AppendCDRUserField’
== Manager registered action SetCDRUserField
[codec_g726.so] => (ITU G.726-32kbps G726 Transcoder)
== Parsing ‘/etc/asterisk/codecs.conf’: Found
– codec_g726: using generic PLC
== Registered translator ‘g726tolin’ from format g726 to slin, cost 3
== Registered translator ‘lintog726’ from format slin to g726, cost 4
[app_lookupblacklist.so] => (Look up Caller*ID name/number from blacklist database)
== Registered application ‘LookupBlacklist’
[app_zapbarge.so] => (Barge in on Zap channel application)
== Registered application ‘ZapBarge’
[app_mixmonitor.so] => (Mixed Audio Monitoring Application)
== Registered application ‘MixMonitor’
[app_getcpeid.so] => (Get ADSI CPE ID)
== Registered application ‘GetCPEID’
[app_enumlookup.so] => (ENUM Lookup)
== Registered application ‘EnumLookup’
== Parsing ‘/etc/asterisk/enum.conf’: Found
[codec_ilbc.so] => (iLBC/PCM16 (signed linear) Codec Translator)
== Registered translator ‘ilbctolin’ from format ilbc to slin, cost 5
== Registered translator ‘lintoilbc’ from format slin to ilbc, cost 31
[app_dictate.so] => (Virtual Dictation Machine)
== Registered application ‘Dictate’
[app_read.so] => (Read Variable Application)
== Registered application ‘Read’
[app_alarmreceiver.so] => (Alarm Receiver for Asterisk)
== Parsing ‘/etc/asterisk/alarmreceiver.conf’: Found
== Registered application ‘AlarmReceiver’
[format_gsm.so] => (Raw GSM data)
== Registered file format gsm, extension(s) gsm
[app_dial.so] => (Dialing Application)
== Registered application ‘Dial’
== Registered application ‘RetryDial’
[app_disa.so] => (DISA (Direct Inward System Access) Application)
== Registered application ‘DISA’
[app_realtime.so] => (Realtime Data Lookup/Rewrite)
== Registered application ‘RealTimeUpdate’
== Registered application ‘RealTime’
[app_cdr.so] => (Tell Asterisk to not maintain a CDR for the current call)
== Registered application ‘NoCDR’
[app_image.so] => (Image Transmission Application)
== Registered application ‘SendImage’
[func_callerid.so] => (Caller ID related dialplan function)
== Registered custom function CALLERID
[func_enum.so] => (ENUM Related Functions)
== Registered custom function ENUMLOOKUP
== Registered custom function TXTCIDNAME
[app_cut.so] => (Cut out information from a string)
== Registered custom function CUT
== Registered custom function SORT
== Registered application ‘Sort’
== Registered application ‘Cut’
[app_setrdnis.so] => (Set RDNIS Number)
== Registered application ‘SetRDNIS’
[app_festival.so] => (Simple Festival Interface)
== Registered application ‘Festival’
[app_meetme.so] => (MeetMe conference bridge)
== Parsing ‘/etc/asterisk/meetme.conf’: Found
== Registered application ‘MeetMeAdmin’
== Registered application ‘MeetMeCount’
== Registered application ‘MeetMe’
[app_echo.so] => (Simple Echo Application)
== Registered application ‘Echo’
[format_pcm.so] => (Raw uLaw 8khz Audio support (PCM))
== Registered file format pcm, extension(s) pcm|ulaw|ul|mu
[app_privacy.so] => (Require phone number to be entered, if no CallerID sent)
== Registered application ‘PrivacyManager’
[app_flash.so] => (Flash zap trunk application)
== Registered application ‘Flash’
[app_setcallerid.so] => (Set CallerID Application)
== Registered application ‘SetCallerPres’
== Registered application ‘SetCallerID’
[app_stack.so] => (Stack Routines)
== Registered application ‘StackPop’
== Registered application ‘Return’
== Registered application ‘GosubIf’
== Registered application ‘Gosub’
[format_sln.so] => (Raw Signed Linear Audio support (SLN))
== Registered file format sln, extension(s) sln|raw
[app_zapateller.so] => (Block Telemarketers with Special Information Tone)
== Registered application ‘Zapateller’
[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’
== Registered custom function QUEUEAGENTCOUNT
== Parsing ‘/etc/asterisk/queues.conf’: Found
[app_md5.so] => (MD5 checksum applications)
== Registered application ‘MD5Check’
== Registered application ‘MD5’
[app_mp3.so] => (Silly MP3 Application)
== Registered application ‘MP3Player’
[app_lookupcidname.so] => (Look up CallerID Name from local database)
== Registered application ‘LookupCIDName’
[format_wav.so] => (Microsoft WAV format (8000hz Signed Linear))
== Registered file format wav, extension(s) wav
[app_senddtmf.so] => (Send DTMF digits Application)
== Registered application ‘SendDTMF’
[format_vox.so] => (Dialogic VOX (ADPCM) File Format)
== Registered file format vox, extension(s) vox
[app_directed_pickup.so] => (Directed Call Pickup Application)
== Registered application ‘Pickup’
[app_waitforring.so] => (Waits until first ring after time)
== Registered application ‘WaitForRing’
[app_readfile.so] => (Stores output of file into a variable)
== Registered application ‘ReadFile’
[app_setcidnum.so] => (Set CallerID Number)
== Registered application ‘SetCIDNum’
[app_talkdetect.so] => (Playback with Talk Detection)
== Registered application ‘BackgroundDetect’
[app_math.so] => (Basic Math Functions)
== Registered application ‘Math’
[app_db.so] => (Database Access Functions)
== Registered application ‘DBget’
== Registered application ‘DBput’
== Registered application ‘DBdel’
== Registered application ‘DBdeltree’
[app_waitforsilence.so] => (Wait For Silence)
== Registered application ‘WaitForSilence’
== Manager registered action DBGet
== Manager registered action DBPut
== Parsing ‘/etc/asterisk/enum.conf’: Found
Asterisk Ready.
*CLI>

Here are my sip confi and iax.conf. I’m not gonna list extensions.conf since I did not make any changes in demo or default… I did build the tutorial context but… it’s not demo…

lines in sip.conf:

[softphone1]
type=friend
secret=password
host=dynamic
canreinvite=no
username=softphone1
mailbox=9966@default

===================================================================

lines in iax.conf:

[6777]
type=friend
host=dynamic
username=6777
secret=MySoft2Call
canreinvite=no
mailbox=6777@default
allow=all
context=demo

Messages on the console that I see when calling with IAX (idefisk) which basically does not transfer me once I hit 1 or 2 or 3 (don’t take me wrong… I only hit one of those):

-- Registered IAX2 '6777' (AUTHENTICATED) at 192.168.0.4:4569

Apr 11 14:14:55 NOTICE[18244]: chan_iax2.c:5691 update_registry: Restricting registration for peer ‘6777’ to 60 seconds (requested 300)
– Accepting AUTHENTICATED call from 192.168.0.4:
> requested format = ulaw,
> requested prefs = (),
> actual format = gsm,
> host prefs = (gsm),
> priority = mine
– Executing Playback(“IAX2/6777-2”, “demo-abouttotry”) in new stack
– Playing ‘demo-abouttotry’ (language ‘en’)
– Executing Dial(“IAX2/6777-2”, “IAX2/guest@misery.digium.com/s@default”) in new stack
– Called guest@misery.digium.com/s@default
– Call accepted by 216.207.245.8 (format gsm)
– Format for call is gsm
– IAX2/216.207.245.8:4569-3 is ringing
– IAX2/216.207.245.8:4569-3 answered IAX2/6777-2
– Attempting native bridge of IAX2/6777-2 and IAX2/216.207.245.8:4569-3
– Channel ‘IAX2/216.207.245.8:4569-3’ unable to transfer
– Attempting native bridge of IAX2/6777-2 and IAX2/216.207.245.8:4569-3
– Channel ‘IAX2/216.207.245.8:4569-3’ unable to transfer
– Hungup ‘IAX2/216.207.245.8:4569-3’
== Spawn extension (demo, 500, 2) exited non-zero on ‘IAX2/6777-2’
– Hungup ‘IAX2/6777-2’

Here is what’s on the console when making call with SIP phone which actually does work and does the transfer to whatever number I hit:

– Registered SIP ‘softphone1’ at 192.168.0.4 port 5060 expires 120
– Saved useragent “SJphone/1.60.289a (SJ Labs)” for peer softphone1
– Executing Playback(“SIP/softphone1-d51f”, “demo-abouttotry”) in new stack
– Playing ‘demo-abouttotry’ (language ‘en’)
– Executing Dial(“SIP/softphone1-d51f”, “IAX2/guest@misery.digium.com/s@default”) in new stack
– Called guest@misery.digium.com/s@default
– Call accepted by 216.207.245.8 (format gsm)
– Format for call is gsm
– IAX2/216.207.245.8:4569-1 is ringing
– IAX2/216.207.245.8:4569-1 answered SIP/softphone1-d51f
– Hungup ‘IAX2/216.207.245.8:4569-1’
== Spawn extension (default, 500, 2) exited non-zero on ‘SIP/softphone1-d51f’
– Remote UNIX connection disconnected
– Unregistered SIP ‘softphone1’


#4

Are you behind a firewall? Do you have the proper ports open / forwarded to you machine?

Dan


#5

box on which Asterisk is installed is in DMZ zone… Again… same configs worked fine for 1.2.4 but 1.2.6…