[asterisk-users] Asterisk calling through FWD?
Nick Ellson
grimm at nickellson.com
Mon Sep 4 19:56:16 MST 2006
Hi Michael,
I tried what you had said and then tried calling you, and it worked. Then
I called my brother and while I did not get the error, I still got the
"busy" message i was getting before I borked my config trying too many
ideas ;)
So, any other 6 digit FWD users willing to take a call from me? Just so I
can eliminate the call string?
My two back to back calls..
*CLI>
-- Executing SetCallerID("SIP/4003-508e", "Nick Ellson") in new stack
-- Executing Dial("SIP/4003-508e",
"IAX2/776754:<snip>@iax2.fwdnet.net/<5 digits>|60|r") in new stack
-- Called 776754:<snip>@iax2.fwdnet.net/<5 digits>
-- Call accepted by 192.246.69.186 (format ulaw)
-- Format for call is ulaw
-- IAX2/192.246.69.186:4569-2 answered SIP/4003-508e
-- Hungup 'IAX2/192.246.69.186:4569-2'
== Spawn extension (default, 393<5 digits>, 2) exited non-zero on
'SIP/4003-508e'
-- Executing SetCallerID("SIP/4003-5d5e", "Nick Ellson") in new stack
-- Executing Dial("SIP/4003-5d5e",
"IAX2/776754:<snip>@iax2.fwdnet.net/<6 digits>|60|r") in new stack
-- Called 776754:<snip>@iax2.fwdnet.net/<6 digits>
-- Call accepted by 192.246.69.186 (format ulaw)
-- Format for call is ulaw
-- IAX2/192.246.69.186:4569-3 is busy
-- Hungup 'IAX2/192.246.69.186:4569-3'
== Everyone is busy/congested at this time (1:1/0/0)
-- Executing Congestion("SIP/4003-5d5e", "") in new stack
== Spawn extension (default, 393<6 digits>, 3) exited non-zero on
'SIP/4003-5d5e'
--
Nick Ellson
CCDA, CCNP, CCSP, CCAI,
MCSE 2000, Security+, Network+
Network Hobbyist, VFR Private Pilot.
On Mon, 4 Sep 2006, Michael Graves wrote:
> Nick,
>
> Now I remember why this doesn't work. It's the caller ID settings. The syntax you use is older and makes two separate calls
>
>> exten => _393.,1,SetCIDNum(${FWDNUMBER})
>> exten => _393.,2,SetCallerID,${FWDCIDNAME}
>
> This won't work for some reason. As soon as I changed my settings to:
>
> exten => _393.,1,SetCallerID,${FWDCIDNAME}
> exten => _393.,2,Dial(IAX2/54245:password at iax2.fwdnet.net/${EXTEN:3},60)
> exten => _393.,3,Congestion
>
> Then it worked. The SetCIDNum function broke it. I can't say why, only that I inquired with folk at FWD who told me that it was most definitely at my end.
>
> Feel free to call my fwd number. It rings at my desk. If I'm there I answer but you may just get VM.
>
> Michael
>
> On Mon, 4 Sep 2006 16:06:42 -0700 (PDT), Nick Ellson wrote:
>
>
>> I thought maybe my configs would have been a good idea to post:
>
>> iax.conf:
>
>> [general]
>> bindport=4569
>> bindaddr=10.0.0.20
>> bandwidth=medium
>> disallow=lpc10
>> allow=gsm
>> jitterbuffer=no
>> forcejitterbuffer=no
>
>> register => 776754:<snipped>@iax2.fwdnet.net
>> allow=ulaw
>> tos=lowdelay
>> autokill=yes
>
>> [iaxfwd]
>> type=user
>> context=fromiaxfwd
>> auth=rsa
>> inkeys=freeworlddialup
>
>> Extensions.conf
>
>> [globals]
>
>> FWDNUMBER=776754
>> FWDCIDNAME=Nick Ellson
>> FWDPASSWORD=<snipped>
>> FWDRINGS=SIP/4003
>> FWDVMBOX=4003
>
>
>> [default]
>> include => mainmenu
>> exten => _393.,1,SetCIDNum(${FWDNUMBER})
>> exten => _393.,2,SetCallerID,${FWDCIDNAME}
>> exten => _393.,3,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:3},60,r)
>> exten => _393.,4,Congestion
>
>> [fromiaxfwd]
>> exten => ${FWDNUMBER},1,Dial(${FWDRINGS},20,r)
>> exten => ${FWDNUMBER},2,Voicemail,u${FWDVMBOX}
>> exten => ${FWDNUMBER},102,Voicemail,b${FWDVMBOX}
>
>> -------------------------------------
>
>> And I am not sure if something changed but now I get:
>
>> -- Executing SetCIDNum("SIP/4003-4dcc", "776754") in new stack
>> -- Executing SetCallerID("SIP/4003-4dcc", "Nick Ellson") in new stack
>> -- Executing Dial("SIP/4003-4dcc", "IAX2/776754:YYYYYY at iax2.fwdnet.net/XXXXXX|60|r") in new stack
>> -- Called 776754:YYYYYY at iax2.fwdnet.net/XXXXXX
>> -- IAX2/fwd-gw-5 is circuit-busy
>> Sep 4 15:47:54 WARNING[28513]: chan_iax2.c:7013 socket_read: Call rejected by 192.246.69.186: No authority found
>> Sep 4 15:47:54 NOTICE[28513]: chan_iax2.c:1601 iax2_destroy: Avoiding IAX destroy deadlock
>> -- Hungup 'IAX2/fwd-gw-5'
>> == Everyone is busy/congested at this time (1:0/1/0)
>> -- Executing Congestion("SIP/4003-4dcc", "") in new stack
>> == Spawn extension (default, 393XXXXXX, 4) exited non-zero on
>> 'SIP/4003-4dcc'
>
>> The "No Authority found" I think is new? I am going to figure out how to
>> increase the logging, but does anyone see an obviuos boo-boo?
>
>> Nick
>
>
>
>> --
>> Nick Ellson
>> CCDA, CCNP, CCSP, CCAI,
>> MCSE 2000, Security+, Network+
>> Network Hobbyist, VFR Private Pilot.
>
>
>> On Mon, 4 Sep 2006, Michael Graves wrote:
>
>>> I had similar troubleat first. Try not specifying CID. As I recall FWD is sensitive to this.
>>>
>>> Michael
>>>
>>>
>>> On Sun, 3 Sep 2006 22:26:35 -0700 (PDT), Nick Ellson wrote:
>>>
>>>
>>>> Hi all,
>>>
>>>> I have been researching a dialing problem I am having with FWD. I followed
>>>> their IAX2 config notes, and I can receive calls from my brother from FWD,
>>>> and all the echo tests, call me services work. But I cannot call him.
>>>
>>>> -- Executing SetCallerID("SIP/4003-9de6", ""Nick Ellson"") in new
>>>> stack
>>>> -- Executing Dial("SIP/4003-9de6",
>>>> "IAX2/776754:<scrubbed>@iax2.fwdnet.net/<snipped>|60|r") in new stack
>>>> -- Called 776754:<scrubbed>@iax2.fwdnet.net/<snipped>
>>>> -- Call accepted by 192.246.69.186 (format ulaw)
>>>> -- Format for call is ulaw
>>>> -- IAX2/192.246.69.186:4569-2 is busy
>>>> -- Hungup 'IAX2/192.246.69.186:4569-2'
>>>> == Everyone is busy/congested at this time (1:1/0/0)
>>>> -- Executing Congestion("SIP/4003-9de6", "") in new stack
>>>> == Spawn extension (default, 393<number snipped>, 3) exited non-zero on
>>>> 'SIP/4003-9de6'
>>>
>>>> This is pretty much just what a few others from the FWD forums have posted
>>>> with no real response.
>>>
>>>> Has any one of you also had this problem with FWD?
>>>
>>>> Nick
>>>
>>>
>>>
>>>> --
>>>> Nick Ellson
>>>> CCDA, CCNP, CCSP, CCAI,
>>>> MCSE 2000, Security+, Network+
>>>> Network Hobbyist, VFR Private Pilot.
>>>
>>>> _______________________________________________
>>>> --Bandwidth and Colocation provided by Easynews.com --
>>>
>>>> asterisk-users mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>>
>>>
>>>
>
>
>
>
More information about the asterisk-users
mailing list