Richard wrote:
Hi,
I have the attached cpl script. It rings the IP phone first, if not answer, then send to a pstn phone. The script was working, but is broken now. I am not sure if it is the script or any latest development breaks it.
can you be a little bit more specific. what exactly doesn't work? is some error generated? a description of what happens and what should happen will help. eventualy some logs also.
A couple of issues, If the call is canceled when still ringing ip phone, the call is forwarded to the pstn phone. So pstn phone rings for nothing. It looks like cancel didn't cancel the original transaction in cpl.
it's interesting. anyhow, CANCEL is not process by cpl. CANCEL should match the INVITE transaction and cancel all active branches. What can happen is: if you do a proxy and if fails (negative reply) you do action X, when you cancel, we will receive 487 which will be consider by cpl a negative reply for the INVITE and it will do action X. For me is perfect logic. Be sure that this is not your case.
A brand new call... If the call is sent to PSTN phone eventually, PSTN phone picks up. But didn't hear anything, the original phone still hears the ringing until a few seconds later. Then they can talk.
again, interesting;; watch the signalling - my guess the reason is some delay in signalling because of GW??. Do on your server a ngrep/tcpdump with time stamp and see who's guilty for delaying.
regards, bogdan
Thanks for your help in advance. Richard
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail