[asterisk-users] problem with extentions

Dima Pursanov dima at expert.ge
Wed Dec 27 08:40:33 MST 2006


i have problem with dial-plan in php. I have 3 extention in dial plan, 555,551 and 551. the problem is that READ PIN||3 works in 555 and hangs in other extentions. (after timeout asterisk writes thar "user entered nothing"). i can't get what's wrong...

here is my dial-plan

[incoming]
exten => 555,1,Answer();
exten => 555,2,DigitTimeout(2);
exten => 555,3,Wait(1) 
exten => 555,4,SetLanguage(ge)       
exten => 555,5,Background(mosalmebadsl);
exten => 555,6,Hangup();

exten => 1,1,Goto(register,s,1)
exten => 2,1,Goto(viocemail,s,1)
exten => 3,1,Goto(sendmsg,s,1)
exten => 4,1,Goto(blacklist,s,1)
exten => 5,1,Goto(search,s,1)
exten => 6,1,Goto(rooms,s,1)
exten => 7,1,Goto(adv,s,1)
exten => i,1,Hangup()

exten => 551,1,Answer()
exten => 551,2,DigitTimeout(2)
exten => 551,3,Wait(1)
exten => 551,4,SetLanguage(ge)
exten => 551,5,agi,admin_room.php
exten => 551,6,Hangup()

exten => 552,1,Answer()
exten => 552,2,DigitTimeout(2)
exten => 552,3,Wait(1)
exten => 552,4,SetLanguage(ge)
exten => 552,5,agi,guest_room.php 
exten => 552,6,Hangup()

so when i call admin_room.php from 555 it works, but it crashes from 551. (guest_room.php also crashes in 552 and works in 555)

---
thank You




More information about the asterisk-users mailing list