hi lee.<br>I see your problem with trunk iax, probably i don't have the solution but i don't knew if you can help me to solve mine.<br>i want to connecte two asterisk server: server A and server B. i want make possible calls betwen all asterisk users.: users in server A with sip number 022100 can phone another sip user in server B with number 037100.
<br>this is my config:<br>*************************************<br>iax.conf for server A:<br>**************************************<br>register => <a href="mailto:serveur_rabat:rabat@192.168.60.187">serveur_rabat:rabat@192.168.60.187
</a><br><br>[serveur_casa]<br>type=peer<br>host=dynamic<br>username=serveur_casa<br>secret=casa<br>disallow=all<br>allow=ulaw<br>allow=gsm<br>;context=sip-calls<br><br>[serveur_casa]<br>type=user<br>host=dynamic<br>username=serveur_casa
<br>secret=casa<br>disallow=all<br>allow=ulaw<br>allow=gsm<br><br>************************************************<br> my extension.conf<br>**************************************************<br>[sip-calls]<br><br>exten=>_022[1-8]XX,1,macro(Bienvenu)
<br>exten=>_022[1-8]XX,2,SetGlobalVar(BOITE=${CDR(src)})<br>exten=>_022[1-8]XX,3,Dial(SIP/sip-${EXTEN},${TP_MAX_APPEL})<br>exten=>_022[1-8]XX,4,macro(BoiteVocale,${BOITE})<br>exten=>_022[1-8]XX,5,hangUp()<br>;
<br>;<br>;lecture des boites vocales<br>exten=>_[1-8]XX,1,macro(lecture_boite)<br>exten=>_[1-8]XX,2,PlaBack(vm-num-i-have)<br>exten=>_[1-8]XX,3,HangUp()<br>;<br>;<br>; on donne accès au service du standard<br>exten=>022999,1,Wait(5)
<br>exten=>022999,2,Dial(${TEL1},,t)<br>exten=>022999,3,HangUp()<br>include=>parkedcalls<br>include=>iax-calls<br>[iax-calls]<br><br>exten=>_037XXX,1,macro(Bienvenu)<br>exten=>_037XXX,2,Dial(IAX2/serveur_rabat/${EXTEN},${TP_MAX_APPEL},r)
<br>exten=>_037XXX,3,macro(BoiteVocale)<br><br><br><br>**********************************<br>file config for the second server looks like the server's A file.<br><br><br><br>thank you in advance<br><br>hind<br>GTR 2007
<br><br>