Chuck Bunn
2006-Mar-30 13:02 UTC
[Asterisk-Users] BUG: FOP reports incorrect (duplicate) IP address until restarted
Hi, This problem may be related to a configuration problem but I believe it is a bug in the FOP since restarting the FOP server clears the problem. Here is the scenario: Using AgentCallBackLogin and have four agents logged in a call is made to one of the agents directly from an internal phone. Okay so far. Call is hung up and the same extension is used to call another agent okay again, no problems. Now the problem. A call coming from the outside, entering the queue and then being answered by an agent - okay again. Same caller (I am running a test obviously with same callerid) calls again and a different agent answers - problem starts - now the first agent is showing busy with the same callerid as the second agent, also after a few seconds the IP address of the second agent shows as the same as the first (not possible since I can get into each phone with there correct IP address). I can also call the first agent without a problem from an internal phone even though FOP shows the extension is busy (this is why I think the problem is with FOP and not asterisk since asterisk can complete the call to a supposedly busy extension). It also may be that asterisk is incorrectly reporting the information and FOP is just reporting what it sees. (THUS THE REASON FOR THE DOUBLE POST SO DON'T BAGGER ME ABOUT DOUBLE POSTING) The problem is repeatable. I am using Asterisk 1.2.5 and Zaptel 1.2.4 on Centos 4.2 with kernel update disabled (kernel is 2.6.9-22.EL-i686) with all updates applied through 'yum' and latest version of FOP (version 0.25). We are using SJPhones and Zyxel P2000w-v2 wireless SIP phones with latest firmware (wv0003 - Jan 6, 2006). Both SJPhones and Zyxel phones are acting as agents. Please post a comment if you question anything in my config files (if something look odd please say so!) or have seen something similar. Here are some pieces of my files that might help: *********sip.conf************ [general] srvlookup=yes Callgroup=1 pickupgroup=1 ;SJphone [410] context=longdistance ;canreinvite=no type=friend username=410 secret=passwd410 callerid=<410> qualify=yes nat=no host=dynamic mailbox=410@default disallow=all ;allow=g729 allow=gsm allow=ilbc allow=ulaw allow=alaw dtmfmode=rfc2833 Callgroup=1 pickupgroup=1 ;Zyxel - P2000WV2 [411] context=longdistance canreinvite=no type=friend username=411 secret=passwd411 callerid=<411> nat=no host=dynamic mailbox=411@default disallow=all allow=g729 allow=ulaw allow=alaw dtmfmode=rfc2833 Callgroup=1 pickupgroup=1 ;SJphone [412] context=longdistance ;canreinvite=no type=friend username=412 secret=passwd412 callerid=<412> qualify=yes nat=no host=dynamic mailbox=412@default disallow=all ;allow=g729 allow=gsm allow=ilbc allow=ulaw allow=alaw dtmfmode=rfc2833 Callgroup=1 pickupgroup=1 ;Zyxel - P2000WV2 [413] context=longdistance canreinvite=no type=friend username=413 secret=passwd413 callerid=<413> nat=no host=dynamic mailbox=413@default disallow=all allow=g729 allow=ulaw allow=alaw dtmfmode=rfc2833 Callgroup=1 pickupgroup=1 ... ******************* *****extensions.conf********* [default] ;Operator queue, Operator Console, and Receptionist Phone exten => s,1,Answer() exten => s,2,SetMusicOnHold(default) exten => s,3,DigitTimeout(5) exten => s,4,ResponseTimeout(30) exten => s,5,GotoIfTime(8:00-21:00|*|*|*?default,s,7) exten => s,6,Goto(mainmenu,s,1) exten => s,7,Queue(extensions-home|tr|||25) exten => s,8,Goto(mainmenu,s,1) include => mainmenu ;Ageless exten => _400,1,Voicemail(u400@default&413@default) exten => _405,1,Voicemail(u405@default&411@default) exten => _41[0-3],1,Macro(stdexten,${EXTEN},SIP/${EXTEN}) exten => _49[6-9],1,Macro(novmail,${EXTEN},SIP/${EXTEN}) ... ********************** *****queues.conf************ [general] ;Operator Home [extensions-home] music=default strategy=ringall maxlen=0 leavewhenempty=yes context=mainmenu member => Agent/3000 member => Agent/3001 member => Agent/3002 member => Agent/3003 member => Agent/3004 member => Agent/3005 member => Agent/3006 member => Agent/3007 member => Agent/3008 member => Agent/3009 member => Agent/3010 member => Agent/3011 *************************** *******agents.conf********** [agents] wrapuptime=0 musiconhold => default updatecdr=yes recordagentcalls=no ;Operator - Ageless group=1 agent => 3000,3000,Sxxx agent => 3001,3001,Bxxx agent => 3002,3002,Exxxx agent => 3003,3003,Axxxxs agent => 3004,3004,Arxx agent => 3005,3005,Lxxx agent => 3006,3006,Loxxx *************************** **********modules.incl************ [macro-stdexten] exten => s,1,Set(DYNAMIC_FEATURES=automon) exten => s,2,Dial(${ARG2},20,Ttw) exten => s,3,Goto(s-${DIALSTATUS},1) exten => s-NOANSWER,1,Voicemail(u${ARG1}@default) exten => s-NOANSWER,2,Playback(thank-you-for-calling&goodbye) exten => s-NOANSWER,3,Hangup exten => s-BUSY,1,Voicemail(b${ARG1}@default) exten => s-BUSY,2,Playback(thank-you-for-calling&goodbye) exten => s-BUSY,3,Hangup exten => s-CHANUNAVAIL,1,Voicemail(u${ARG1}@default) exten => s-CHANUNAVAIL,2,Playback(thank-you-for-calling&goodbye) exten => s-CHANUNAVAIL,3,Hangup exten => _s-.,1,Goto(s-NOANSWER,1) [macro-menuexten] exten => s,1,Set(DYNAMIC_FEATURES=automon) exten => s,2,Dial(${ARG2},20,Ttw) exten => s,3,Goto(s-${DIALSTATUS},1) exten => s-NOANSWER,1,Voicemail(u${ARG1}@default) exten => s-NOANSWER,2,Playback(thank-you-for-calling&goodbye) exten => s-NOANSWER,3,Hangup exten => s-BUSY,1,Voicemail(b${ARG1}@default) exten => s-BUSY,2,Playback(thank-you-for-calling&goodbye) exten => s-BUSY,3,Hangup exten => s-CHANUNAVAIL,1,Voicemail(u${ARG1}@default) exten => s-CHANUNAVAIL,2,Playback(thank-you-for-calling&goodbye) exten => s-CHANUNAVAIL,3,Hangup exten => _s-.,1,Goto(s-NOANSWER,1) [macro-novmail] exten => s,1,Dial(${ARG2},20,Ttw) exten => s,2,Playback(thank-you-for-calling&goodbye) exten => s,3,Hangup exten => s,102,Playback(thank-you-for-calling&goodbye) exten => s,103,Hangup *********************** Thanks