<div dir="ltr"><div><div><div><div><div><div><div><div>hello everybody,<br><br></div>i want to configure a sip trunk between my system which has asterisk 11.5.1 and a cisco router. this is my scenario:<br><br></div>Freepbx-----my system-----cisco-router----Freepbx<br><br></div>my system acts like a router. if i set just one codec in dial-peers on cisco router, every thing is ok and i can make a call. but if i set different codecs in a voice class codec and assign it to dial-peers in cisco router, i can not make calls.<br><br></div>if i change my scenario like:<br><br></div>Freepbx------cisco-router------Freepbx<br><br></div>calls are succeed without any problem. Freepbx are asterisk-base too, so i think something is wrong in my system (my asterisk configuration is not correct or something is missing).<br><br></div>any body knows how should i fix this problem? any comments or hints are really appreciated.<br><br></div>P.S: my sip.conf:<br><br>[peer-1]<br>host=X.X.X.X<br>type=peer<br>context=from-trunk<br>allow=all<br>qualify=yes<br>insecure=port,invite<br><br><br>[peer-2]<br>host=Y.Y.Y.Y<br>type=peer<br>context=from-trunk<br>allow=all<br>qualify=yes<br>insecure=port,invite<br></div>