JP Hindin
2004-Sep-15 09:19 UTC
[Asterisk-Users] Sending IAX2 calls back to a registered client
Greetings folks; I guess I must be missing something, because for the life of me I can't seem to make this work. I have remote clients connecting to Asterisk using IAX2, these clients have changing IPs so we're using the useful register tool. The client can call out successfully, that's not an issue at all. Calling coming from the server to the client, however, do not appear to go through. I get this: -- Accepting call from '3015551212' to '13015559999' on channel 0/1, span 1 -- Executing Answer("Zap/1-1", "") in new stack -- Executing Dial("Zap/1-1", "IAX2/2222/13015559999") in new stack Sep 15 12:17:04 NOTICE[327696]: app_dial.c:714 dial_exec: Unable to create channel of type 'IAX2' == Everyone is busy/congested at this time -- Channel 0/1, span 1 got hangup -- Hungup 'Zap/1-1' The confs are a little like this: Server iax.conf [2222] permit=63.149.0.0/255.255.0.0 # IP range of client secret=pass1 host=dynamic context=reseller type=friend Server extension.conf: exten => 3015559999,1,Answer exten => 3015559999,Dial(IAX2/2222/${EXTEN}) Client iax.conf: [general] register => 2222:pass1@server [server] type=friend context=IAX-incoming host=244.244.244.244 # Actual IP of server here secret=pass1 trunk=no Client extensions.conf: [IAX-incoming] exten => _2.,1,Dial(SIP/2222) [IAX-outgoing] exten => _1NXXNXXXXXX,1,Dial(IAX2/2222@server/${EXTEN}) exten => _011.,1,Dial(IAX/2222@server/${EXTEN}) What am I missing that is stopping the server from patching the call through to the remote IAX2 client? All suggestions appreciated; JP
steve@daviesfam.org
2004-Sep-15 09:54 UTC
[Asterisk-Users] Sending IAX2 calls back to a registered client
On Wed, 15 Sep 2004, JP Hindin wrote:> > Greetings folks; > > I guess I must be missing something, because for the life of me I can't > seem to make this work. I have remote clients connecting to Asterisk using > IAX2, these clients have changing IPs so we're using the useful register > tool. > > The client can call out successfully, that's not an issue at all. Calling > coming from the server to the client, however, do not appear to go > through. I get this: > > -- Accepting call from '3015551212' to '13015559999' on channel 0/1, span 1 > -- Executing Answer("Zap/1-1", "") in new stack > -- Executing Dial("Zap/1-1", "IAX2/2222/13015559999") in new stack > Sep 15 12:17:04 NOTICE[327696]: app_dial.c:714 dial_exec: Unable to create channel of type 'IAX2' > == Everyone is busy/congested at this time > -- Channel 0/1, span 1 got hangup > -- Hungup 'Zap/1-1'iax2 debug will give you more info on what is happening. But perhaps its that you need to include a username in your dial "IAX2/username@2222/${EXTEN}" and put it in the [2222] entry in the iax.conf on the client. Steve
Apparently Analagous Threads
- 'Hangup' not hanging-up, is this intended behaviour?
- [LLVMdev] How to force MemoryDependenceAnalysis to run on original module
- [LLVMdev] How to force MemoryDependenceAnalysis to run on original module
- [LLVMdev] Another Pass Manager Assertion
- [LLVMdev] 2.9 pass manager asserts "Unable to handle Pass that requires lower level Analysis pass"