DMark
June 19, 2006, 10:39pm
1
I am having a problem with incoming calls from nufone.
iax.conf contains the following
register => mydevicename:mypassword@switch-2.nufone.net
[nufone]
type=user
secret=mypassword
context=inbound
extensions.conf contains
[inbound]
exten => my10digit#,1,Answer
exten => my10digit#,2,Dial(SIP/bt101,15)
exten => my10digit#,3,Hangup
When a call comes in asterisk says
There is an extra ‘@’ on the end of my number in the error message.
Does anyone have any ideas on how to get this to accept the incoming call.
Thanks
You could try to replace in [inbound]
my10digit# to s
exten => s,1,Answer
…
DMark
June 20, 2006, 12:01pm
3
I tried replacing my10digit# with s, and I get the same result as before. Any other ideas?
not yet.
i have the same problem when connecting 2 asterisk using iax
Do iax debug and make inbound call
iax no debug to stop
see what the error is…
DMark
June 20, 2006, 12:57pm
6
OK I get the following when the call is attempted:
Rx-Frame Retry[ No] – 0Seqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00019ms SCall: 00521 DCall: 00000 [66.225.202.80:4569]
VERSION :2
CALLED NUMBER : my10digit#
CODEC_PREFS : (gsm|speex|ilbc|adpcm|g726|g723|g729|ulaw|alaw)
CALLING NUMBER : myhomenumber
CALLING PRESNTN : 0
CALLING TYPOFN : 0
CALLING TRANSIT : 0
CALLING NAME : myhomenumber
LANGUAGE : en
USERNAME : NuFone
FORMAT : 4
CAPABILITY : 65343
ADSICPE : 2
DATE TIME: 2006-06-20 07:53:12
Call rejected notice same as above except for time
Tx-Frame Retry[000] – 0Seqno: 000 ISeqno: 001 Type: IAX Subclass: REJECT
Timestamp: 00002ms SCall: 00002 DCall: 00417 [66.225.202.80:4569]
CAUSE : No authority found
Cause Code : 50
DMark
June 20, 2006, 1:06pm
7
Thanks Bubba,
It looks like I figured it out once I read the debug.
The debug said they were reporting user=NuFone, and my entry in iax.conf was [nufone], since unix sees a difference, it was not authenticating. I changed iax.conf and the call goes through.