[Asterisk-Users] nufone config

Andrew Thompson asteriskuser at aktzero.com
Sat Oct 9 10:22:04 MST 2004


Can someone post or forward me the relevant sections of their nufone 
configs?

I seem to be brainfarting on making it work. All my outbound attempts 
end up with results like this:

bebop*CLI> iax2 debug
IAX2 Debugging Enabled
bebop*CLI> set verbose 9
Verbosity was 0 and is now 9
     -- Executing SetCallerID("SIP/710-1980", "9104108307") in new stack
     -- Executing Dial("SIP/710-1980", 
"IAX2/andrewkt at nufone/19104108307") in new stack
     -- Called andrewkt at nufone/19104108307
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW
    Timestamp: 00006ms  SCall: 00001  DCall: 00000 [198.22.67.70:4569]
    VERSION         : 2
    CALLED NUMBER   : 19104108307
    CALLING NUMBER  : 9104108307
    LANGUAGE        : en
    USERNAME        : andrewkt
    FORMAT          : 4
    CAPABILITY      : 14
    ADSICPE         : 2
    DATE TIME       : 155805489

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
REJECT
    Timestamp: 00016ms  SCall: 00170  DCall: 00001 [198.22.67.70:4569]
    CAUSE           : No authority found
bebop*CLI>
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
    Timestamp: 00016ms  SCall: 00001  DCall: 00170 [198.22.67.70:4569]
     -- IAX2/nufone/1 is circuit-busy
     -- Hungup 'IAX2/nufone/1'
   == Everyone is busy/congested at this time
     -- Executing Congestion("SIP/710-1980", "") in new stack
   == Spawn extension (trusted, 19104108307, 3) exited non-zero on 
'SIP/710-1980'
bebop*CLI>


I've tried several variations of friend/user/peer in iax.conf but 
haven't been able to make anything happen. My most recent config looks 
like this one, which is basically a duplicate of my voicepulse connect 
entry, which does work.

register => andrewkt:mypass at nufone ; knock knock...

[nufone]
type=friend ; yes, i know friend is evil, it was a last resort attempt
host=switch-2.nufone.net
username=andrewkt
context=default
auth=md5
secret=mypass

At some point last night, I think I had * registering properly with 
nufone, as it showed up when I did "iax2 show registry" Now, it does 
not. I'm not worried about that yet, as my (brand new) toll free did 
doesn't seem to be working anyway (doesn't ring to failover, I get a 
message from my LEC saying the number is disconnected).

My dialout line is a copy of my working voicepulse out section:

[NuFoneOut]
exten => _1NXXNXXXXXX,1,SetCallerID(9104108307)
exten => _1NXXNXXXXXX,2,Dial(IAX2/andrewkt at nufone/${EXTEN})
exten => _1NXXNXXXXXX,3,Congestion
exten => _1NXXNXXXXXX,4,Hangup


-- 
Andrew Thompson
http://aktzero.com/



More information about the asterisk-users mailing list