No CID Between Asterisk Using IAX Trunk
I am trying to troubleshoot two Asterisk servers that have an IAX2
trunk between them. Calls come and go but there is no CallerID from the remote server either way. One of the servers is running Asterisk 16 and the other is an older 1.8 install (I know, I am trying to get permission to update). The trunk between servers is very simple. Something like:
Server 1 (Mexico)
[panama]
type=peer context=oficina trunk=yes disallow=all allow=g729
qualify=yes requirecalltoken=no host=10.X.X.141
language=es callerid=asreceived
Server 2 (Panama)
[mexico]
type=peer context=oficina trunk=yes disallow=all allow=g729
qualify=yes requirecalltoken=no host=10.Y.Y.5
language=es callerid=asreceived
So from Panama to Mexico we use:
exten => _1XXX,1,Dial(IAX2/mexico/${EXTEN})
Call comes in and is answered but there is no CID in CDR or in the phone display. Other trunks to other servers have no problem sending CID from one server to the other (all using IAX). Any pointers?
—
Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez
+52 (55)8116-9161
—
4 thoughts on - No CID Between Asterisk Using IAX Trunk
Carlos,
Had caller-id ever worked between these two systems?
Doug
—
Not these particular two servers.
Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez
+52 (55)8116-9161
—
My Asterisk 13 IAX2 trunk posted below:
type=friend trunk=yes allowcallerid=yes disallow=all allow=alaw allow=ulaw allow=gsm host=my.super.duper.host username=my.super.duper.username secret=my.super.duper.secret context=sip qualify=500
qualifysmoothing=yes requirecalltoken=no trunk=yes jitterbuffer=yes forcejitterbuffer=yes maxjitterbuffer=300
maxjitterinterps=100
resyncthreshold=1500
tos=ef cos=5
Doug
—
Could the difference be that you need to use type=friend for CID to work? Using type=peer we can forgo auth since we are not using public infrastructure. My other trunks do not have allowcallerid=yes so I will add that and test it. Thanks.
Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez
+52 (55)8116-9161
—