Page 1 of 1

Question about did configuration & iax debug screen.

PostPosted: Tue Dec 08, 2009 3:14 pm
by hammobru
Hi, I have a problem getting the did to be accepted by the server. I can see the numbr come into the cli and it shows "rejected connect attempt from xxx.xxx.xxx.xxx, who was trying to reach xxxxxxxxxx. I have tried changing the context feilds from default to trunckinbound, placed them hard into the extensions.conf file and into the iax.conf files. but cant get them to pass. I have a cooy of the iax2 debug and it show the following. but I am not sure what it is telling me. No authority found. Does that mean the passwords arent matching in the registry? And also the username the debug is pulling up is not what my username is from the provider. Where is the information from the debug being pulled from? Is it information sent from the attempted call or information from my server trying to authorize connection?



Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00017ms SCall: 02343 DCall: 11671 [192.168.1.126:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00016ms SCall: 09942 DCall: 00000 [67.215.241.250:4569]
VERSION : 2
CALLED NUMBER : 714XXXXXX4
CODEC_PREFS : ()
CALLING NUMBER : 714XXXXXX9
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : HAMMOND BRUCE
LANGUAGE : en
USERNAME : voipms
FORMAT : 4
CAPABILITY : 4194303
ADSICPE : 2
DATE TIME : 2009-12-08 15:01:40
vici*CLI> exit
Dec 8 12:01:40 NOTICE[2187]: chan_iax2.c:7242 socket_read: Rejected connect attempt from 67.215.241.250, who was trying to reach '714XXXXXX4@'
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REJECT
Timestamp: 00003ms SCall: 14569 DCall: 09942 [67.215.241.250:4569]
CAUSE : No authority found
CAUSE CODE : 50


Thanks in advance for your help.

thanks

PostPosted: Tue Dec 08, 2009 3:18 pm
by brett05
your vicidial version ?
your os version?
your dialplan ?
your asterisk version?
post them

PostPosted: Tue Dec 08, 2009 3:28 pm
by hammobru
I am running the new vicidialnow 1.3. built on 2.0.5 and centos.

Tried this hard coded into extensions

exten => 714xxxxxxx,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 714xxxxxxx,2,Ringing ; call ringing
exten => 714xxxxxxx,3,Wait(1) ; Wait 1 second for CID delivery from PRI
exten => 714xxxxxxx,4,Answer ; Answer the line
exten => 714xxxxxxx,5,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----Dishinbound)
exten => 714xxxxxxx,6,Hangup


And this but neither could work.
exten => 714xxxxxxx,1,AGI(agi-DID_route.agi)

PostPosted: Tue Dec 08, 2009 6:16 pm
by mflorell
Have you set this up as a carrier in admin.php?

If so, please post the settings(Xing out the account and password of course)

PostPosted: Tue Dec 08, 2009 8:52 pm
by hammobru
Carrier ID: voipmsiax

Carrier Name: voipms

Registration String: register => xxxxxx_xxx:xxxxxx@iax2.us3.voip.ms

Template ID: --NONE--

Account Entry:
[voipmsiax]
canreinvite=no
context=truckinbound
host=iax2.us3.voip.ms
secret=xxxxx
type=peer
username=xxxxxx_xxx
allow=ulaw
fromuser=xxxxxx_xxx
trustrpid=yes
sendrpid=yes
insecure=port,invite

Protocol: IAX2

Globals String: voipmsiax = iax2/voipmsiax

Dialplan Entry: exten => 714xxxxxx4,1,AGI(agi-DID_route.agi)
exten => 714xxxxxx5,1,AGI(agi-DID_route.agi)
Server IP: 192.168.1.111
Active: Y


Thanks again for your help.

I fixed it.

PostPosted: Wed Dec 09, 2009 3:03 am
by hammobru
My provider passes along the main account as the username . Not the sub account username. Why? who knows. But its working correctly. Thansk for everyones help.