Ludovic Drolez
2004-Oct-14 00:38 UTC
[Asterisk-Users] Call waiting trouble with 7912 cisco phones
Hello ! We have 7912G SIP phones with the 1.02.00 firmware. *Sometimes* when you call someone who is already on the phone, our PBX receives immediatly a "302 "Moved Temporarily"" SIP message, so that the 2nd caller is forwarded to the voicemail instead of waiting 20s (Allow Call Waiting is set to 1, and Forward to VMail Delay to 20). Since I know that Cisco, won't fix the bug before 20 years, I wondered if I can find a work-around thanks to asterisk. As you see in the following trace: 1- The incoming call is 'broadcast' (SIP/8791&SIP/8792&SIP/8793....) 2- Phones are ringing except one, which sends a 302 message 3- Asterisk immediatly redirects the incoming call to the voicemail ========= TRACE =========== -- Executing Dial("CAPI[contr2/387508790]/116", "SIP/8791&SIP/8792&SIP/8793&SIP/8794&SIP/8795&SIP/8797&SIP/8798|20|t") in new stack -- Called 8791 -- Called 8792 -- Called 8793 -- Called 8794 -- Called 8797 -- Called 8798 -- Got SIP response 302 "Moved Temporarily" back from 192.168.0.202 -- Now forwarding CAPI[contr2/387508790]/116 to '8500@international' (thanks to SIP/8792-b8bc) -- Executing Wait("Local/8500@international-a905,2", "1") in new stack -- SIP/8797-b246 is ringing -- SIP/8791-2583 is ringing -- SIP/8793-e1eb is ringing -- SIP/8798-cce6 is ringing -- SIP/8794-3c01 is ringing -- Executing VoiceMailMain2("Local/8500@international-a905,2", "06XXXXXXX") in new stack =========================== Is there a way to tell asterisk to ignore 302 messages when a call is broadcast (A nice Dail option) ? TIA, -- Ludovic DROLEZ Linbox / Free&ALter Soft 152 rue de Grigy - Technopole Metz 2000 57070 METZ tel : 03 87 50 87 90 fax : 03 87 75 19 26
Ludovic Drolez
2004-Oct-14 04:08 UTC
[Asterisk-Users] Call waiting trouble with 7912 cisco phones
Philipp von Klitzing wrote: > How about this pseudo code: > > [default] > 1,Dial(Sip/1&Sip/2) > 2,SetVar(foo=x) > 3,Goto(international,8500,1) > 102,SetVar(foo=x) > 103,Goto(international,8500,1) >> [international] > 8500,1,GotoIf(foo=x THEN voicemail ELSE callotherphones)Many thanks for the reply, but with 'callotherphones' I think that there would be a loop or a '302 message storm'... Do you know if I can replace a 'callotherphones' by a 'do nothing, continue ringing other phones' ? How could I code that ? Cheers, -- Ludovic DROLEZ Linbox / Free&ALter Soft 152 rue de Grigy - Technopole Metz 2000 57070 METZ tel : 03 87 50 87 90 fax : 03 87 75 19 26