hello i have a prblem in routing call from ser to asterisk.
i have the following senrio. UA is registered at ser when UA calls another UA ser try to look for the user not found then forword the call to other side asterisk. problem i am facing that ser is not forwording request to asterisk extensions.conf ---------------------------------------- exten=>2000,1,Dial(SIP/${EXTEN}) exten=>2000,2,Voicemail,u2000 exten=>2000,102,Voicemail,b2000 exten=>3000,1,Dial(SIP/${EXTEN}) exten=>3000,2,Voicemail,u3000 exten=>3000,102,Voicemail,b3000 ser.cfg ------------------------------------------- route{ lookup("location"); t_on_failure("1"); t_relay(); if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); break; }; if ( msg:len > max_len ) { sl_send_reply("513", "Message too big"); break; }; if (loose_route()) { t_relay(); break; }; setflag(1); if (method=="INVITE") record_route(); if (uri==myself) { if (method=="REGISTER") { if(!radius_www_authorize("")) { www_challenge("","0"); break; } save("location"); break; }; if (!lookup("location")) { sl_send_reply("404", "Not Found"); break; }; }; if (!t_relay()) { sl_reply_error(); }; } failure_route[1] { if(t_check_status("486")) { # busy, so rewrite to new location here, then: forward( 192.168.8.97, 5060 ); t_relay(); } } ---------------------------------------------------- Thanks Kamran __________________________________ Yahoo! Messenger Show us what our next emoticon should look like. Join the fun. http://www.advision.webevents.yahoo.com/emoticontest _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users