[Asterisk-Users] DIAX does not receive calls...
Dan
dtoma at fx.ro
Wed Feb 18 14:08:20 MST 2004
Hi,
> Here are my entries in iax.conf and extensions.conf:
>
> [5002]
> type=friend
> host=dynamic
> secret=(secret)
> context=casa
> mailbox=5002
> callerid="Carlos Chavez" <5002>
>
> [macro-stdexten]
> exten => s,1,Dial(${ARG1},${TIMEOUT})
> exten => s,2,Voicemail2(u${MACRO_EXTEN})
> exten => s,3,Hangup()
> exten => s,102,Voicemail2(b${MACRO_EXTEN})
> exten => s,103,Hangup()
>
> [iax]
> exten => 5002,1,Macro(stdexten,IAX2/5002)
> exten => 5003,1,Macro(stdexten,IAX2/5003)
>
> What is the "tr" at the end of the Dial command? Is that what is
missing?
Those switches are not important for dialing (are used for transfer and
ring).
Try the following model for user definition in iax.conf:
[mike]
type=friend
username=mike
secret=passwd
auth=md5
host=dynamic
callerid="Mike" <407>
context=local
It seems that you do not have the 'username' line inside definition.
Best regards,
Dan
More information about the asterisk-users
mailing list