[Asterisk-Users] about timeouts

Andrea Riela ml at nesys.it
Tue Jun 14 04:03:22 MST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maybe an example will be usefull:


voip services --> * (5600) --> cme (601) --> * (5901) --> * (voicemail 
u601)

voip services on sip.conf
- -------------------------

register => 530xxxx:test at sip.messagenet.it:5061/5600

[5600]
type=friend
host=192.168.17.10
dtmfmode=rfc2833
canreinvite=yes
context=myphones
qualify=yes

cme on sip.conf
- ---------------

[cme-pbx]
type=peer
canreinvite=no
host=192.168.17.1
qualify=yes

[601]
type=friend
language=en
host=dynamic
dtmfmode=rfc2833
canreinvite=yes
mailbox=601 at default
context=myphones
qualify=yes

x-lite client (5901) on sip.conf
- --------------------------------

[5901]
type=friend
nat=yes
host=dynamic
dtmfmode=rfc2833
canreinvite=no
context=myphones
username=5901
secret=xxxxxx
auth=md5
qualify=yes
callerid="Me - mobile" <5901>

generic on extensions.conf
- --------------------------

[myphones]
include => cme-pbx
include => voice-mail
include => asterisk-in
......

voip service redirect on extensions.conf
- ----------------------------------------

[cme-pbx]
exten => _6XX,1,Dial(SIP/${EXTEN}@cme-pbx)
exten => _6XX,2,Hangup
exten => _5600,1,Dial(SIP/601,45)

x-lite (5901) on extensions.conf
- --------------------------------

exten => _59XX,1,Dial(SIP/${EXTEN},20,tTr)
exten => _59XX,2,Hangup
exten => 5901,1,Dial(SIP/5901,20,tTr)
exten => 5901,2,Voicemail(u601)
exten => 5901,3,Hangup

voicemail on extensions.conf
- ----------------------------

[voice-mail]
exten => 5699,1,VoicemailMain(${CALLERIDNUM})
exten => 5699,2,Wait(3)
exten => 5699,3,Hangup
exten => t,1,Playback(vm-goodbye)
exten => t,2,Hangup
exten => _56XX,1,Answer
exten => _56XX,2,Voicemail(u${EXTEN:1})
exten => _56XX,3,Hangup


that's all.
With this configuration:

1. with no answer after 20 sec. on cme, the voicemail works only if 
5901 is not logged in.
2. with no answer after 30 sec. on cme, the voicemail doesn't work.
I've tryed to modify '45' timeout on voip services redirection, without 
success.
Any suggestion will be appreciated.

Regards
Andrea

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCrrl9MakHrsrHP9wRAv1HAJ0XrZFxSf1LJof2zEyeEfO3QJpkYgCgr+5/
AOl3rJhIjREw3On1icWTQ+k=
=IdV3
-----END PGP SIGNATURE-----




More information about the asterisk-users mailing list