Subject: Automaticly dial same customer different times

ResaResa Member Posts: 3
We run the next code to phone our contacts with Navision through The PABX

We use the following code to dial a customer through the pabx. Unfortunately you can only call a number one time.
So you can call more times but only with different numbers.
When you close navision you can call the same number again.

This is the Code:

UserSetup.GET(UserID);
UserSetup.TESTFIELD(Salesperson);
SalespersonPurchaser.GET(UserSetup.Salesperson);
Hyperlinktext := 'http://192.168.1.100/c2c.php?ext=' + SalespersonPurchaser."Phone No." + '&num=' + PhoneNo;
CLEAR(XMLHttp);
CREATE(XMLHttp);
XMLHttp.open('GET',Hyperlinktext,FALSE);
XMLHttp.send;

When the customer puts the following hyperlink into internet explorer it's also possible to call.
http://192.168.1.100/c2c.php?ext=13&num=0204480841
The same problem occurs. Only when the refresh button from the internet explorer is pressed,
then it's possible to call the same number again.

So it doesn't really look like a navision problem, but we must be able to refresh within navision,
without closing the session.

Does anybody have any advice?

Comments

  • ara3nara3n Member Posts: 9,255
    have you tried to put dashes or extra characters everytime you send the same phone number?

    Or send an empty phone number after every call.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • ResaResa Member Posts: 3
    We have solved the problem it is just an internet Explorer option you have to change:

    Internet options/gerenal/setting
    Setting on
    Every time I visit the Webpage
    instead of
    Automatically
Sign In or Register to comment.