pls post iax.conf of Both machines , as well as your dial() string on
both servers to connect each other.
That way would be easier to help you.
On 10/27/06, Jean-Baptiste Bellet <jbb@lucyde.com>
wrote:> Hello,
>
> I'm french, so excuse my poor English.
> I'm face to a terrible thing, with has stole a lot of my time.
> On the .184 machine, I've the following iax.conf :
>
> [general]
> rtcachefriends=yes
> bandwidth=high
> tos=reliability
> jitterbuffer=no
> autokill=yes
>
> #include "iax.voip1.conf"
> #include "iax.renoir.conf"
>
> The iax.voip1.conf file contains :
>
> [VOIP1]
> type=friend
> host=10.0.0.160
> auth=rsa
> secret> inkey=voip3
> outkey=voip1
> context=CONTEXT_VOIP1
> allow=all
> ipaddr=10.0.0.160
> port=4569
> qualify=yes
> trunk=yes
>
>
> The iax.renoir.conf file contains :
>
> [VOIP_RENOIR]
> type=friend
> host=renoir.lucyde
> auth=rsa
> inkey=key_184
> outkey=key_Renoir
> context=CONTEXT_RENOIR
> trunk=yes
> allow=gsm
>
> Thanks to the variable context, when .184 receive a call from .160, this
> call should be executed in the CONTEXT_VOIP1. In fact the call is
> executed in the CONTEXT_RENOIR. Exactly (with a lot of test and debug),
> the call is executed in the context of the last section's context of
the
> iax.conf file (e.g. CONTEXT_RENOIR here).
>
> Anyone who has any idea ?
> Thanks,
> jb
>
>
> PS :
> (The debug in the .184 machine :
>
> -- Accepting UNAUTHENTICATED call from 10.0.0.160:
> > requested format = ulaw,
> > requested prefs = (alaw),
> > actual format = gsm,
> > host prefs = (gsm),
> > priority = mine
> -- Executing NoOp("IAX2/10.0.0.160:4569-1", "I'm in
> CONTEXT_RENOIR") in new stack
> -- Executing Macro("IAX2/10.0.0.160:4569-1",
"check_forward|106")
> in new stack
>
> with the following extensions.conf :
>
> [CONTEXT_VOIP1]
> exten => _X.,1,NoOp(I'm in CONTEXT_VOIP1)
> exten => _X.,2,Macro(check_forward,${EXTEN})
>
> [CONTEXT_RENOIR]
> exten => _X.,1,NoOp(I'm in CONTEXT_RENOIR)
> exten => _X.,2,Macro(check_forward,${EXTEN})
> )
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Com os melhores cumprimentos,
Marco Mouta