Hi there i have spend many many hours / days on this and im sure its so simple but i just donw have the knowledge to fix it!
I have got my outgoing trunk working, i can make calls with that and its fine, my problem is incomming. I had the IAX2 security issue with call tokens so i have added the line to the iax conf files which has fixed that.
i am actually using trixbox, when you say verbose i assume you mean asterisk -vvvvr etc? what level of verbosity do i need to set it to for the information you require?
and when i call from my mobile i just get a beep beep beep and then it hangs up.
Interestingly, if i put
calltokenoptional = 0.0.0.0/0.0.0.0
maxcallnumbers = 16382
in iax_general_custom.conf i get it asking for AUTH which is what i was having on my other TB. I will test the settings that you suggested and let you know
I refer to the iax2 settings module for freepbx. I remember Trixbox use a custom freepbx so if you can download the module you can configure from web too.
And show us your output when you activate the iax2 set debug.
activate:
core set verbose 10
core set debug 10
iax2 set debug on
Thanks for the info, i have done it and this is what i have got
Connected to Asterisk 1.6.0.26-FONCORE-r78 currently running on trixbox1 (pid = 4649)
Verbosity is at least 10
Core debug is at least 10
trixbox1CLI> iax2 reload
== Parsing ‘/etc/asterisk/iax.conf’: == Found
== Parsing ‘/etc/asterisk/iax_general_additional.conf’: == Found
== Parsing ‘/etc/asterisk/iax_general_custom.conf’: == Found
== Parsing ‘/etc/asterisk/iax_registrations_custom.conf’: == Found
== Parsing ‘/etc/asterisk/iax_registrations.conf’: == Found
== Parsing ‘/etc/asterisk/iax_custom.conf’: == Found
== Parsing ‘/etc/asterisk/iax_additional.conf’: == Found
== Parsing ‘/etc/asterisk/iax_custom_post.conf’: == Found
== Parsing ‘/etc/asterisk/users.conf’: == Found
> doing dnsmgr_lookup for ‘iax5.voiptalk.org’
== Loaded firmware 'iaxy.bin’
Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00009ms SCall: 01428 DCall: 00000 [77.240.48.141:4570]
VERSION : 2
CALLED NUMBER :
CODEC_PREFS : (alaw|ulaw|gsm|ilbc|lpc10|speex|adpcm|slin|g729|g723|g726aal2|g726)
CALLING NUMBER : 07590xxxxxx
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : 07590xxxxxx
LANGUAGE : en
USERNAME : 742xxxx
FORMAT : 8
CAPABILITY : 61439
ADSICPE : 2
DATE TIME : 2011-04-13 19:53:50
trixbox1CLI>
Rx-Frame Retry[ No] – OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00009ms SCall: 01428 DCall: 00001 [77.240.48.141:4570]
what i dont get is the link from the provider to my TB is working as i can see it comming in, is it just not processing it or is it failing to pass it on? i am a n00b at this so its a bit frustrating i cant fix it!
hi there, yes it is. i have forwarded all the ports i should, but for IAX2 i only need UDP 4569, i assume if i didnt have this then the call wouldnt even reach TB
anyone? i waas just thinking when i add the allow 0.0.0.0/0.0.0.0 it then has an extra bit in the CLI that has an action of AUTHREQ (which i presume means authentication required) can i add username nad password in there? i dont know why this is so difficult, if anybody else has used voiptalk / telaplient and got it working it would be really useful!