hi lee,<br>i have changed my config in iax, and now i can call make calls without problem.<br>this is a description of my architecture:<br>i have two offices with SIP users having the extension _037XXX in the first office and _022XXX in the second office.
<br>i want to connect my two offices with IAX for making possible communication betwen my two offices users. <br>i have forgot some details in my iax.cong that's why i was having the problem westerday.<br><br>thanks for hep :)
<br><br><div><span class="gmail_quote">2007/4/7, Yuan LIU <<a href="mailto:yliu11@hotmail.com">yliu11@hotmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>From: "hind habaoui" <<a href="mailto:habaoui.hind@gmail.com">habaoui.hind@gmail.com</a>><br>>Date: Fri, 6 Apr 2007 18:01:11 +0000<br>><br>>hi lee.<br>>I see your problem with trunk iax, probably i don't have the solution but i
<br>>don't knew if you can help me to solve mine.<br><br>Can't seem to see what the problem you have? Errors? Incorrect result?<br>(What is expected and what is the result?) Also, you need to clarify the<br>
settings on two servers more clearly - your sip-calls context seems to<br>suggest that server B uses IAX with its users, but uses SIP to connect to<br>server A? The iax.conf seems to suggest SIP rather than IAX.<br><br>Yuan Liu
<br><br>>i want to connecte two asterisk server: server A and server B. i want make<br>>possible calls betwen all asterisk users.: users in server A with sip<br>>number<br>>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><br>>_______________________________________________<br>>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>><br>>asterisk-users mailing list
<br>>To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>hind habaoui<br>Ingenieur Réseaux et Télecommunication <br>2007